-
Notifications
You must be signed in to change notification settings - Fork 245
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
Proposition: improve dependency management with pipenv #35
Comments
Thanks again for another good idea @Seb0 |
Potential Downsides: pipenv's philosophy is, that it wants to establish a deterministic reproducible application. So if you wanted python 2 and python 3 environments -- for example to run as 2 separate environments (e.g. for tests) -- you're out of luck with pipenv.
Another alternative would be the classical way of pinning dependencies and pip freeze, also explained in article from realpython (see above). As to why this is not the case for some of the bigger libs? I don't know. But Data Scientists aren't the best developers sometimes :D Checkout this article (and maybe even the associated reddit discussion that is linked) |
Thanks for your evaluation and the articles!
As I understand this, pipenv is a great project but probably not the best choice for FARM. Since we also didn't face any problems yet due to dependency versioning, this doesn't have highest priority in our backlog. We will therefore (for now) keep the standard approach via setup.py and pin versions when issues pop up. |
Coming in with another proposition for your repo (feel free to dismiss if not important to you or not required :) ):
Fix dependency management using pipenv. Why? This article explains it very well and I could only re-articulate the info from it:
https://realpython.com/pipenv-guide/#dependency-management-with-requirementstxt
And here is the pipenv official doc:
https://docs.pipenv.org/en/latest/basics/
I'm using the same mechanism with docker-compose and pipenv and am happy about this configuration. Just my 2 cents for today.
The text was updated successfully, but these errors were encountered: