-
Notifications
You must be signed in to change notification settings - Fork 38
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
Pin requirements.txt #6
Conversation
Initial Update
Thanks! While I was against this for pax in the past, it makes sense. We've had a few issues when new numpy and numba versions came at one point. So let's pin. However we should probably stop filling install_requires from requirements.txt after pinning; see e.g.
The best practice seems to be to have pinned dependencies in requirements.txt and unpinned ones in install_requires. This way you can have consistent deployments with Moreover, this allows you to pin dependencies of your dependencies in requirements.txt; essentially requirements.txt can then become just the |
Maybe we should also look at pipenv, it's apparently now the officially recommended python packaging tool. |
@JelleAalbers I'll look at this install requires thing... |
Cool, I just did JelleAalbers@718456d now, but the repetition feels a bit wrong. |
If you pin versions, it will make things in the long run easier for reproducibility. Also, we make sure that we are testing the same versions that we are deploying.