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

Add warning about managing multiple versions with pipenv #430

Merged
merged 2 commits into from Feb 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion source/tutorials/managing-dependencies.rst
Expand Up @@ -24,7 +24,6 @@ testing environments for any kind of project.
.. Note:: This guide is written for Python 3, however, these instructions
should also work on Python 2.7.


Installing Pipenv
-----------------

Expand Down Expand Up @@ -114,7 +113,17 @@ when you share your project with others. You should get output similar to this
Adding requests to Pipfile's [packages]...
P.S. You have excellent taste! ✨ 🍰 ✨

.. Warning:: Due to an `open issue with pipenv`_, it's not currently reliable
to use ``pipenv`` to create environments for different Python versions
(as environment marker conditions may not be processed correctly).
The interpreter version you use in your project should be the same as the
interpreter version used to install ``pipenv``.
When testing against multiple versions with ``tox``, install ``pipenv``
into each test environment, as described `here <pipenv-tox>`_.

.. _Requests: https://python-requests.org
.. _open issue with pipenv: https://github.com/pypa/pipenv/issues/857
.. _pipenv-tox: https://docs.pipenv.org/advanced/#tox-automation-project


Using installed packages
Expand Down