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
$ pipenv lock produces a set of dependencies that are inconsistent in their sub-dependencies
Expected result
Regardless of the pipenv approach to setuptools et al (#2364), I expect the set of packages locked to be internally consistent. In this case, cairocffi==1.0.0 would resolve the inconsistency.
Actual result
cairocffi==1.0.2 is locked, which requires setuptools>=39.2.0 and tensorflow==1.9.0 requires setuptools<=39.1.0
Steps to replicate
$ pipenv update
$ pip check
tensorflow 1.9.0 has requirement setuptools<=39.1.0, but you have setuptools 40.8.0.
$ pip install setuptools==39.1.0
Looking in indexes: https://cam.devpimirror.piointernal.prowler.io/prowler-io/prod/+simple/
Collecting setuptools==39.1.0
Using cached https://cam.devpimirror.piointernal.prowler.io/root/pypi/+f/0cb/8b8625bfdcc2d/setuptools-39.1.0-py2.py3-none-any.whl
cairocffi 1.0.2 has requirement setuptools>=39.2.0, but you'll have setuptools 39.1.0 which is incompatible.
Installing collected packages: setuptools
Found existing installation: setuptools 40.8.0
Uninstalling setuptools-40.8.0:
Successfully uninstalled setuptools-40.8.0
Successfully installed setuptools-39.1.0
Not have time to review issues until recently. If that is the case, you probably need to pin cairocffi to a lower version in your Pipfile. Pipenv doesn't have the ability to resolve dependencies to match intermediate constraints, currently.
There are many other similar issues reported against it, close it now.
Issue description
$ pipenv lock
produces a set of dependencies that are inconsistent in their sub-dependenciesExpected result
Regardless of the pipenv approach to setuptools et al (#2364), I expect the set of packages locked to be internally consistent. In this case, cairocffi==1.0.0 would resolve the inconsistency.
Actual result
cairocffi==1.0.2 is locked, which requires setuptools>=39.2.0 and tensorflow==1.9.0 requires setuptools<=39.1.0
Steps to replicate
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/home/sandeep/.local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Python installations found:
3.6.7
:/home/sandeep/.local/share/virtualenvs/temp-52ngTuPo/bin/python3
3.6.7
:/usr/bin/python3
3.6.7
:/usr/bin/python3.6m
3.5.6
:/home/sandeep/.pyenv/versions/3.5.6/bin/python3
3.5.6
:/home/sandeep/.pyenv/versions/3.5.6/bin/python3.5m
3.5.2
:/home/sandeep/.pyenv/versions/3.5.2/bin/python3
3.5.2
:/home/sandeep/.pyenv/versions/3.5.2/bin/python3.5m
2.7.15rc1
:/usr/bin/python2
PEP 508 Information:
System environment variables:
CLUTTER_IM_MODULE
LS_COLORS
LD_LIBRARY_PATH
REQUESTS_CA_BUNDLE
LESSCLOSE
LANG
GDM_LANG
MANAGERPID
DISPLAY
OLDPWD
INVOCATION_ID
PYTHONFINDER_IGNORE_UNSUPPORTED
COMPIZ_CONFIG_PROFILE
GTK_OVERLAY_SCROLLING
COLORTERM
PYENV_VIRTUALENV_INIT
XDG_VTNR
SSH_AUTH_SOCK
VIRTUAL_ENV
MANDATORY_PATH
S_COLORS
SLUGIFY_USES_TEXT_UNIDECODE
XDG_SESSION_ID
XDG_GREETER_DATA_DIR
PIP_INDEX_URL
USER
DESKTOP_SESSION
QT4_IM_MODULE
TEXTDOMAINDIR
PIP_PYTHON_PATH
DEFAULTS_PATH
QT_QPA_PLATFORMTHEME
PWD
HOME
JOURNAL_STREAM
TEXTDOMAIN
SSH_AGENT_PID
QT_ACCESSIBILITY
XDG_SESSION_TYPE
KRB5CCNAME
XDG_DATA_DIRS
MATE_DESKTOP_SESSION_ID
PIPENV_ACTIVE
PROWLER_IO_HOME
XDG_SESSION_DESKTOP
QT_SCALE_FACTOR
DBUS_STARTER_ADDRESS
PIP_REQUIRE_VIRTUALENV
GTK_MODULES
UBUNTU_MENUPROXY
SHELL
VTE_VERSION
TERM
XDG_SEAT_PATH
QT_IM_MODULE
XMODIFIERS
IM_CONFIG_PHASE
DBUS_STARTER_BUS_TYPE
XDG_CURRENT_DESKTOP
GPG_AGENT_INFO
PYTHONDONTWRITEBYTECODE
XDG_SEAT
SHLVL
PYENV_SHELL
LANGUAGE
PROMPT_COMMAND
WINDOWID
GDMSESSION
LOGNAME
PIP_DISABLE_PIP_VERSION_CHECK
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
XAUTHORITY
XDG_SESSION_PATH
QT_AUTO_SCREEN_SCALE_FACTOR
XDG_CONFIG_DIRS
PIP_CERT
PATH
PS1
SESSION_MANAGER
LESSOPEN
GTK_IM_MODULE
_
PIP_SHIMS_BASE_MODULE
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/home/sandeep/.local/share/virtualenvs/temp-52ngTuPo/bin:/home/sandeep/.pyenv/plugins/pyenv-virtualenv/shims:/home/sandeep/.pyenv/shims:/home/sandeep/.pyenv/bin:/home/sandeep/.pyenv/plugins/pyenv-virtualenv/shims:/home/sandeep/.pyenv/shims:/home/sandeep/.pyenv/bin:/home/sandeep/.cargo/bin:/home/sandeep/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL
:/bin/bash
LANG
:en_GB.UTF-8
PWD
:/home/sandeep/temp
VIRTUAL_ENV
:/home/sandeep/.local/share/virtualenvs/temp-52ngTuPo
Contents of
Pipfile
('/home/sandeep/temp/Pipfile'):Contents of
Pipfile.lock
('/home/sandeep/temp/Pipfile.lock'):The text was updated successfully, but these errors were encountered: