Failed to update dependencies to their latest version
Closed this issue · 3 comments
sesheta commented
Automatic dependency update failed for the current master with SHA 9112524.
The automatic dependency management cannot continue. Please fix errors reported bellow.
Command
$ pipenv update --dev
Standard output
Running $ pipenv lock then $ pipenv sync.
Standard error
Creating a virtualenv for this project…
Pipfile: /tmp/tmp1ee1ouiw/Pipfile
Using /usr/bin/python3 (3.6.8) to create virtualenv…
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
No LICENSE.txt / LICENSE found in source
New python executable in /tmp/tmp1ee1ouiw/.venv/bin/python3
Also creating executable in /tmp/tmp1ee1ouiw/.venv/bin/python
Installing setuptools, pip, wheel...
done.
Virtualenv location: /tmp/tmp1ee1ouiw/.venv
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
FAIL
[pipenv.exceptions.ResolutionFailure]: req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]: req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]: resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]: raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches kubernetes==8.0.0,~=9.0.0
[pipenv.exceptions.ResolutionFailure]: Tried: 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.0.2, 1.0.2, 2.0.0, 2.0.0, 3.0.0, 3.0.0, 4.0.0, 4.0.0, 5.0.0, 5.0.0, 6.0.0, 6.0.0, 6.1.0, 6.1.0, 7.0.0, 7.0.0, 7.0.1, 7.0.1, 8.0.0, 8.0.0, 8.0.1, 8.0.1, 8.0.2, 8.0.2, 9.0.0, 9.0.0, 9.0.1, 9.0.1, 10.0.0, 10.0.0, 10.0.1, 10.0.1
[pipenv.exceptions.ResolutionFailure]: Skipped pre-versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a4, 1.0.0a5, 1.0.0a5, 1.0.0b1, 1.0.0b1, 1.0.0b2, 1.0.0b2, 1.0.0b3, 1.0.0b3, 2.0.0a1, 2.0.0a1, 2.0.0b1, 2.0.0b1, 3.0.0a1, 3.0.0a1, 3.0.0b1, 3.0.0b1, 4.0.0a1, 4.0.0a1, 4.0.0b1, 4.0.0b1, 5.0.0b1, 5.0.0b1, 6.0.0b1, 6.0.0b1, 7.0.0a1, 7.0.0a1, 7.0.0b1, 7.0.0b1, 8.0.0a1, 8.0.0a1, 8.0.0b1, 8.0.0b1, 9.0.0a1, 9.0.0a1, 9.0.0b1, 9.0.0b1, 10.0.0a1, 10.0.0a1
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
Alternatively, 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.
ERROR: ERROR: Could not find a version that matches kubernetes==8.0.0,~=9.0.0
Tried: 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.0.2, 1.0.2, 2.0.0, 2.0.0, 3.0.0, 3.0.0, 4.0.0, 4.0.0, 5.0.0, 5.0.0, 6.0.0, 6.0.0, 6.1.0, 6.1.0, 7.0.0, 7.0.0, 7.0.1, 7.0.1, 8.0.0, 8.0.0, 8.0.1, 8.0.1, 8.0.2, 8.0.2, 9.0.0, 9.0.0, 9.0.1, 9.0.1, 10.0.0, 10.0.0, 10.0.1, 10.0.1
Skipped pre-versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a4, 1.0.0a5, 1.0.0a5, 1.0.0b1, 1.0.0b1, 1.0.0b2, 1.0.0b2, 1.0.0b3, 1.0.0b3, 2.0.0a1, 2.0.0a1, 2.0.0b1, 2.0.0b1, 3.0.0a1, 3.0.0a1, 3.0.0b1, 3.0.0b1, 4.0.0a1, 4.0.0a1, 4.0.0b1, 4.0.0b1, 5.0.0b1, 5.0.0b1, 6.0.0b1, 6.0.0b1, 7.0.0a1, 7.0.0a1, 7.0.0b1, 7.0.0b1, 8.0.0a1, 8.0.0a1, 8.0.0b1, 8.0.0b1, 9.0.0a1, 9.0.0a1, 9.0.0b1, 9.0.0b1, 10.0.0a1, 10.0.0a1
There are incompatible versions in the resolved dependencies.
[pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]: req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]: resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]: raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches kubernetes==8.0.0,~=9.0.0
[pipenv.exceptions.ResolutionFailure]: Tried: 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.0.2, 1.0.2, 2.0.0, 2.0.0, 3.0.0, 3.0.0, 4.0.0, 4.0.0, 5.0.0, 5.0.0, 6.0.0, 6.0.0, 6.1.0, 6.1.0, 7.0.0, 7.0.0, 7.0.1, 7.0.1, 8.0.0, 8.0.0, 8.0.1, 8.0.1, 8.0.2, 8.0.2, 9.0.0, 9.0.0, 9.0.1, 9.0.1, 10.0.0, 10.0.0, 10.0.1, 10.0.1
[pipenv.exceptions.ResolutionFailure]: Skipped pre-versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a4, 1.0.0a5, 1.0.0a5, 1.0.0b1, 1.0.0b1, 1.0.0b2, 1.0.0b2, 1.0.0b3, 1.0.0b3, 2.0.0a1, 2.0.0a1, 2.0.0b1, 2.0.0b1, 3.0.0a1, 3.0.0a1, 3.0.0b1, 3.0.0b1, 4.0.0a1, 4.0.0a1, 4.0.0b1, 4.0.0b1, 5.0.0b1, 5.0.0b1, 6.0.0b1, 6.0.0b1, 7.0.0a1, 7.0.0a1, 7.0.0b1, 7.0.0b1, 8.0.0a1, 8.0.0a1, 8.0.0b1, 8.0.0b1, 9.0.0a1, 9.0.0a1, 9.0.0b1, 9.0.0b1, 10.0.0a1, 10.0.0a1
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
Alternatively, 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.
ERROR: ERROR: Could not find a version that matches kubernetes==8.0.0,~=9.0.0
Tried: 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.0.2, 1.0.2, 2.0.0, 2.0.0, 3.0.0, 3.0.0, 4.0.0, 4.0.0, 5.0.0, 5.0.0, 6.0.0, 6.0.0, 6.1.0, 6.1.0, 7.0.0, 7.0.0, 7.0.1, 7.0.1, 8.0.0, 8.0.0, 8.0.1, 8.0.1, 8.0.2, 8.0.2, 9.0.0, 9.0.0, 9.0.1, 9.0.1, 10.0.0, 10.0.0, 10.0.1, 10.0.1
Skipped pre-versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a4, 1.0.0a5, 1.0.0a5, 1.0.0b1, 1.0.0b1, 1.0.0b2, 1.0.0b2, 1.0.0b3, 1.0.0b3, 2.0.0a1, 2.0.0a1, 2.0.0b1, 2.0.0b1, 3.0.0a1, 3.0.0a1, 3.0.0b1, 3.0.0b1, 4.0.0a1, 4.0.0a1, 4.0.0b1, 4.0.0b1, 5.0.0b1, 5.0.0b1, 6.0.0b1, 6.0.0b1, 7.0.0a1, 7.0.0a1, 7.0.0b1, 7.0.0b1, 8.0.0a1, 8.0.0a1, 8.0.0b1, 8.0.0b1, 9.0.0a1, 9.0.0a1, 9.0.0b1, 9.0.0b1, 10.0.0a1, 10.0.0a1
There are incompatible versions in the resolved dependencies.
['Traceback (most recent call last):\n', ' File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 501, in create_spinner\n yield sp\n', ' File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 649, in venv_resolve_deps\n c = resolve(cmd, sp)\n', ' File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 539, in resolve\n sys.exit(c.return_code)\n', 'SystemExit: 1\n']
Environment details
Kebechet version: 1.0.0
Python version: 3.6.8
Platform: Linux-3.10.0-957.21.2.el7.x86_64-x86_64-with-fedora-28-Twenty_Eight
pipenv version: pipenv, version 2018.11.26
Dependency graph
adal==1.2.2
- cryptography [required: >=1.1.0, installed: 2.7]
- asn1crypto [required: >=0.21.0, installed: 0.24.0]
- cffi [required: >=1.8,!=1.11.3, installed: 1.12.3]
- pycparser [required: Any, installed: 2.19]
- six [required: >=1.4.1, installed: 1.12.0]
- PyJWT [required: >=1.0.0, installed: 1.7.1]
- python-dateutil [required: >=2.1.0, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- requests [required: >=2.0.0, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.6.16]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
Click==7.0
thoth-common==0.9.7
- attrs [required: Any, installed: 19.1.0]
- daiquiri [required: Any, installed: 1.6.0]
- kubernetes [required: ==8.0.0, installed: 10.0.1]
- certifi [required: >=14.05.14, installed: 2019.6.16]
- google-auth [required: >=1.0.1, installed: 1.6.3]
- cachetools [required: >=2.0.0, installed: 3.1.1]
- pyasn1-modules [required: >=0.2.1, installed: 0.2.6]
- pyasn1 [required: >=0.4.6,<0.5.0, installed: 0.4.6]
- rsa [required: >=3.1.4, installed: 4.0]
- pyasn1 [required: >=0.1.3, installed: 0.4.6]
- six [required: >=1.9.0, installed: 1.12.0]
- python-dateutil [required: >=2.5.3, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyyaml [required: >=3.12, installed: 5.1.2]
- requests [required: Any, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.6.16]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
- requests-oauthlib [required: Any, installed: 1.2.0]
- oauthlib [required: >=3.0.0, installed: 3.1.0]
- requests [required: >=2.0.0, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.6.16]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
- setuptools [required: >=21.0.0, installed: 41.0.1]
- six [required: >=1.9.0, installed: 1.12.0]
- urllib3 [required: >=1.24.2, installed: 1.25.3]
- websocket-client [required: >=0.32.0,!=0.42.*,!=0.41.*,!=0.40.0, installed: 0.56.0]
- six [required: Any, installed: 1.12.0]
- openshift [required: ==0.8.0, installed: 0.9.0]
- dictdiffer [required: Any, installed: 0.8.0]
- jinja2 [required: Any, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- kubernetes [required: ~=9.0.0, installed: 10.0.1]
- certifi [required: >=14.05.14, installed: 2019.6.16]
- google-auth [required: >=1.0.1, installed: 1.6.3]
- cachetools [required: >=2.0.0, installed: 3.1.1]
- pyasn1-modules [required: >=0.2.1, installed: 0.2.6]
- pyasn1 [required: >=0.4.6,<0.5.0, installed: 0.4.6]
- rsa [required: >=3.1.4, installed: 4.0]
- pyasn1 [required: >=0.1.3, installed: 0.4.6]
- six [required: >=1.9.0, installed: 1.12.0]
- python-dateutil [required: >=2.5.3, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyyaml [required: >=3.12, installed: 5.1.2]
- requests [required: Any, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.6.16]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
- requests-oauthlib [required: Any, installed: 1.2.0]
- oauthlib [required: >=3.0.0, installed: 3.1.0]
- requests [required: >=2.0.0, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.6.16]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
- setuptools [required: >=21.0.0, installed: 41.0.1]
- six [required: >=1.9.0, installed: 1.12.0]
- urllib3 [required: >=1.24.2, installed: 1.25.3]
- websocket-client [required: >=0.32.0,!=0.42.*,!=0.41.*,!=0.40.0, installed: 0.56.0]
- six [required: Any, installed: 1.12.0]
- python-string-utils [required: Any, installed: 0.6.0]
- ruamel.yaml [required: >=0.15, installed: 0.16.1]
- ruamel.yaml.clib [required: >=0.1.2, installed: 0.1.2]
- six [required: Any, installed: 1.12.0]
- pyyaml [required: Any, installed: 5.1.2]
- requests [required: Any, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.6.16]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.3]
- rfc5424-logging-handler [required: Any, installed: 1.4.3]
- pytz [required: Any, installed: 2019.2]
- tzlocal [required: Any, installed: 2.0.0]
- pytz [required: Any, installed: 2019.2]
- sentry-sdk [required: Any, installed: 0.10.2]
- certifi [required: Any, installed: 2019.6.16]
- urllib3 [required: Any, installed: 1.25.3]
Notes
For more information, see Pipfile and Pipfile.lock.
Once this issue is resolved, the issue will be automatically closed by bot.
fridex commented
At first shot, this looks like an issue with Pipenv's resolver. I don't see any reason why this is reported here and other components (such as user-api thoth-station/user-api#528) successfully resolve the dependency tree (the subgraph introduced by thoth-common is same).
fridex commented
thoth-common==0.9.7
- kubernetes [required: ==8.0.0, installed: 10.0.1]
- openshift [required: ==0.8.0, installed: 0.9.0]
- kubernetes [required: ~=9.0.0, installed: 10.0.1]