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
incorrect dependencies (versions) locked by pip #2735
Comments
This file reproduces the problem. |
As a workaround, I had to move all [dev-packages] requirements to [packages]. Or I guess I could've duplicated all [packages] entries in [dev-packages]. |
Sorry for the delay getting back to you all, to answer at least one part of the inquiry, Since you have a top level package here that depends on Roughly speaking, this Closing for now as this particular dependency resolution issue is a design decision, you'll have to move your requirement into the |
tried to add
flower
to the project, butpipenv lock
is picking newesttornado
version (5.1) instead one specified in requirements (tornado>=4.2.0,<5.0.0) (tested on 2.7.15 & 3.7)Expected result
proper tornado version to be picked
Steps to replicate
$ mkdir tmp1
$ cd tmp1
$ pipenv install flower
$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/Users/jerzyk/.pyenv/versions/3.7.0/lib/python3.7/site-packages/pipenv'
Python location:
'/Users/jerzyk/.pyenv/versions/3.7.0/bin/python3.7'
Other Python installations in
PATH
:2.7
:/usr/local/bin/python2.7
2.7
:/Users/jerzyk/.pyenv/shims/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
3.6
:/Users/jerzyk/.pyenv/shims/python3.6
3.7
:/Users/jerzyk/.pyenv/versions/3.7.0/bin/python3.7m
3.7
:/Users/jerzyk/.pyenv/versions/3.7.0/bin/python3.7
3.7
:/Users/jerzyk/.pyenv/shims/python3.7
3.7
:/usr/local/bin/python3.7
3.7
:/usr/local/bin/python3.7
3.7.0
:/Users/jerzyk/.pyenv/versions/3.7.0/bin/python
3.7.0
:/Users/jerzyk/.pyenv/shims/python
2.7.15
:/usr/local/bin/python
2.7.15
:/usr/local/bin/python
2.7.10
:/usr/bin/python
None
:/Users/jerzyk/.pyenv/shims/python2
2.7.15
:/usr/local/bin/python2
2.7.15
:/usr/local/bin/python2
3.7.0
:/Users/jerzyk/.pyenv/versions/3.7.0/bin/python3
3.7.0
:/Users/jerzyk/.pyenv/shims/python3
3.7.0
:/usr/local/bin/python3
3.7.0
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
TERM_PROGRAM
PYENV_ROOT
TERM
SHELL
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
PYENV_VERSION
USER
SSH_AUTH_SOCK
PYENV_DIR
__CF_USER_TEXT_ENCODING
PATH
PWD
LANG
PGHOST
ITERM_PROFILE
PYENV_HOOK_PATH
XPC_FLAGS
XPC_SERVICE_NAME
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LOGNAME
PGDATA
DISPLAY
COLORTERM
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/jerzyk/.pyenv/versions/3.7.0/bin:/usr/local/Cellar/pyenv/1.2.6/libexec:/Users/jerzyk/.pyenv/shims:/usr/local/bin:/usr/local/sbin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/Users/jerzyk/tmp
Contents of
Pipfile
('/Users/jerzyk/tmp/Pipfile'):Contents of
Pipfile.lock
('/Users/jerzyk/tmp/Pipfile.lock'):The text was updated successfully, but these errors were encountered: