You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're looking into vendoring pipenv to help with managing environments in the Firefox build systems, and to assist with upgrading from Python 2.7 to Python 3.5+
According to the dependencies, requests[security] and ordereddict are required for Python versions below 3.0:
This means we also need to vendor these packages and their dependencies, which is causing us some additional challenges. When looking to see if I could exclude these dependencies, I found that they were recently only necessary for Python 2.6:
This was changed in 56d52b0#diff-2eeaed663bd0d25b7e608891384b7298 without any suggestion for why the version requirement should be raised. This leads me to suspect this was an error, and I have been able to successfully vendor and use pipenv with the clause changed to <"2.7".
We're looking into vendoring pipenv to help with managing environments in the Firefox build systems, and to assist with upgrading from Python 2.7 to Python 3.5+
According to the dependencies,
requests[security]
andordereddict
are required for Python versions below 3.0:pipenv/setup.py
Lines 31 to 32 in 9ecaf85
This means we also need to vendor these packages and their dependencies, which is causing us some additional challenges. When looking to see if I could exclude these dependencies, I found that they were recently only necessary for Python 2.6:
pipenv/setup.py
Lines 32 to 34 in 861429e
This was changed in 56d52b0#diff-2eeaed663bd0d25b7e608891384b7298 without any suggestion for why the version requirement should be raised. This leads me to suspect this was an error, and I have been able to successfully vendor and use pipenv with the clause changed to
<"2.7"
.I'll submit a pull request with this change.
$ python -m pipenv.help output
Pipenv version:
'11.10.1.dev5'
Pipenv location:
'/Users/dhunt/workspace/pipenv/pipenv'
Python location:
'/Users/dhunt/.pyenv/versions/3.6.4/bin/python'
Other Python installations in
PATH
:2.7
:/Users/dhunt/.pyenv/shims/python2.7
2.7
:/Users/dhunt/.pyenv/shims/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
3.4
:/Users/dhunt/.pyenv/shims/python3.4m
3.4
:/Users/dhunt/.pyenv/shims/python3.4
3.5
:/Users/dhunt/.pyenv/shims/python3.5m
3.5
:/Users/dhunt/.pyenv/shims/python3.5
3.6
:/Users/dhunt/.pyenv/versions/3.6.4/bin/python3.6m
3.6
:/Users/dhunt/.pyenv/versions/3.6.4/bin/python3.6
3.6
:/Users/dhunt/.pyenv/shims/python3.6
3.6
:/usr/local/bin/python3.6
3.6.4
:/Users/dhunt/.pyenv/versions/3.6.4/bin/python
3.6.4
:/Users/dhunt/.pyenv/shims/python
2.7.14
:/usr/local/bin/python
2.7.10
:/usr/bin/python
2.7.13
:/Users/dhunt/.pyenv/shims/python2
2.7.14
:/usr/local/bin/python2
3.6.4
:/Users/dhunt/.pyenv/versions/3.6.4/bin/python3
3.6.4
:/Users/dhunt/.pyenv/shims/python3
3.6.5
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
SPACESHIP_VERSION
TERM_PROGRAM
PYENV_ROOT
NVM_CD_FLAGS
TERM
SHELL
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
PYENV_VERSION
NVM_DIR
USER
SSH_AUTH_SOCK
PYENV_DIR
__CF_USER_TEXT_ENCODING
PYENV_VIRTUALENV_INIT
PAGER
LSCOLORS
PATH
PWD
LANG
ITERM_PROFILE
PYENV_HOOK_PATH
XPC_FLAGS
SPACESHIP_ROOT
XPC_SERVICE_NAME
PYENV_SHELL
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LESS
LOGNAME
LC_CTYPE
NVM_BIN
COLORTERM
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/dhunt/.pyenv/versions/3.6.4/bin:/usr/local/Cellar/pyenv/1.2.3/libexec:/Users/dhunt/.nvm/versions/node/v6.11.1/bin:/Users/dhunt/.local/bin:/Users/dhunt/.cargo/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.1/shims:/Users/dhunt/.pyenv/shims:/Users/dhunt/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin::/Users/dhunt/workspace/arcanist/bin/
SHELL
:/usr/local/bin/zsh
LANG
:en_GB.UTF-8
PWD
:/Users/dhunt/workspace/pipenv
Contents of
Pipfile
('/Users/dhunt/workspace/pipenv/Pipfile'):Contents of
Pipfile.lock
('/Users/dhunt/workspace/pipenv/Pipfile.lock'):Expected result
requests[security] and ordereddict are not required on Python 2.7.
Actual result
These dependencies are required.
Steps to replicate
Install pipenv under Python 2.7.
The text was updated successfully, but these errors were encountered: