Skip to content
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

Failed to update dependencies to their latest version #98

Closed
sesheta opened this issue Sep 14, 2018 · 1 comment
Closed

Failed to update dependencies to their latest version #98

sesheta opened this issue Sep 14, 2018 · 1 comment
Labels
bot This Issue or PR is being worked on by a bot

Comments

@sesheta
Copy link
Member

sesheta commented Sep 14, 2018

Automatic dependency update failed for the current master with SHA 06d0048.

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/tmpfs272z_n/Pipfile
Using /usr/bin/python3 (3.6.6) to create virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/tmpfs272z_n/.venv/bin/python3
Also creating executable in /tmp/tmpfs272z_n/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmpfs272z_n/.venv/bin/python3 - setuptools pip wheel:
  The directory '/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Looking in links: /usr/local/lib/python3.6/site-packages, /usr/local/lib/python3.6/site-packages/virtualenv_support, /usr/local/lib/python3.6/site-packages/virtualenv_support
Collecting setuptools
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f79ee8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/66/e8/570bb5ca88a8bcd2a1db9c6246bb66615750663ffaaeada95b04ffe74e12/setuptools-40.2.0-py2.py3-none-any.whl
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f79ee8f60>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/66/e8/570bb5ca88a8bcd2a1db9c6246bb66615750663ffaaeada95b04ffe74e12/setuptools-40.2.0-py2.py3-none-any.whl
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f79ec0160>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/66/e8/570bb5ca88a8bcd2a1db9c6246bb66615750663ffaaeada95b04ffe74e12/setuptools-40.2.0-py2.py3-none-any.whl
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f79ec0390>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/66/e8/570bb5ca88a8bcd2a1db9c6246bb66615750663ffaaeada95b04ffe74e12/setuptools-40.2.0-py2.py3-none-any.whl
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f79ec01d0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/66/e8/570bb5ca88a8bcd2a1db9c6246bb66615750663ffaaeada95b04ffe74e12/setuptools-40.2.0-py2.py3-none-any.whl
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/66/e8/570bb5ca88a8bcd2a1db9c6246bb66615750663ffaaeada95b04ffe74e12/setuptools-40.2.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f79ec05f8>: Failed to establish a new connection: [Errno -2] Name or service not known',))

----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.6/site-packages/virtualenv.py", line 2343, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/virtualenv.py", line 712, in main
    symlink=options.symlink)
  File "/usr/local/lib/python3.6/site-packages/virtualenv.py", line 947, in create_environment
    download=download,
  File "/usr/local/lib/python3.6/site-packages/virtualenv.py", line 904, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/local/lib/python3.6/site-packages/virtualenv.py", line 796, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /tmp/tmpfs272z_n/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmpfs272z_n/.venv
Locking [dev-packages] dependencies...
cal/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/__init__.py", line 8, in <module>
    from .requirements import Requirement
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 8, in <module>
    import requirements
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/requirements/__init__.py", line 1, in <module>
    from .parser import parse   # noqa
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/requirements/parser.py", line 4, in <module>
    from .requirement import Requirement
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/requirements/requirement.py", line 3, in <module>
    from pkg_resources import Requirement as Req
ModuleNotFoundError: No module named 'pkg_resources'


Environment details

Kebechet version: 1.0.0
Python version: 3.6.6
Platform: Linux-3.10.0-862.9.1.el7.x86_64-x86_64-with-fedora-28-Twenty_Eight
pipenv version: pipenv, version 2018.7.1


Dependency graph
coala==0.11.0
  - appdirs [required: ~=1.4, installed: 1.4.3]
  - coala-utils [required: ~=0.6.2, installed: 0.6.7]
    - appdirs [required: ==1.4.*, installed: 1.4.3]
    - pyprint [required: ==0.2.*, installed: 0.2.6]
      - colorama [required: ~=0.3.7, installed: 0.3.9]
      - termcolor [required: ~=1.1.0, installed: 1.1.0]
  - colorlog [required: ~=2.7, installed: 2.10.0]
  - dependency-management [required: ~=0.4.0, installed: 0.4.0]
    - coala-utils [required: ~=0.6, installed: 0.6.7]
      - appdirs [required: ==1.4.*, installed: 1.4.3]
      - pyprint [required: ==0.2.*, installed: 0.2.6]
        - colorama [required: ~=0.3.7, installed: 0.3.9]
        - termcolor [required: ~=1.1.0, installed: 1.1.0]
    - sarge [required: ~=0.1.4, installed: 0.1.5.post0]
  - libclang-py3 [required: ~=3.4.0, installed: 3.4.0]
  - Pygments [required: ~=2.1, installed: 2.2.0]
  - PyPrint [required: ~=0.2.6, installed: 0.2.6]
    - colorama [required: ~=0.3.7, installed: 0.3.9]
    - termcolor [required: ~=1.1.0, installed: 1.1.0]
  - requests [required: ~=2.12, installed: 2.19.1]
    - certifi [required: >=2017.4.17, installed: 2018.8.24]
    - chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
    - idna [required: >=2.5,<2.8, installed: 2.7]
    - urllib3 [required: >=1.21.1,<1.24, installed: 1.23]
  - setuptools [required: >=17.0, installed: 40.2.0]
  - unidiff [required: ~=0.5.2, installed: 0.5.5]
daiquiri==1.5.0
PycodestyleBear==0.10.0
  - pycodestyle [required: ==2.2, installed: 2.2.0]
PyDocStyleBear==0.10.0
  - pydocstyle [required: ==1.1, installed: 1.1.0]
pylint==2.1.1
  - astroid [required: >=2.0.0, installed: 2.0.4]
    - lazy-object-proxy [required: Any, installed: 1.3.1]
    - six [required: Any, installed: 1.11.0]
    - typed-ast [required: Any, installed: 1.1.0]
    - wrapt [required: Any, installed: 1.10.11]
  - isort [required: >=4.2.5, installed: 4.3.4]
  - mccabe [required: Any, installed: 0.6.1]
pytest-cov==2.6.0
  - coverage [required: >=4.4, installed: 4.5.1]
  - pytest [required: >=2.9, installed: 3.8.0]
    - atomicwrites [required: >=1.0, installed: 1.2.1]
    - attrs [required: >=17.4.0, installed: 18.2.0]
    - more-itertools [required: >=4.0.0, installed: 4.3.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.7, installed: 0.7.1]
    - py [required: >=1.5.0, installed: 1.6.0]
    - setuptools [required: Any, installed: 40.2.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-timeout==1.3.2
  - pytest [required: >=3.6.0, installed: 3.8.0]
    - atomicwrites [required: >=1.0, installed: 1.2.1]
    - attrs [required: >=17.4.0, installed: 18.2.0]
    - more-itertools [required: >=4.0.0, installed: 4.3.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.7, installed: 0.7.1]
    - py [required: >=1.5.0, installed: 1.6.0]
    - setuptools [required: Any, installed: 40.2.0]
    - six [required: >=1.10.0, installed: 1.11.0]
rfc5424-logging-handler==1.1.2
  - tzlocal [required: Any, installed: 1.5.1]
    - pytz [required: Any, installed: 2018.5]
YAMLLintBear==0.10.0
  - yamllint [required: ==1.6.1, installed: 1.6.1]
    - pyyaml [required: Any, installed: 3.13]


Notes

For more information, see Pipfile and Pipfile.lock.

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

@sesheta sesheta added the bot This Issue or PR is being worked on by a bot label Sep 14, 2018
@sesheta
Copy link
Member Author

sesheta commented Sep 14, 2018

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

@sesheta sesheta closed this as completed Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot This Issue or PR is being worked on by a bot
Projects
None yet
Development

No branches or pull requests

1 participant