Closed bw-matthew closed 5 years ago
I can confirm this issue, and this has come up often enough that it is severely threatening my adoption of pipenv.
you will need to upgrade to a new version of pipenv which doesn't have this problem
(sorry for the bug though)
Issue description
A Pipfile that explicitly lists the following pinned dependencies:
will install ipython 7.0.1 which then causes locking to fail, as that version of ipython depends on an incompatible version of prompt-toolkit.
Expected result
All pinned dependencies defined in the Pipfile should be honored. Pipenv should fail instead of silently changing them.
Actual result
Steps to replicate
$ pipenv --support
Pipenv version: `'2018.7.1'` Pipenv location: `'/home/matthew/.local/lib/python2.7/site-packages/pipenv'` Python location: `'/usr/bin/python'` Other Python installations in `PATH`: - `2.7`: `/home/matthew/.pyenv/shims/python2.7` - `2.7`: `/home/matthew/.pyenv/shims/python2.7` - `2.7`: `/home/matthew/.pyenv/shims/python2.7` - `2.7`: `/usr/bin/python2.7` - `3.4`: `/home/matthew/.pyenv/shims/python3.4` - `3.4`: `/home/matthew/.pyenv/shims/python3.4` - `3.5`: `/home/matthew/.pyenv/shims/python3.5m` - `3.5`: `/home/matthew/.pyenv/shims/python3.5` - `3.5`: `/home/matthew/.pyenv/shims/python3.5` - `3.5`: `/usr/bin/python3.5` - `3.6`: `/home/matthew/.pyenv/shims/python3.6m` - `3.6`: `/home/matthew/.pyenv/shims/python3.6` - `3.6`: `/home/matthew/.pyenv/shims/python3.6` - `3.6`: `/usr/bin/python3.6` - `3.7`: `/home/matthew/.pyenv/shims/python3.7` - `3.7`: `/home/matthew/.pyenv/shims/python3.7` - `2.7.15`: `/home/matthew/.pyenv/shims/python` - `2.7.15`: `/home/matthew/.pyenv/shims/python` - `2.7.15`: `/usr/bin/python` - `2.7.15`: `/home/matthew/.pyenv/shims/python2` - `2.7.15`: `/home/matthew/.pyenv/shims/python2` - `2.7.15`: `/usr/bin/python2` - `3.6.5`: `/home/matthew/.pyenv/shims/python3` - `3.6.5`: `/home/matthew/.pyenv/shims/python3` - `3.6.5`: `/usr/bin/python3` PEP 508 Information: ``` {'implementation_name': 'cpython', 'implementation_version': '0', 'os_name': 'posix', 'platform_machine': 'x86_64', 'platform_python_implementation': 'CPython', 'platform_release': '4.15.0-23-generic', 'platform_system': 'Linux', 'platform_version': '#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018', 'python_full_version': '2.7.15rc1', 'python_version': '2.7', 'sys_platform': 'linux2'} ``` System environment variables: - `ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE` - `LESS` - `LC_CTYPE` - `PYTHONDONTWRITEBYTECODE` - `XDG_SESSION_TYPE` - `SHELL` - `PYENV_SHELL` - `XDG_DATA_DIRS` - `MANDATORY_PATH` - `PIP_REQUIRE_VIRTUALENV` - `VIRTUAL_ENV_DISABLE_PROMPT` - `_ZCACHE_PAYLOAD_PATH` - `JAVA_HOME` - `GTK2_MODULES` - `XDG_RUNTIME_DIR` - `J2SDKDIR` - `POWERLINE_COMMAND` - `ADOTDIR` - `XDG_SESSION_ID` - `DBUS_SESSION_BUS_ADDRESS` - `GTK_MODULES` - `DESKTOP_SESSION` - `GNOME_TERMINAL_SERVICE` - `XDG_MENU_PREFIX` - `LS_COLORS` - `XDG_CURRENT_DESKTOP` - `USER` - `XDG_VTNR` - `PYENV_VIRTUALENV_INIT` - `XAUTHORITY` - `LANGUAGE` - `SESSION_MANAGER` - `SHLVL` - `QT_QPA_PLATFORMTHEME` - `_ZCACHE_CACHE_LOADED` - `_ZCACHE_BUNDLES_PATH` - `QT_ACCESSIBILITY` - `EDITOR` - `XDG_SESSION_DESKTOP` - `TMUX` - `GDMSESSION` - `ANTIGEN_DEFAULT_REPO_URL` - `PIP_PYTHON_PATH` - `XDG_CONFIG_DIRS` - `UBUNTU_MENUPROXY` - `PYENV_HOOK_PATH` - `PYENV_ROOT` - `COLORTERM` - `_ZCACHE_PATH` - `OS_CLOUD` - `GNOME_TERMINAL_SCREEN` - `FZF_DEFAULT_COMMAND` - `HOME` - `DISPLAY` - `LANG` - `FZF_DEFAULT_OPTS` - `PYENV_VERSION` - `_ANTIGEN_LOG_PATH` - `USERNAME` - `VTE_VERSION` - `S_COLORS` - `VISUAL` - `SVN_EDITOR` - `DEFAULTS_PATH` - `GIT_EDITOR` - `J2REDIR` - `TMUX_PANE` - `DEFAULT_USER` - `_ANTIGEN_BUNDLE_RECORD` - `GLADE_PIXMAP_PATH` - `PYENV_DIR` - `ANTIGEN_COMPDUMPFILE` - `LOGNAME` - `XDG_SEAT` - `PATH` - `ZSH` - `SSH_AGENT_PID` - `TERM` - `WINDOWPATH` - `GLADE_CATALOG_PATH` - `_ZCACHE_EXTENSION_CLEAN_FUNCTIONS` - `GLADE_MODULE_PATH` - `SSH_AUTH_SOCK` - `LC_ALL` - `KEYTIMEOUT` - `DERBY_HOME` - `LSCOLORS` - `PAGER` - `OLDPWD` - `PWD` - `_ZCACHE_CACHE_VERSION` Pipenv–specific environment variables: Debug–specific environment variables: - `PATH`: `/home/matthew/.local/bin:/home/matthew/.pyenv/libexec:/home/matthew/.pyenv/plugins/python-build/bin:/home/matthew/.pyenv/plugins/pyenv-virtualenv/bin:/home/matthew/.pyenv/plugins/pyenv-update/bin:/home/matthew/.pyenv/plugins/pyenv-installer/bin:/home/matthew/.pyenv/plugins/pyenv-doctor/bin:/home/matthew/Programming/Kubernetes/google-cloud-sdk/bin:/home/matthew/.pyenv/plugins/pyenv-virtualenv/shims:/home/matthew/.pyenv/shims:/home/matthew/.pyenv/bin:/home/matthew/.local/bin:/home/matthew/Programming/Kubernetes/google-cloud-sdk/bin:/home/matthew/Programming/Kubernetes/google-cloud-sdk/bin:/home/matthew/.pyenv/shims:/home/matthew/.local/bin:/home/matthew/bin:/home/matthew/.local/bin:/usr/lib/jvm/java-8-oracle//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/opt/puppetlabs/bin:/home/matthew/.pyenv/bin:/home/matthew/.gem/ruby/2.3.0/bin:/home/matthew/.gem/ruby/2.5.0/bin:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-docker-go/bin:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-easy-ln:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-format-python:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-git-stashes:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-git-update:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-memcached-cli/bin:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-random:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-show-server-cert:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-spark:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-watch-me:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-window-to-gif:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-matthewfranglen-SLASH-gitflow-avh.git-PIPE-master:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-matthewfranglen-SLASH-speedread.git:/home/matthew/.fzf/bin:/home/matthew/.gem/ruby/2.3.0/bin:/home/matthew/.gem/ruby/2.5.0/bin:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-docker-go/bin:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-easy-ln:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-format-python:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-git-stashes:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-git-update:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-memcached-cli/bin:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-random:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-show-server-cert:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-spark:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-watch-me:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-gitlab.com-SLASH-matthewfranglen-SLASH-window-to-gif:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-matthewfranglen-SLASH-gitflow-avh.git-PIPE-master:/home/matthew/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-matthewfranglen-SLASH-speedread.git` - `SHELL`: `/bin/zsh` - `EDITOR`: `vim` - `LANG`: `en_GB.UTF-8` - `PWD`: `/home/matthew/Programming/Queries/reach` --------------------------- Contents of `Pipfile` ('/home/matthew/Programming/Queries/reach/Pipfile'): ```toml [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [dev-packages] yapf = "==0.22.0" pylint = "*" isort = "*" [packages] ipython = "==6.5.0" prompt-toolkit = "==1.0.15" jupyter-console = "<5.4.0" [requires] python_version = "3.7" ```