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

Switch from requirements.txt to poetry for package management #310

Open
lanterno opened this issue Sep 5, 2023 · 2 comments
Open

Switch from requirements.txt to poetry for package management #310

lanterno opened this issue Sep 5, 2023 · 2 comments
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@lanterno
Copy link
Member

lanterno commented Sep 5, 2023

Currently we use requirements.txt and requirements-test.txt files to manage dependencies. However, the python community has moved for sometime into a more javascript-like dependency managers.

Different solutions have come out in the last couple of years, but today poetry is surely one of the most dependable ones.

Advantages

  • Better integration with IDEs and tools (currently, my IDE can't detect requirements-test.txt)
  • State of the art in terms of security, and tooling
  • Makes it easier to manage dependency groups (production and dev groups)
  • Requires the addition of pyproject.yml which has its own set of advantages in maintaining a clean project with good conventions.
  • A good exercise for me on deploying the showcase.
@lanterno lanterno added enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 5, 2023
@ineiti
Copy link
Member

ineiti commented Sep 5, 2023

The checkboxes here are a bad fit :) It's a list...

@lanterno
Copy link
Member Author

lanterno commented Sep 5, 2023

Fixed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants