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
Update to python3 and add pipenv #579
Conversation
ea03173
to
7f0d2ed
Compare
7f0d2ed
to
c720723
Compare
Sincerely, I never liked how Python made the dependency management. IMO pip is a tool where the concept: "works in my computer" gets real. I'm happy to see new alternatives and seems pretty solid for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At last some dependency management system that seems solid! 🚀
Yup, pipenv is the best. I also love that it manages the virtual environments automatically, and also stores them outside the project's directory. |
ruby: | ||
version: 2.3.0 | ||
dependencies: | ||
pre: | ||
- pip install -r requirements.txt | ||
- pip install pipenv | ||
- pipenv install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't get easier than this ❤️
This looks great 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great 🙌 I'm so glad that I can use python 3 now
As I mentioned in #560, this simplifies the installation instructions and adding a new dependency.
Also, the current
requirements.txt
andrequirements-to-freeze.txt
are incorrect for two reasons:markdown-include
is missing from therequirements-to-freeze.txt
backports-abc
don't seem to be needed, as they're missing from the auto-generatedPipfile.lock
This way, you can also make sure you use a specific version (or a minimum), more similar to
Gemfile
andGemfile.lock
than therequirements*.txt
files.It's also a wrapper over
virtualenv
andpip
, so it's not actually replacing anything.I would also want to know if updating to Python 3 has any drawbacks, even though CircleCI succeeded.