|
|
|
|
|
by Rotareti
2412 days ago
|
|
There are two new tools in the Python ecosystem, which try to fill the gap left by cargo, npm, yarn & co.: One is pipenv [0], which works similar to yarn & co. It uses Pipfile/Pipfile.lock to define and lock dependencies. Pipenv has a major flaw: It can't be used to publish packages on pypi.org (you still need twine & setup.py for that). It's also known for being slow and somewhat buggy. Despite all that pipenv is an "official" tool maintained by the "Python Packaging Authority". The other one is poetry [1], which works exactly like yarn & co. It uses "pyproject.toml" to specify dependencies and "poetry.lock" to lock them. Poetry does most of the things "right", but it's still an underdog compared to pipenv. Both tools have not yet fully matured, thus there are a lot of complaints. [0]: https://github.com/pypa/pipenv [1]: https://github.com/sdispater/poetry |
|