Git Product home page Git Product logo

common's Introduction

Thoth Common

GitHub tag (latest by date) PyPI - Module Version PyPI - License PyPI - Downloads

A library used in project Thoth. It's aim is to provide core utilities for logger setup, manipulation with datetimes and similar handy helpers. Namely, you can find:

  • operations used for cluster object management (e.g. obtaining logs of pods)
  • operations used for scheduling workload using Argo Workflows
  • Thoth's configuration abstraction used for serialization/deserialization of Thoth's config file across all the components
  • application logging setup
  • manipulation with date and time

Installation

This project is released on PyPI, so the latest release can be installed via pip or Pipenv as shown below:

pipenv install thoth-common

This library will automatically discover installed packages and enable Sentry integrations if you use Flask, SQLAlchemy or AIOHTTP. An exception is for Flask applications, that need to explicitly install sentry-sdk[flask] due to integrations dependencies.

Logging setup

To setup a logger in any of Thoth's component (component that are namespaced with thoth), you can simply set an environment variable. The name of environment variable is constructed from module name. Let's say you want to debug thoth.adviser.pipeline module, in that case you can set environment variable THOTH_LOG_ADVISER_PIPELINE=DEBUG which will cause loggers thoth.adviser.pipeline to be set to DEBUG mode. See log-levels documentation for more info. If a module has underscore in its name, replace it with double underscore in the environment variable name.

To setup a logger that is not introduced by a Thoth's component, you can set THOTH_ADJUST_LOGGING environment variable. The format of this environment variable THOTH_ADJUST_LOGGING is a comma separated list where each entry is made out of a logger name and a corresponding log-level ("DEBUG", "INFO", "WARNING", "ERROR" as for standard Python's logging). These two are delimited by a colon, an example:

THOTH_ADJUST_LOGGING="flask:WARNING,alembic.migrations:ERROR"

Structured logging

The library will automatically detect when it is running inside an OpenShift cluster (based on STI_SCRIPTS_PATH environment variable that is inserted into the container if build the container was built in an OpenShift cluster), In such case, the library will setup structured logging suitable for automated logs aggregation (e.g. automated logs aggregation using the ELK stack). This behavior can be suppressed by setting environment variable THOTH_LOGGING_NO_JSON=1.

Ignoring reports from a logger

In some cases it's expected to turn off reporting of some logger to Sentry. You can provide THOTH_SENTRY_IGNORE_LOGGER environment variable which holds a comma separated list of loggers that should be ignored when reporting errors to Sentry:

THOTH_SENTRY_IGNORE_LOGGER="thoth.adviser.resolver,thoth.adviser.run"

This is helpful if you want to report errors to users but not to Thoth application itself.

If you want some certain classes of error not to be reported to Sentry, you can can provide THOTH_SENTRY_IGNORE_EXCEPTION environment variable which holds a comma-separated list of exception classes to be ignored when reporting to Sentry:

THOTH_SENTRY_IGNORE_EXCEPTION="connexion.decorators.validation,builtins.ValueError"

Remember all builtin exception classes need to be specified as in the same manner as ValueError is specified above.

common's People

Contributors

bissenbay avatar dependabot[bot] avatar dependencies-bot avatar durandom avatar fridex avatar goern avatar gregory-pereira avatar harshad16 avatar khebhut[bot] avatar kpostoffice avatar mayacostantini avatar saisankargochhayat avatar sesheta avatar sub-mod avatar sushmithaaredhatdev avatar theyashl avatar vannten avatar xtuchyna avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

common's Issues

Error if OpenShift and Kubernetes clients are not pinned down

This is an error found when starting user-api with openshift enabled:

[2018-08-29 09:32:50 +0000] [27] [ERROR] Exception in worker process
--
  | Traceback (most recent call last):
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
  | worker.init_process()
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/workers/base.py", line 129, in init_process
  | self.load_wsgi()
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
  | self.wsgi = self.app.wsgi()
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
  | self.callable = self.load()
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
  | return self.load_wsgiapp()
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
  | return util.import_app(self.app_uri)
  | File "/opt/app-root/lib/python3.6/site-packages/gunicorn/util.py", line 350, in import_app
  | __import__(module)
  | File "/opt/app-root/src/thoth_user_api/entrypoint.py", line 41, in <module>
  | app.add_api(Configuration.SWAGGER_YAML_PATH)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apps/flask_app.py", line 54, in add_api
  | api = super(FlaskApp, self).add_api(specification, **kwargs)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apps/abstract.py", line 162, in add_api
  | options=api_options.as_dict())
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apis/abstract.py", line 146, in __init__
  | self.add_paths()
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apis/abstract.py", line 272, in add_paths
  | self._handle_add_operation_error(path, method, sys.exc_info())
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apis/abstract.py", line 283, in _handle_add_operation_error
  | six.reraise(*exc_info)
  | File "/opt/app-root/lib/python3.6/site-packages/six.py", line 686, in reraise
  | raise value
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apis/abstract.py", line 262, in add_paths
  | self.add_operation(method, path, endpoint, path_parameters)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/apis/abstract.py", line 215, in add_operation
  | pass_context_arg_name=self.pass_context_arg_name)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/operation.py", line 228, in __init__
  | resolution = resolver.resolve(self)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/resolver.py", line 40, in resolve
  | return Resolution(self.resolve_function_from_operation_id(operation_id), operation_id)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/resolver.py", line 62, in resolve_function_from_operation_id
  | return self.function_resolver(operation_id)
  | File "/opt/app-root/lib/python3.6/site-packages/connexion/utils.py", line 36, in get_function_from_name
  | module = importlib.import_module(module_name)
  | File "/opt/app-root/lib64/python3.6/importlib/__init__.py", line 126, in import_module
  | return _bootstrap._gcd_import(name[level:], package, level)
  | File "/opt/app-root/src/thoth_user_api/api_v1.py", line 39, in <module>
  | _OPENSHIFT = OpenShift()
  | File "/opt/app-root/lib/python3.6/site-packages/thoth/common/openshift.py", line 51, in __init__
  | self.ocp_client = DynamicClient(client.ApiClient(configuration=client.Configuration()))
  | File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/client.py", line 58, in __init__
  | self._load_server_info()
  | File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/client.py", line 62, in _load_server_info
  | self.__version = {'kubernetes': load_json(self.request('get', '/version'))}
  | File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/client.py", line 255, in request
  | _return_http_data_only=params.get('_return_http_data_only', True)
  | TypeError: call_api() got an unexpected keyword argument 'async'

ConfigException: Service certification file does not exists.

Sentry Issue: THOTH-3Q

ConfigException: Service certification file does not exists.
(20 additional frame(s) were not displayed)
...
  File "__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "thoth_user_api/api_v1.py", line 41, in <module>
    _OPENSHIFT = OpenShift()
  File "/opt/app-root/lib/python3.6/site-packages/thoth/common/openshift.py", line 56, in __init__
    environ=environ).load_and_set()
  File "kubernetes/config/incluster_config.py", line 45, in load_and_set
    self._load_config()
  File "kubernetes/config/incluster_config.py", line 71, in _load_config
    "Service certification file does not exists.")

Exception in worker process

Do not hardcode root logger

The root logger in the logging configuration is harcoded. We could remove this hardcoded value (that is thoth) and provide a way on how to configure root logger for which configuration should be applied (useful for example for amun, which reuses the init_logging function).

Failed to update dependencies to their latest version

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

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/tmpljex2qyj/Pipfile
Using /usr/bin/python3 (3.6.5) to create virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/tmpljex2qyj/.venv/bin/python3
Also creating executable in /tmp/tmpljex2qyj/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /tmp/tmpljex2qyj/.venv
Locking [dev-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 pydocstyle==1.1,==2.1.1 (from -r /tmp/pipenv-tgix6jv2-requirements/pipenv-bivx49c6-constraints.txt (line 5))
Tried: 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 2.0.0, 2.0.0, 2.1.0, 2.1.0, 2.1.1, 2.1.1, 2.1.1
There are incompatible versions in the resolved dependencies.


Environment details

Kebechet version: 1.0.0
Python version: 3.6.5
Platform: Linux-4.17.3-200.fc28.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.4.16]
    - 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: 39.2.0]
  - unidiff [required: ~=0.5.2, installed: 0.5.5]
daiquiri==1.3.0
PycodestyleBear==0.10.0
  - pycodestyle [required: ==2.2, installed: 2.2.0]
PyDocStyleBear==0.10.0
  - pydocstyle [required: ==1.1, installed: 2.1.1]
    - six [required: Any, installed: 1.11.0]
    - snowballstemmer [required: Any, installed: 1.2.1]
pylint==1.9.2
  - astroid [required: >=1.6,<2.0, installed: 1.6.5]
    - lazy-object-proxy [required: Any, installed: 1.3.1]
    - six [required: Any, installed: 1.11.0]
    - wrapt [required: Any, installed: 1.10.11]
  - isort [required: >=4.2.5, installed: 4.3.4]
  - mccabe [required: Any, installed: 0.6.1]
  - six [required: Any, installed: 1.11.0]
pytest-cov==2.5.1
  - coverage [required: >=3.7.1, installed: 4.5.1]
  - pytest [required: >=2.6.0, installed: 3.6.3]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.0]
    - more-itertools [required: >=4.0.0, installed: 4.2.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.5,<0.7, installed: 0.6.0]
    - py [required: >=1.5.0, installed: 1.5.4]
    - setuptools [required: Any, installed: 39.2.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-timeout==1.3.0
  - pytest [required: >=3.6.0, installed: 3.6.3]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.0]
    - more-itertools [required: >=4.0.0, installed: 4.2.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.5,<0.7, installed: 0.6.0]
    - py [required: >=1.5.0, installed: 1.5.4]
    - setuptools [required: Any, installed: 39.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.

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 5d246ab.

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/tmpyak8i_2r/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/tmpyak8i_2r/.venv/bin/python3
Also creating executable in /tmp/tmpyak8i_2r/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /tmp/tmpyak8i_2r/.venv
Locking [dev-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 pydocstylebear (from -r /tmp/pipenv-22rxztmr-requirements/pipenv-w9f33kqa-constraints.txt (line 9))
No versions found
Was https://pypi.python.org/simple reachable?


Environment details

Kebechet version: 1.0.0
Python version: 3.6.6
Platform: Linux-3.10.0-862.3.3.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.4.16]
    - 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.0.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.0
  - astroid [required: >=2.0.0, installed: 2.0.2]
    - lazy-object-proxy [required: Any, installed: 1.3.1]
    - six [required: Any, installed: 1.11.0]
    - typed-ast [required: Any, installed: 1.1.0]
    - typing [required: Any, installed: 3.6.4]
    - 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.5.1
  - coverage [required: >=3.7.1, installed: 4.5.1]
  - pytest [required: >=2.6.0, installed: 3.7.1]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.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.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-timeout==1.3.1
  - pytest [required: >=3.6.0, installed: 3.7.1]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.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.5.4]
    - setuptools [required: Any, installed: 40.0.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.

Failed to update dependencies to their latest version

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

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/tmp8s81_blt/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/tmp8s81_blt/.venv/bin/python3
Also creating executable in /tmp/tmp8s81_blt/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp8s81_blt/.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 0x7fb1d0e6eef0>: 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 0x7fb1d0e6ef60>: 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 0x7fb1d0e46160>: 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 0x7fb1d0e46390>: 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 0x7fb1d0e461d0>: 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 0x7fb1d0e465f8>: 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/tmp8s81_blt/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp8s81_blt/.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.3.3.el7.x86_64-x86_64-with-fedora-28-Twenty_Eight
pipenv version: pipenv, version 2018.7.1


Dependency graph
Unable to obtain dependency graph:

Creating a virtualenv for this project...
Pipfile: /tmp/tmp8s81_blt/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/tmp8s81_blt/.venv/bin/python3
Not overwriting existing python script /tmp/tmp8s81_blt/.venv/bin/python (you must use /tmp/tmp8s81_blt/.venv/bin/python3)
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp8s81_blt/.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 0x7ffa07611ef0>: 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 0x7ffa07611f60>: 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 0x7ffa075e9160>: 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 0x7ffa075e9390>: 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 0x7ffa075e91d0>: 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 0x7ffa075e95f8>: 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/tmp8s81_blt/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp8s81_blt/.venv
Creating a virtualenv for this project...
Pipfile: /tmp/tmp8s81_blt/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/tmp8s81_blt/.venv/bin/python3
Not overwriting existing python script /tmp/tmp8s81_blt/.venv/bin/python (you must use /tmp/tmp8s81_blt/.venv/bin/python3)
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp8s81_blt/.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 0x7fa22cb0ff28>: 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 0x7fa22cb0fe48>: 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 0x7fa22cb162e8>: 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 0x7fa22cb16400>: 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 0x7fa22cb167f0>: 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 0x7fa22cb16c18>: 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/tmp8s81_blt/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp8s81_blt/.venv
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 435, in install
    selective_upgrade=selective_upgrade,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1943, in do_install
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1322, in do_init
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 807, in do_install_dependencies
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1466, in pip_install
    c = delegator.run(pip_command, block=block, env=pip_config)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 280, in run
    c.run(block=block, binary=binary, cwd=cwd, env=env)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 164, in run
    s = PopenSpawn(self._popen_args, **pexpect_kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/pexpect/popen_spawn.py", line 53, in __init__
    self.proc = subprocess.Popen(cmd, **kwargs)
  File "/usr/lib64/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'None': 'None'

Notes

For more information, see Pipfile and Pipfile.lock.

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

typo with DSN

Describe the bug
There is a typo in setting up sentry: AttributeError: module 'os' has no attribute 'getnev'

To Reproduce
n/a

Expected behavior
n/a

Additional context
n/a

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with sha 76cb05e.

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/tmpdb3a0sbd/Pipfile
Using /usr/bin/python3 (3.6.5) to create virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/tmpdb3a0sbd/.venv/bin/python3
Also creating executable in /tmp/tmpdb3a0sbd/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /tmp/tmpdb3a0sbd/.venv
Locking [dev-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 pydocstyle==1.1,==2.1.1 (from -r /tmp/pipenv-seh5yiy6-requirements/pipenv-hpxglfyw-constraints.txt (line 5))
Tried: 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 2.0.0, 2.0.0, 2.1.0, 2.1.0, 2.1.1, 2.1.1, 2.1.1
There are incompatible versions in the resolved dependencies.


Environment details

Kebechet version: 1.0.0
Python version: 3.6.5
Platform: Linux-4.17.3-200.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight
pipenv version: pipenv, version 2018.7.1


Dependency graph
daiquiri==1.3.0
rfc5424-logging-handler==1.1.2
  - tzlocal [required: Any, installed: 1.5.1]
    - pytz [required: Any, installed: 2018.5]


Notes

For more information, see Pipfile and Pipfile.lock.

Once you resolve this issue, close this report to keep the bot updating your dependencies properly.

comment based on review

common/CHANGELOG.md

Lines 111 to 116 in 7548de3

* Add TODO comment based on review
* Allow passing configuration via env vars
* Place all the OpenShift related logic at one place
* Automatic update of dependency pytest-timeout from 1.3.1 to 1.3.2
* Automatic update of dependency pytest from 3.7.1 to 3.7.3
* Automatic update of dependency pylint from 2.1.0 to 2.1.1


This issue was generated by todo based on a TODO comment in 7548de3 when #120 was merged. cc @thoth-station.

Failed to update dependencies to their latest version

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

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/tmpdctcfa82/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/tmpdctcfa82/.venv/bin/python3
Also creating executable in /tmp/tmpdctcfa82/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /tmp/tmpdctcfa82/.venv
Locking [dev-packages] dependencies...
lts = self.get_legacy_dependencies(ireq)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 335, in get_legacy_dependencies
    self.resolver.resolve(reqset)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 107, in resolve
    self._resolve_one(requirement_set, req)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 264, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 214, in _get_abstract_dist_for
    self.require_hashes
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/operations/prepare.py", line 314, in prepare_linked_requirement
    progress_bar=self.progress_bar
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 838, in unpack_url
    progress_bar=progress_bar
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 675, in unpack_http_url
    progress_bar)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 899, in _download_http_url
    _download_url(resp, link, content_file, hashes, progress_bar)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 619, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/utils/hashes.py", line 48, in check_against_chunks
    for chunk in chunks:
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 587, in written_chunks
    for chunk in chunks:
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 576, in resp_read
    decode_content=False):
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 436, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 401, in read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
  File "/usr/lib64/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 307, in _error_catcher
    raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pipenv.patched.notpip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.


Environment details

Kebechet version: 1.0.0
Python version: 3.6.6
Platform: Linux-3.10.0-862.3.3.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.

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 81fcacb.

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/tmp5c6lebsb/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/tmp5c6lebsb/.venv/bin/python3
Also creating executable in /tmp/tmp5c6lebsb/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp5c6lebsb/.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 0x7fe5480146d8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7fe548014860>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7fe548014d30>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7fe5480149b0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7fe5480148d0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe54801b400>: 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/tmp5c6lebsb/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp5c6lebsb/.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.3.3.el7.x86_64-x86_64-with-fedora-28-Twenty_Eight
pipenv version: pipenv, version 2018.7.1


Dependency graph
Unable to obtain dependency graph:

Creating a virtualenv for this project...
Pipfile: /tmp/tmp5c6lebsb/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/tmp5c6lebsb/.venv/bin/python3
Not overwriting existing python script /tmp/tmp5c6lebsb/.venv/bin/python (you must use /tmp/tmp5c6lebsb/.venv/bin/python3)
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp5c6lebsb/.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 0x7f0bb5f080f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f0bb5f08978>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f0bb5f08a20>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f0bb5f082b0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f0bb5f08f28>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0bb5f08be0>: 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/tmp5c6lebsb/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp5c6lebsb/.venv
Creating a virtualenv for this project...
Pipfile: /tmp/tmp5c6lebsb/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/tmp5c6lebsb/.venv/bin/python3
Not overwriting existing python script /tmp/tmp5c6lebsb/.venv/bin/python (you must use /tmp/tmp5c6lebsb/.venv/bin/python3)
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp5c6lebsb/.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 0x7f4136b0b710>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f4136b0b898>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f4136b0bd68>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f4136b0b9e8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f4136b0b908>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4136b12438>: 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/tmp5c6lebsb/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp5c6lebsb/.venv
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 435, in install
    selective_upgrade=selective_upgrade,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1943, in do_install
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1322, in do_init
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 807, in do_install_dependencies
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1466, in pip_install
    c = delegator.run(pip_command, block=block, env=pip_config)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 280, in run
    c.run(block=block, binary=binary, cwd=cwd, env=env)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 164, in run
    s = PopenSpawn(self._popen_args, **pexpect_kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/pexpect/popen_spawn.py", line 53, in __init__
    self.proc = subprocess.Popen(cmd, **kwargs)
  File "/usr/lib64/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'None': 'None'

Notes

For more information, see Pipfile and Pipfile.lock.

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

OpenShift mock for local testing

Is your feature request related to a problem? Please describe.
no

Describe the solution you'd like
I would like to run user-api locally on a host, so that I can test stuff. Right now OpenShift requires an 'in cluster scenario' to work.

Describe alternatives you've considered
n/a

Additional context
n/a

Failed to update dependencies to their latest version

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

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/tmpu89lmfax/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/tmpu89lmfax/.venv/bin/python3
Also creating executable in /tmp/tmpu89lmfax/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmpu89lmfax/.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 0x7f10348bdf28>: 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 0x7f10348bde48>: 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 0x7f10348c42e8>: 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 0x7f10348c4400>: 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 0x7f10348c47f0>: 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 0x7f10348c4c18>: 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/tmpu89lmfax/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmpu89lmfax/.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.3.3.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.

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 8acf4b2.

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/tmppts1bzti/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/tmppts1bzti/.venv/bin/python3
Also creating executable in /tmp/tmppts1bzti/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmppts1bzti/.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 0x7f5feca967f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f5feca96048>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f5feca96e48>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f5feca96f60>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f5feca969e8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5feca9d518>: 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/tmppts1bzti/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmppts1bzti/.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.3.3.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.4.16]
    - 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.0.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.0
  - astroid [required: >=2.0.0, installed: 2.0.2]
    - lazy-object-proxy [required: Any, installed: 1.3.1]
    - six [required: Any, installed: 1.11.0]
    - typed-ast [required: Any, installed: 1.1.0]
    - typing [required: Any, installed: 3.6.4]
    - 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.5.1
  - coverage [required: >=3.7.1, installed: 4.5.1]
  - pytest [required: >=2.6.0, installed: 3.7.0]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.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.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-timeout==1.3.1
  - pytest [required: >=3.6.0, installed: 3.7.0]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.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.5.4]
    - setuptools [required: Any, installed: 40.0.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.

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 52bee5b.

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/tmp3qs8dljk/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/tmp3qs8dljk/.venv/bin/python3
Also creating executable in /tmp/tmp3qs8dljk/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /tmp/tmp3qs8dljk/.venv
Locking [dev-packages] dependencies...
env/utils.py", line 402, in resolve_deps
    req_dir=req_dir
  File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 250, in actually_resolve_deps
    req = Requirement.from_line(dep)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line
    line, extras = _strip_extras(line)
TypeError: 'module' object is not callable


Environment details

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


Dependency graph
Unable to obtain dependency graph:

ERROR:  Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/pipdeptree.py", line 17, in <module>
    from pip._internal import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/pipdeptree.py", line 20, in <module>
    from pip import get_installed_distributions, FrozenRequirement
ImportError: cannot import name 'get_installed_distributions'


Notes

For more information, see Pipfile and Pipfile.lock.

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

Failed to perform initial lock of software stack

Failed to perform initial lock of your dependencies based on your requirements.in.

See attached report below to inspect this issue.

Command
  $ pipenv lock
Standard output

Standard error
Creating a virtualenv for this project...
Pipfile: /tmp/tmpo0mwq4yt/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/tmpo0mwq4yt/.venv/bin/python3
Also creating executable in /tmp/tmpo0mwq4yt/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmpo0mwq4yt/.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 0x7f90c8bb0f28>: 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 0x7f90c8bb0e48>: 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 0x7f90c8bb72e8>: 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 0x7f90c8bb7400>: 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 0x7f90c8bb77f0>: 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 0x7f90c8bb7c18>: 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/tmpo0mwq4yt/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmpo0mwq4yt/.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


transform pod to job

Is your feature request related to a problem? Please describe.
We want to use Job rather than Pods, if we schedule Jobs...

Describe the solution you'd like
Replace all Pods in template by Jobs...

Describe alternatives you've considered
none.

Additional context
n/a

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 81fcacb.

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/tmpkkq9pzb5/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/tmpkkq9pzb5/.venv/bin/python3
Also creating executable in /tmp/tmpkkq9pzb5/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmpkkq9pzb5/.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 0x7f163d2776a0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f163d2775f8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f163d277a58>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f163d277ba8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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 0x7f163d2775c0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.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/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f163d277278>: 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/tmpkkq9pzb5/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmpkkq9pzb5/.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.3.3.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.4.16]
    - 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.0.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.5.1
  - coverage [required: >=3.7.1, installed: 4.5.1]
  - pytest [required: >=2.6.0, installed: 3.7.1]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.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.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-timeout==1.3.1
  - pytest [required: >=3.6.0, installed: 3.7.1]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.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.5.4]
    - setuptools [required: Any, installed: 40.0.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.

provide get_all_jobs(label) OpenShift function

Is your feature request related to a problem? Please describe.
I would like to get all jobs selected by a provided label. all information should be returned as a dict

Describe the solution you'd like
...

Describe alternatives you've considered
none.

Additional context
This is used for metrics.

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 092e4a9.

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/tmp0066hh4f/Pipfile
Using /usr/bin/python3 (3.6.5) to create virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/tmp0066hh4f/.venv/bin/python3
Also creating executable in /tmp/tmp0066hh4f/.venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp0066hh4f/.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
  Downloading https://files.pythonhosted.org/packages/7f/e1/820d941153923aac1d49d7fc37e17b6e73bfbd2904959fffbad77900cf92/setuptools-39.2.0-py2.py3-none-any.whl (567kB)
Collecting pip
Collecting wheel
Installing collected packages: setuptools, pip, wheel
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

----------------------------------------
...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/tmp0066hh4f/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp0066hh4f/.venv
Locking [dev-packages] dependencies...
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/resolver.py", line 76, in main
    system=system,
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/resolver.py", line 63, in resolve
    allow_global=system,
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/utils.py", line 402, in resolve_deps
    req_dir=req_dir
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/utils.py", line 232, in actually_resolve_deps
    from .vendor.requirementslib import Requirement
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/__init__.py", line 6, in <module>
    from .models import Requirement, Lockfile, Pipfile
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/models/__init__.py", line 8, in <module>
    from .requirements import Requirement
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/models/requirements.py", line 14, in <module>
    from .markers import PipenvMarkers
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/models/markers.py", line 6, in <module>
    from .utils import validate_markers, filter_none
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/models/utils.py", line 7, in <module>
    from .._compat import Link
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/_compat.py", line 41, in <module>
    InstallRequirement = do_import("req.req_install", "InstallRequirement")
  File "/usr/local/lib/python3.6/site-packages/pipenv-2018.7.1-py3.6.egg/pipenv/vendor/requirementslib/_compat.py", line 35, in do_import
    _tmp = importlib.import_module(pip9)
  File "/tmp/tmp0066hh4f/.venv/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'pip.req'


Environment details

Kebechet version: 1.0.0
Python version: 3.6.5
Platform: Linux-4.17.3-200.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight
pipenv version: pipenv, version 2018.7.1


Dependency graph
Unable to obtain dependency graph:

Creating a virtualenv for this project...
Pipfile: /tmp/tmp0066hh4f/Pipfile
Using /usr/bin/python3 (3.6.5) to create virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/tmp0066hh4f/.venv/bin/python3
Not overwriting existing python script /tmp/tmp0066hh4f/.venv/bin/python (you must use /tmp/tmp0066hh4f/.venv/bin/python3)
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp0066hh4f/.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
  Downloading https://files.pythonhosted.org/packages/7f/e1/820d941153923aac1d49d7fc37e17b6e73bfbd2904959fffbad77900cf92/setuptools-39.2.0-py2.py3-none-any.whl (567kB)
Collecting pip
Collecting wheel
Installing collected packages: setuptools, pip, wheel
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

----------------------------------------
...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/tmp0066hh4f/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp0066hh4f/.venv
Creating a virtualenv for this project...
Pipfile: /tmp/tmp0066hh4f/Pipfile
Using /usr/bin/python3 (3.6.5) to create virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/tmp0066hh4f/.venv/bin/python3
Not overwriting existing python script /tmp/tmp0066hh4f/.venv/bin/python (you must use /tmp/tmp0066hh4f/.venv/bin/python3)
Installing setuptools, pip, wheel...
  Complete output from command /tmp/tmp0066hh4f/.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
  Downloading https://files.pythonhosted.org/packages/7f/e1/820d941153923aac1d49d7fc37e17b6e73bfbd2904959fffbad77900cf92/setuptools-39.2.0-py2.py3-none-any.whl (567kB)
Collecting pip
Collecting wheel
Installing collected packages: setuptools, pip, wheel
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

----------------------------------------
...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/tmp0066hh4f/.venv/bin/python3 - setuptools pip wheel failed with error code 1

Virtualenv location: /tmp/tmp0066hh4f/.venv
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
    strip_file_prefix=options.strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 854, in install
    strip_file_prefix=strip_file_prefix
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 1069, in move_wheel_files
    strip_file_prefix=strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/usr/lib/python3.6/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/usr/lib64/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/site-packages/pytz'
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Notes

For more information, see Pipfile and Pipfile.lock.

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

Failed to update dependencies to their latest version

Automatic dependency update failed for the current master with SHA 9c9f277.

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/tmpmryhcg3j/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/tmpmryhcg3j/.venv/bin/python3
Also creating executable in /tmp/tmpmryhcg3j/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /tmp/tmpmryhcg3j/.venv
Locking [dev-packages] dependencies…
python3.6/site-packages/pipenv/utils.py", line 421, in resolve_deps
    req_dir=req_dir,
  File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 302, in actually_resolve_deps
    results = resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round
    for dep in self._iter_dependencies(best_match):
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 235, in get_dependencies
    legacy_results = self.get_legacy_dependencies(ireq)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 416, in get_legacy_dependencies
    results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 296, in resolve_reqs
    results = resolver._resolve_one(reqset, ireq)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 263, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 213, in _get_abstract_dist_for
    self.require_hashes
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/operations/prepare.py", line 279, in prepare_linked_requirement
    progress_bar=self.progress_bar
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 837, in unpack_url
    progress_bar=progress_bar
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 674, in unpack_http_url
    progress_bar)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 869, in _download_http_url
    stream=True,
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/requests/sessions.py", line 525, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 397, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/requests/sessions.py", line 512, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/requests/sessions.py", line 622, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/cachecontrol/adapter.py", line 53, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/local/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/requests/adapters.py", line 513, in send
    raise ConnectionError(e, request=request)
pipenv.patched.notpip._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/6e/c2/1e97c238877b6a86562d32297eb33a6670b6220e8ec0ca85f67b66dc893f/pylint-2.1.1-py3-none-any.whl (Caused by NewConnectionError('<pipenv.patched.notpip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f902e62abe0>: Failed to establish a new connection: [Errno -2] Name or service not known',))


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.10.9


Dependency graph
Unable to obtain dependency graph:

ERROR:  Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/pipdeptree.py", line 16, in <module>
    from pipenv.vendor.pip_shims import get_installed_distributions, FrozenRequirement
ModuleNotFoundError: No module named 'pipenv'


Notes

For more information, see Pipfile and Pipfile.lock.

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

Pass extra context with Sentry events

As we get reports to Sentry, we should be able to easily go through the whole analysis request and events that happened in the aggregated logging. For this purpose we can utilize Sentry's extra context and pass in the id of analysis as well as some additional info so that we can trace and debug what was happening.

Failed to update dependencies to their latest version

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.