chalmerlowe / intro_to_sprinting

A gentle introduction to contributing to open source projects / open source sprints
Other
108 stars 116 forks source link

Should we be using `virtualenv` (or `pipenv`) instead of `conda`? #152

Open seawolf42 opened 6 years ago

seawolf42 commented 6 years ago

Setting up the local environment for development includes installing conda as the virtual environment manager instead of lightweight tools like virtualenv. This has the following implications:

Probably the best tooling to use is Python's built-in virtualenv command, as this exists for everyone with Python installed. A possible alternative would be to use pipenv, though I think this is not ideal as it entails installing additional tools that are directly relevant to this course.

seawolf42 commented 6 years ago

On further thought, it probably makes a lot of sense to move virtual environments to the last step in the basic course, so that the focus is more on using git and GitHub in a project-agnostic way.

seawolf42 commented 6 years ago

Creating a separate issue for changing the order, issue #157

jlgimeno commented 6 years ago

Pipenv with git 18.1 seems to be broken. See here: https://github.com/pypa/pipenv/issues/2924. Workaround seems to be pipenv install git==18.0 before installing anything else in the virtual enviroment.