Skip to content
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

Merged
merged 2 commits into from Apr 9, 2018

Conversation

revolter
Copy link
Collaborator

@revolter revolter commented Apr 7, 2018

As I mentioned in #560, this simplifies the installation instructions and adding a new dependency.

Also, the current requirements.txt and requirements-to-freeze.txt are incorrect for two reasons:

  • markdown-include is missing from the requirements-to-freeze.txt
  • some packages like backports-abc don't seem to be needed, as they're missing from the auto-generated Pipfile.lock

This way, you can also make sure you use a specific version (or a minimum), more similar to Gemfile and Gemfile.lock than the requirements*.txt files.

It's also a wrapper over virtualenv and pip, 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.

@minuscorp
Copy link
Collaborator

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.

Copy link
Collaborator

@minuscorp minuscorp left a 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! 🚀

@revolter
Copy link
Collaborator Author

revolter commented Apr 8, 2018

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
Copy link
Collaborator Author

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 ❤️

@getaaron
Copy link
Collaborator

getaaron commented Apr 9, 2018

This looks great 👍

Copy link
Member

@joshdholtz joshdholtz left a 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

@revolter revolter merged commit 1f27232 into fastlane:master Apr 9, 2018
@revolter revolter deleted the feature/python3-and-pipenv branch April 9, 2018 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants