Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching to Poetry #10

Closed
jaswilli opened this issue Oct 18, 2021 · 0 comments
Closed

Consider switching to Poetry #10

jaswilli opened this issue Oct 18, 2021 · 0 comments

Comments

@jaswilli
Copy link
Contributor

Any interest in swapping out pipenv for poetry (https://python-poetry.org/)? Poetry is arguably a better project in a number of ways, not the least of which is it's better maintained with regular releases:

Poetry:

  • Supports using a standard (PEP 518) pyproject.toml file to hold project metadata, including tool configuration (i.e., can replace setup.cfg, tox.ini, etc.).
  • Understands how to build an sdist and wheel (poetry build) so you don't need to maintain a separate setup.py file.
  • Understands how to publish a package to pypi (poetry publish).
  • Does a better job at dependency resolution.

Aside from just working better, using pyproject.toml is a really big win for consolidating tooling and build configuration. For example, tox understands how to read the build-system (PEP 517) config and use it to build the project which lessens the number of hoops you need to jump through when trying to define tox environments to test against a range of dependency versions.

I can open a pull request showing what the conversion looks like but no worries if you'd prefer to stick with pipenv.

jaswilli added a commit that referenced this issue Oct 18, 2021
Closes #10

- Adds a .gitignore with some standard python excludes and also excludes
  the lockfile since this is a library and we don't need to pin
  dependencies for maintainers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant