-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Enum34 and other dependencies not installing when targetting 2.7 but using 3.6 #1279
Comments
@nesl247 thanks for the report -- this is an issue with dependency resolution for certain types of |
The same situation here. And I'd like to provide more information to see if that helps. Describe your environment
Both Python and Pipenv are installed through Pipfile:
Expected result enum34 should be required and installed because of jupyter. Actual result enum34 is not installed. Steps to replicate
Workaround steps If I manually install jupyter and other packages through pipenv commandline, it would work. That is, the following way can install dependencies correctly.
|
This looks like another instance of #1229. Traitlets uses the old |
@uranusjr Thanks for sharing this. I noticed there are lots of python packages utilizing |
I may have a rework of a prior fix for this but it is a complicated problem so I make no promises |
Was there an update on this? This issue is blocking use with Python 2.7. |
@uranusjr thanks for pointing me to the right direction. I'm experiencing the same problem with the I'm in a python3 virtualenv and an additional python2.7 package is downloaded by mistake: that causes a crash and the whole package installation process to abort (I can provide a clean test case for the bug, if interested). I'll submit a quick patch to the maintainers of |
Describe your environment
Expected result
enum34 should be required
Actual result
enum34 is not required
Steps to replicate
I installed pipenv via homebrew, and that uses python 3. When doing so, the Pipfile.lock does not include enum34. However, if I remove pipenv and install it via
pip2 install pipenv
, then it does. It appears that pipenv is not generating the requirements properly as flake8 requires enum34 conditionally based on the python version.The text was updated successfully, but these errors were encountered: