-
-
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
Pipenv is issuing false conflicts when trying to install libs #1745
Pipenv is issuing false conflicts when trying to install libs #1745
Comments
reproduced. Wonder if it is not in the same scope than #1732 (transitive dependency resolution problem) |
indeed, so i think the behavior is normal |
|
got it! |
use 11.8.0 :) |
Im sorry to get back to this, but this bug was not fixed. Using the newest The weird part is, even though it checks for Django, it is not listed as its dependency on Finally, in this same directory that I installed |
Definitely thought I fixed this last night. Will have to inspect. |
In a brand new environment Im trying to install
django = "==1.8.19"
anddjango-redis = "==4.4.4"
.However,
Pipenv
warns a conflict:Could not find a version that matches django==1.8.19,>=1.11
.The thing is:
django-redis
at version4.4.4
has no dependency on Django, as we can see here: https://github.com/niwinz/django-redis/blob/4.0.0/setup.py#L19On the other hand,
django-redis
at the current release (4.9.0) and on master has a dependency onDjango 1.11
, as we can see here: https://github.com/niwinz/django-redis/blob/4.9.0/setup.py#L24I think
Pipenv
is "looking" at the wrong versions, or is getting the wrong information, when trying to create the lock file.Using version
11.7.4
Expected result
Pipenv should allow me to install Django at version 1.8.19 and Django-redis at version 4.4.4
Actual result
Pipenv says there is a conflict on Django versions, even though
django-redis
at version 4.4.4 has no dependency on Django.Steps to replicate
In a brand new directory:
$ python -m pipenv.help output
Pipenv version: `'11.7.4'`Pipenv location:
'/usr/local/lib/python3.5/dist-packages/pipenv'
Python location:
'/usr/bin/python3'
Other Python installations in
PATH
:2.7
:/usr/bin/python2.7
2.7
:/usr/bin/python2.7
3.5
:/usr/bin/python3.5m
3.5
:/usr/bin/python3.5
2.7.12
:/usr/bin/python
2.7.12
:/usr/bin/python2
3.5.2
:/usr/bin/python3
PEP 508 Information:
System environment variables:
BYOBU_ULIMIT
BYOBU_CHARMAP
BYOBU_READLINK
LC_CTYPE
DESKTOP_SESSION
XDG_CURRENT_DESKTOP
LC_TELEPHONE
LSCOLORS
EVENT_NOEPOLL
GTK2_MODULES
QT_QPA_PLATFORMTHEME
QT_ACCESSIBILITY
IM_CONFIG_PHASE
XDG_DATA_DIRS
SHLVL
QT4_IM_MODULE
GDMSESSION
GTK_MODULES
BYOBU_SED
SESSIONTYPE
NVM_BIN
LC_NUMERIC
BYOBU_TIME
LC_ADDRESS
BYOBU_PREFIX
XDG_VTNR
LESS
SESSION
UNITY_HAS_3D_SUPPORT
SSH_AUTH_SOCK
SESSION_MANAGER
XDG_SEAT
WINDOWID
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
LANGUAGE
BYOBU_PYTHON
LC_PAPER
BYOBU_LIGHT
BYOBU_DARK
XDG_MENU_PREFIX
DEFAULTS_PATH
BYOBU_BACKEND
PATH
BYOBU_RUN_DIR
VTE_VERSION
XAUTHORITY
BYOBU_CONFIG_DIR
GNOME_KEYRING_CONTROL
UNITY_DEFAULT_PROFILE
BYOBU_PAGER
XDG_RUNTIME_DIR
XDG_SESSION_PATH
LC_MONETARY
XDG_GREETER_DATA_DIR
LC_MEASUREMENT
XDG_SESSION_TYPE
_
NVM_CD_FLAGS
SHELL
LS_COLORS
LOGNAME
GDM_LANG
INSTANCE
XDG_SESSION_DESKTOP
PYTHONUNBUFFERED
LC_IDENTIFICATION
GNOME_KEYRING_PID
JOB
NVM_DIR
XMODIFIERS
TMUX
UPSTART_INSTANCE
GTK_IM_MODULE
TERM
DISPLAY
GPG_AGENT_INFO
HOME
COMPIZ_CONFIG_PROFILE
UPSTART_EVENTS
OLDPWD
PWD
BYOBU_WINDOW_NAME
QT_IM_MODULE
DBUS_SESSION_BUS_ADDRESS
USER
ZSH
PIP_PYTHON_PATH
BYOBU_DATE
TMUX_PANE
XDG_SEAT_PATH
BYOBU_HIGHLIGHT
XDG_SESSION_ID
GNOME_DESKTOP_SESSION_ID
PAGER
LANG
LC_TIME
XDG_CONFIG_DIRS
COMPIZ_BIN_PATH
BYOBU_DISTRO
BYOBU_ACCENT
MANDATORY_PATH
BYOBU_TTY
LC_NAME
UPSTART_SESSION
UPSTART_JOB
CLUTTER_IM_MODULE
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/frenetic/.nvm/versions/node/v8.9.4/bin:/home/frenetic/bin:/home/frenetic/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL
:/usr/bin/zsh
LANG
:en_US.UTF-8
PWD
:/home/frenetic/Projects/tests/tests-api
Contents of
Pipfile
('/home/frenetic/Projects/tests/tests-api/Pipfile'):The text was updated successfully, but these errors were encountered: