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

Migrate to python poetry #39

Open
HYP3R00T opened this issue Jan 1, 2025 · 0 comments
Open

Migrate to python poetry #39

HYP3R00T opened this issue Jan 1, 2025 · 0 comments

Comments

@HYP3R00T
Copy link
Contributor

HYP3R00T commented Jan 1, 2025

For now, we are using the traditional way of managing python, i.e. using requirements.txt.

The problem with traditional way is that we are not controlling which python version to use. We have create virtual environment manually (using python3 -m venv any-random-name-for-the-virtual-environment) which could be a problem if someone accidently pushes their venv to the repo. If we use python poetry, will be never have to worry about it as it won't create the virtual env within the repo.

I am suggesting we should move to python-poetry. This way, we can manage everything related to python, within one single pyproject.toml file. We can separate dependencies (for instance putting mkdocs in dev dependencies). We can strictly mention which python version to use. If we plan to use python scripting in future, we can customize ruff linting and formatting within the same file.

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