moest-np / center-randomize

Script is to assign exam centers to students
MIT License
756 stars 361 forks source link

Adopting Poetry or Rye for Dependency Management #43

Open manisha841 opened 5 months ago

manisha841 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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

manisha841 commented 5 months ago

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