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

Upgrade Python dependency tool from pipenv to poetry #1818

Open
neilmb opened this issue Oct 18, 2024 · 0 comments
Open

Upgrade Python dependency tool from pipenv to poetry #1818

neilmb opened this issue Oct 18, 2024 · 0 comments

Comments

@neilmb
Copy link
Member

neilmb commented Oct 18, 2024

In a couple of instances, we have had to update all of our dependencies en masse because pipenv does not give very good tools for updating a portion of the dependency tree (#1796 and the work on it by @nateborr ). Python's new poetry tool should be better at this, but it requires a process to migrate the current dependency information from our Pipfile into the new pyproject.toml format.

We should (1) research how to do that migration, (2) do it, and then (3) test the resulting install to make sure that it works both locally, in Docker, and in staging on Cloud.gov. Ideally, we would make the change without also doing any dependency updates so that we can isolate the impact of the new tooling. We will also need to (4) update our documentation on dependency management to use the new commands.

Bonus points if we can (5) use the new tool to document a simple approach to responding to dependabot updates without having to update all of our dependencies.

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