Replace pipenv with poetry
Summary
As a cloudigrade developer, I want to use environment build tools that are actively maintained so that I can take advantage of features, bug fixes, and security patches.
The Python developer community at large seems to have decided that Pipenv should not be used because its owners or core maintainers appear to have abandoned it. See:
- pipenv maintenance fucked up
- If this project is dead, just tell us
- pipenv seems to no longer be maintained: don't recommend it anymore
A leading alternative tool that fits a similar niche to Pipenv is currently Poetry. See:
If we choose something other than Poetry, please update this issue's title and description with appropriate details.
Acceptance Criteria
-
Verify we no longer use Pipenv to install dependencies: -
in cloudigrade -
in houndigrade -
in drf-insights-pagination
-
-
Verify another tool and process has replaced Pipenv -
Verify Dockerfiles are using the new tool -
Verify GitLab CI job definitions are using the new tool -
Verify developer documentation is updated with notes to use the new tool
-
-
Verify that the chosen tool correctly builds and installs pycurl in various environments.
Assumptions and Questions
- Before making code changes, take a few minutes to verify that Poetry really is our best alternative.
Edited by Brad Smith