center-randomize
center-randomize copied to clipboard
Adopting Poetry or Rye for Dependency Management
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.
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.
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
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
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.
@horrormyth I have opened a PR with necessary updates regarding this issue, please review and let me know, thanks!
@sumanashrestha can you have at this PR and let me know if any changes are required?