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

Adopting Poetry or Rye for Dependency Management #43

Open
manisha841 opened this issue Apr 22, 2024 · 6 comments
Open

Adopting Poetry or Rye for Dependency Management #43

manisha841 opened this issue Apr 22, 2024 · 6 comments

Comments

@manisha841
Copy link
Contributor

Managing dependencies as the project grows is quite a task, requirements.txt lacks support for dependency version locking, which comes with other maintenance challenges. There are package managers like Rye or Poetry that manage dependencies efficiently.

@justfoolingaround
Copy link

Adding on to this, the current requirements.txt should be changed to something like test_requirements.txt. Standard Python codebases usually reserve requirements.txt (or, use the fields inside the pyproject.toml) to specify the actual requirements.

@horrormyth
Copy link
Contributor

Good point; poetry not only brings dep mgmt but also virtual env management, so good to implement this, feel free to add this but do make sure that that the test deps are under the test deps, feel free to update the dev guidelines which was done for the old one here @manisha841

@manisha841
Copy link
Contributor Author

Good point; poetry not only brings dep mgmt but also virtual env management, so good to implement this, feel free to add this but do make sure that that the test deps are under the test deps, feel free to update the dev guidelines which was done for the old one here @manisha841

Sure

@imkaka
Copy link

imkaka commented Apr 23, 2024

consider choosing rye here @manisha841 as it seems to solve the dependency management better than poetry and a tool of future(all tools will converge to this) considering its now owned by same group who created dent in python development ecosystem with ruff and uv 🙌

will be happy to collaborate if needed.

@manisha841
Copy link
Contributor Author

@horrormyth I have opened a PR with necessary updates regarding this issue, please review and let me know, thanks!

@manisha841
Copy link
Contributor Author

@sumanashrestha can you have at this PR and let me know if any changes are required?

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

4 participants