-
Notifications
You must be signed in to change notification settings - Fork 28
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
requirement.txt file is outdated #324
Comments
The requirements.txt is used in clever-cloud for the public endpoint. Could we make a GitHub action that updates automatically the requirements.txt every time poetry dependency are updated ? |
Why is there a Pipfile it the repo ? Why do we need it ? Is the "pyproject.toml" enought ? |
Yes in theory the Poetry files ("pyproject.toml" and "poetry.lock") should be sufficient. And I also believe that the pipfile is not needed once we use Poetry, but I would appreciate the view of @bamthomas or @samuelrince or other with experience in Python... I feel a bit rusty ;-) For clever-cloud deployment: For the serverless deployment: |
Indeed, I don't think we need the Pipfile anymore. To generate a |
Exacrly @demeringo it was just for the sake of migration and possible rollback but we should be done now :) |
Ok i will take charge of :
Thanks for your feedbacks |
Everything is available on dev branch. |
Bug description
Since we use poetry for dependency management, requirement.txt file is desynchronized with actual project dependencies.
I suspect it leads to false alerts by depndendabots.
To Reproduce
Expected behavior
Either get rid of requirement.txt or keep it up to date by making poetry update it.
JSON OUTPUT
Additional context
Not sure if there is any purpose to keep the requirement.txt file or if it remains there only by accident / historical reasons as it was used before we started to use Poetry.
It may still be used by the serverless deployment (which does not work at the moment #153 , so I am not sure if we should get complely rid of it or relocate it to a dedicated repository).
The text was updated successfully, but these errors were encountered: