-
Notifications
You must be signed in to change notification settings - Fork 107
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
CKAN pip requirements management -- PIPENV #3415
Comments
Some deeper discussion on pipenv vs poetry here: https://news.ycombinator.com/item?id=26093926 Poetry also helps with publishing to PyPi FWIW. EDIT: there's also lightweight alternative pip-tools > https://github.com/jazzband/pip-tools |
I'm not sure we can use |
Well, I take back the "only tool" part. Poetry supports downloading them, but I'm still not sure this is compatible with cloud.gov |
I wanted to wait until I had the absolute final decision to post it here (since I'm not hopeful of the path I'm taking now), but the intermediary answer is that I pushed GSA/catalog.data.gov@c7ee555 that would use I believe it's the decision of the team currently that the benefits of |
I wonder how they're achieving this benchmarking if that's the case. 34s! Their requirements.txt is just a bit smaller than ours. |
I'd be interested in that as well. 🦑 |
User Story
In order to have a native python module management system and locking system, data.gov sysadmin wants to implement pipenv to manage python dependencies for catalog and inventory applications.
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
WHEN
make update-dependencies
is runTHEN the python module is upgraded and locked at the latest possible version
AND cloud.gov can build and implement the locked dependencies
Background
The custom way that the python modules is managed (requirements.txt and requirements.in files) makes it difficult to manage with 3rd party scanning systems; they create PR's that need editing before they can be merged. We want to move to a more standard approach.
It has been mentioned that pipenv does not work with CKAN, though there is no evidence of this. There may be some blockers to making this work.
Security Considerations (required)
None
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
The text was updated successfully, but these errors were encountered: