Pipfile able to build in version 2018.05.18 but not in latest. #2894
Description
Issue description
In my company we've been for quite some time freezing pipenv to version 2018.05.18 because after upgrading dependencies couldn't be resolved. After some research I found the minimal Pipfile that provokes the error, which can be found below:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = "3.5.2"
[packages]
django = ">=1.11, <2.0"
django-tastypie-oauth = {editable = true, ref = "master", git = "https://github.com/orcasgit/django-tastypie-oauth"}
django-tastypie = ">=0.14.0, <1.0.0"
django-oauth-toolkit = "<1.0.0"
When running with pipenv 2018.05.18 everything works fine, but with the latest version I have this error:
$ pipenv lock
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches django<2.0,==1.11.15,>=1.11,>=1.8,>=2.0 (from -r /var/folders/kp/kphh92w93890dzf4qp72xrvh0000gn/T/pipenv-_qlyg0sb-requirements/pipenv-jwhyow79-constraints.txt (line 5))
Tried: 1.1.3, 1.1.4, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 1.4.14, 1.4.15, 1.4.16, 1.4.17, 1.4.18, 1.4.19, 1.4.20, 1.4.21, 1.4.22, 1.5, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.12, 1.6, 1.6, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3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 1.11.11, 1.11.11, 1.11.12, 1.11.12, 1.11.13, 1.11.13, 1.11.14, 1.11.14, 1.11.15, 1.11.15, 2.0, 2.0, 2.0.1, 2.0.1, 2.0.2, 2.0.2, 2.0.3, 2.0.3, 2.0.4, 2.0.4, 2.0.5, 2.0.5, 2.0.6, 2.0.6, 2.0.7, 2.0.7, 2.0.8, 2.0.8, 2.1, 2.1, 2.1.1, 2.1.1
Skipped pre-versions: 1.8a1, 1.8b1, 1.8b2, 1.8rc1, 1.9a1, 1.9b1, 1.9rc1, 1.9rc2, 1.10a1, 1.10a1, 1.10b1, 1.10b1, 1.10rc1, 1.10rc1, 1.11a1, 1.11b1, 1.11rc1, 1.11rc1, 2.0a1, 2.0b1, 2.0rc1, 2.1a1, 2.1b1, 2.1rc1
There are incompatible versions in the resolved dependencies.
Expected result
To be able to lock dependencies as in version 2018.05.18.
Actual result
No dependencies locked.
Steps to replicate
Using the provided Pipfile switch from version 2018.05.18 to the latest and execute pipenv lock
.
$ pipenv --support
Pipenv version: '2018.7.1'
Pipenv location: '/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/lib/python3.5/site-packages/pipenv'
Python location: '/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/bin/python3.5'
Other Python installations in PATH
:
-
2.7
:/usr/local/bin/python2.7
-
2.7
:/usr/local/Cellar/pyenv/1.2.3/shims/python2.7
-
2.7
:/usr/local/bin/python2.7
-
2.7
:/usr/bin/python2.7
-
3.5
:/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/bin/python3.5m
-
3.5
:/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/bin/python3.5
-
3.5
:/usr/local/Cellar/pyenv/1.2.3/shims/python3.5
-
3.6
:/usr/local/Cellar/pyenv/1.2.3/shims/python3.6
-
3.5.2
:/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/bin/python
-
3.5.2
:/usr/local/Cellar/pyenv/1.2.3/shims/python
-
2.7.14
:/usr/local/bin/python
-
2.7.10
:/usr/bin/python
-
None
:/usr/local/Cellar/pyenv/1.2.3/shims/python2
-
2.7.14
:/usr/local/bin/python2
-
3.5.2
:/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/bin/python3
-
3.5.2
:/usr/local/Cellar/pyenv/1.2.3/shims/python3
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.5.2',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '17.7.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT '
'2018; root:xnu-4570.71.2~1/RELEASE_X86_64',
'python_full_version': '3.5.2',
'python_version': '3.5',
'sys_platform': 'darwin'}
System environment variables:
HOME
LC_CTYPE
PWD
PYTHONDONTWRITEBYTECODE
LOGNAME
LESS
PYENV_ROOT
PYENV_SHELL
PATH
XPC_SERVICE_NAME
NVM_BIN
NVM_DIR
COLORTERM
USER
SHELL
TERM
TERM_PROGRAM_VERSION
TERM_PROGRAM
ITERM_PROFILE
COLORFGBG
SHLVL
PYENV_HOOK_PATH
ZSH
XPC_FLAGS
Apple_PubSub_Socket_Render
LANG
ITERM_SESSION_ID
LSCOLORS
TERM_SESSION_ID
PYENV_DIR
PYENV_VERSION
TMPDIR
PIP_PYTHON_PATH
LC_ALL
GEM_HOME
SSH_AUTH_SOCK
PAGER
__CF_USER_TEXT_ENCODING
NVM_CD_FLAGS
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/Cellar/pyenv/1.2.3/versions/3.5.2/bin:/usr/local/Cellar/pyenv/1.2.4/libexec:/usr/local/Cellar/pyenv/1.2.3/plugins/python-build/bin:/Users/molina/.yarn/bin:/Users/molina/.config/yarn/global/node_modules/.bin:/Users/molina/.gem/bin:/usr/local/Cellar/pyenv/1.2.3/shims:/Users/molina/.nvm/versions/node/v9.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin
SHELL
:/bin/zsh
LANG
:en_US.UTF-8
PWD
:/Users/molina/workspace/bity-backend
Contents of Pipfile
('/Users/molina/workspace/bity-backend/Pipfile'):
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = "3.5.2"
[packages]
django = ">=1.11, <2.0"
django-tastypie-oauth = {editable = true, ref = "master", git = "https://github.com/orcasgit/django-tastypie-oauth"}
django-tastypie = ">=0.14.0, <1.0.0"
django-oauth-toolkit = "<1.0.0"
Contents of Pipfile.lock
('/Users/molina/workspace/bity-backend/Pipfile.lock'):
{
"_meta": {
"hash": {
"sha256": "9127b5d027adaced4b47274103a9d77c62c43bcdda6842c9c6195e986355363a"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.5.2"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.python.org/simple",
"verify_ssl": true
}
]
},
"default": {
"django": {
"hashes": [
"sha256:8176ac7985fe6737ce3d6b2531b4a2453cb7c3377c9db00bacb2b3320f4a1311",
"sha256:b18235d82426f09733d2de9910cee975cf52ff05e5f836681eb957d105a05a40"
],
"index": "pypi",
"version": "==1.11.15"
},
"django-braces": {
"hashes": [
"sha256:a457d74ea29478123c0c4652272681b3cea0bf1232187fd9f9b6f1d97d32a890",
"sha256:ba68e98b817c6f01d71d10849f359979617b3fe4cefb7f289adefddced092ddc"
],
"version": "==1.13.0"
},
"django-oauth-toolkit": {
"hashes": [
"sha256:4e50e6e4ba59bc09502ee39d7e7ad8f14e1fe1e15f93e7f4422791c9ecc3b1e0",
"sha256:7b368b6440c7c0bb5f9fe00e6a81e7bcee46d399e7f831f91e9cb15afcb77770"
],
"index": "pypi",
"version": "==0.12.0"
},
"django-tastypie": {
"hashes": [
"sha256:a3a2413510009649e0eac885ead96891c783ced788fd94231dc2f72b7a1b4c04"
],
"index": "pypi",
"version": "==0.14.2"
},
"django-tastypie-oauth": {
"editable": true,
"git": "https://github.com/orcasgit/django-tastypie-oauth",
"ref": "master"
},
"oauthlib": {
"hashes": [
"sha256:132ad46df25e53a84b33f1fd43f80e973cda2cb018cc0168d7d0c8c4d5cef9b5"
],
"version": "==2.0.1"
},
"python-dateutil": {
"hashes": [
"sha256:1adb80e7a782c12e52ef9a8182bebeb73f1d7e24e374397af06fb4956c8dc5c0",
"sha256:e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8"
],
"version": "==2.7.3"
},
"python-mimeparse": {
"hashes": [
"sha256:76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78",
"sha256:a295f03ff20341491bfe4717a39cd0a8cc9afad619ba44b77e86b0ab8a2b8282"
],
"version": "==1.6.0"
},
"pytz": {
"hashes": [
"sha256:a061aa0a9e06881eb8b3b2b43f05b9439d6583c206d0a6c340ff72a7b6669053",
"sha256:ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277"
],
"version": "==2018.5"
},
"six": {
"hashes": [
"sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
"sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
],
"version": "==1.11.0"
}
},
"develop": {}
}