thoth-station / user-api

Web Service exposing Thoth functions to the RESTful worlds
https://thoth-station.github.io/
GNU General Public License v3.0
8 stars 18 forks source link

Failed to update dependencies to their latest version #547

Closed sesheta closed 5 years ago

sesheta commented 5 years ago

Automatic dependency update failed for the current master with SHA f064eda316a6ba5337d6bdf20b6ff505198f428e.

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/tmpo0x_rjsv/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/tmpo0x_rjsv/.venv/bin/python3 Also creating executable in /tmp/tmpo0x_rjsv/.venv/bin/python Installing setuptools, pip, wheel... done. Virtualenv location: /tmp/tmpo0x_rjsv/.venv Locking [dev-packages] dependencies… FAIL [pipenv.exceptions.ResolutionFailure]: File "/usr/local/lib/python3.6/site-packages/pipenv/resolver.py", line 69, in resolve [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 pytest [pipenv.exceptions.ResolutionFailure]: No versions found [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 pytest No versions found Was https://pypi.python.org/simple reachable? [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 pytest [pipenv.exceptions.ResolutionFailure]: No versions found [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 pytest No versions found Was https://pypi.python.org/simple reachable? ['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 ``` Unable to obtain dependency graph: An error occurred while installing pytest! Will try again. An error occurred while installing attrs! Will try again. An error occurred while installing connexion[swagger-ui]! Will try again. An error occurred while installing flask! Will try again. An error occurred while installing flask-script! Will try again. An error occurred while installing grpcio! Will try again. An error occurred while installing grpcio-opentracing! Will try again. An error occurred while installing grpcio-tools! Will try again. An error occurred while installing gunicorn! Will try again. An error occurred while installing jaeger-client! Will try again. An error occurred while installing opentracing-instrumentation! Will try again. An error occurred while installing prometheus-client! Will try again. An error occurred while installing prometheus-flask-exporter! Will try again. An error occurred while installing requests! Will try again. An error occurred while installing thoth-analyzer! Will try again. An error occurred while installing thoth-common! Will try again. An error occurred while installing thoth-python! Will try again. An error occurred while installing thoth-storages! Will try again. [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/cli/command.py", line 254, in install [pipenv.exceptions.InstallError]: editable_packages=state.installstate.editables, [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1874, in do_install [pipenv.exceptions.InstallError]: keep_outdated=keep_outdated [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1253, in do_init [pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror, [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 862, in do_install_dependencies [pipenv.exceptions.InstallError]: _cleanup_procs(procs, False, failed_deps_queue, retry=False) [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 681, in _cleanup_procs [pipenv.exceptions.InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines) [pipenv.exceptions.InstallError]: ['Looking in indexes: https://pypi.python.org/simple', 'Collecting pytest'] [pipenv.exceptions.InstallError]: ["WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pytest/", " WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pytest/", " WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pytest/", " WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pytest/", " WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pytest/", ' ERROR: Could not find a version that satisfies the requirement pytest (from versions: none)', 'ERROR: No matching distribution found for pytest'] ERROR: ERROR: Package installation failed... ```
Notes

For more information, see Pipfile and Pipfile.lock.

Once this issue is resolved, the issue will be automatically closed by bot.

sesheta commented 5 years ago

Closing this issue as it is no longer relevant for the current master with SHA f064eda316a6ba5337d6bdf20b6ff505198f428e.