Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps dependency-injector from 3.23.2 to 3.42.0.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [dependency-injector](https://github.com/ets-labs/python-dependency-injector) from 3.23.2 to 3.42.0.
- [Release notes](https://github.com/ets-labs/python-dependency-injector/releases)
- [Commits](ets-labs/python-dependency-injector@3.23.2...3.42.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 9, 2020
@dependabot-preview dependabot-preview bot requested a review from ezh September 9, 2020 22:12
@TravisBuddy
Copy link

Travis tests have failed

Hey @dependabot-preview[bot],
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

4th Build

View build log

tox
Collecting codecov
  Using cached https://files.pythonhosted.org/packages/37/c4/4f3f6160966ecfe8604681131b47b8867addd948413c481b0590cab1da04/codecov-2.1.9-py2.py3-none-any.whl
Collecting tox
  Using cached https://files.pythonhosted.org/packages/54/8f/058a8d4255a106f79fd51421a2d90ef904ab1dbed03803ea91c5c7a401dc/tox-3.20.0-py2.py3-none-any.whl
Collecting coverage
  Using cached https://files.pythonhosted.org/packages/78/9f/50113d363cb9163228e188364b4d5dcadd4b7d688d42e75860232bd163ea/coverage-5.2.1-cp38-cp38-manylinux1_x86_64.whl
Collecting requests>=2.7.9
  Using cached https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl
Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages (from tox) (16.7.5)
Collecting filelock>=3.0.0
  Using cached https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Collecting six>=1.14.0
  Using cached https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting toml>=0.9.4
  Using cached https://files.pythonhosted.org/packages/9f/e1/1b40b80f2e1663a6b9f497123c11d7d988c0919abbf3c3f2688e448c5363/toml-0.10.1-py2.py3-none-any.whl
Requirement already satisfied: py>=1.4.17 in /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages (from tox) (1.8.0)
Requirement already satisfied: packaging>=14 in /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages (from tox) (19.2)
Requirement already satisfied: pluggy>=0.12.0 in /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages (from tox) (0.13.0)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached https://files.pythonhosted.org/packages/9f/f0/a391d1463ebb1b233795cabfc0ef38d3db4442339de68f847026199e69d7/urllib3-1.25.10-py2.py3-none-any.whl
Collecting idna<3,>=2.5
  Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages (from requests>=2.7.9->codecov) (2019.9.11)
Collecting chardet<4,>=3.0.2
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Requirement already satisfied: pyparsing>=2.0.2 in /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages (from packaging>=14->tox) (2.4.2)
Installing collected packages: coverage, urllib3, idna, chardet, requests, codecov, filelock, six, toml, tox
  Found existing installation: six 1.12.0
    Uninstalling six-1.12.0:
      Successfully uninstalled six-1.12.0
Successfully installed chardet-3.0.4 codecov-2.1.9 coverage-5.2.1 filelock-3.0.12 idna-2.10 requests-2.24.0 six-1.15.0 toml-0.10.1 tox-3.20.0 urllib3-1.25.10
$ git clone https://github.com/junegunn/fzf/
Cloning into 'fzf'...
$ fzf/install --bin
Downloading bin/fzf ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   650  100   650    0     0   1906      0 --:--:-- --:--:-- --:--:--  1906
100 1133k  100 1133k    0     0  1569k      0 --:--:-- --:--:-- --:--:-- 1569k
  - Checking fzf executable ... 0.22.0
$ sudo ln -s $PWD/fzf/bin/fzf /usr/bin
$ tox
GLOB sdist-make: /home/travis/build/ezh/cloudselect/setup.py
py38 create: /home/travis/build/ezh/cloudselect/.tox/py38
py38 installdeps: codecov, PyTest, pytest-console-scripts, pytest-cov, pytest-mock, appdirs, boto3, chardet, dependency_injector, hcloud, kubernetes, pyyaml
py38 inst: /home/travis/build/ezh/cloudselect/.tox/.tmp/package/1/cloudselect-20.1.14.zip
py38 installed: appdirs==1.4.4,attrs==20.1.0,boto3==1.14.45,botocore==1.17.58,cachetools==4.1.1,certifi==2020.6.20,chardet==3.0.4,cloudselect==20.1.14,codecov==2.1.9,coverage==5.2.1,dependency-injector==3.42.0,docutils==0.15.2,future==0.18.2,google-auth==1.21.1,hcloud==1.9.1,idna==2.10,iniconfig==1.0.1,jmespath==0.10.0,kubernetes==11.0.0,mock==4.0.2,more-itertools==8.5.0,oauthlib==3.1.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pyparsing==2.4.7,pytest==6.0.1,pytest-console-scripts==0.2.0,pytest-cov==2.10.1,pytest-mock==3.3.1,pytest-runner==5.2,python-dateutil==2.8.1,PyYAML==5.3.1,requests==2.24.0,requests-oauthlib==1.3.0,rsa==4.6,s3transfer==0.3.3,six==1.15.0,toml==0.10.1,urllib3==1.25.10,websocket-client==0.57.0
py38 run-test-pre: PYTHONHASHSEED='3331785203'
py38 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /home/travis/build/ezh/cloudselect/.tox/py38/bin/python
cachedir: .tox/py38/.pytest_cache
rootdir: /home/travis/build/ezh/cloudselect, configfile: tox.ini
plugins: cov-2.10.1, console-scripts-0.2.0, mock-3.3.1
collecting ... collected 36 items

test/test_cloudselect.py::test_cli_incorrect_configuration[inprocess] # Running console script: cloudselect something_that_does_not_exist
# Script return code: 1
# Script stdout:

# Script stderr:
Error: Profile "something_that_does_not_exist" not found

PASSED
test/test_cloudselect.py::test_cli_version[inprocess] # Running console script: cloudselect --version
# Script return code: 0
# Script stdout:
cloudselect version 20.1.14

# Script stderr:

cloudselect version 20.1.14
PASSED
test/test_cloudselect.py::test_cli_verbose PASSED
test/test_cloudselect.py::test_cli_query PASSED
test/test_cloudselect.py::test_cli_profile PASSED
test/test_cloudselect.py::test_cli_configuration_read PASSED
test/test_cloudselect.py::test_resolve PASSED
test/test_cloudselect.py::test_factory_load_plugin PASSED
test/test_cloudselect.py::test_factory_load_discovery PASSED
test/test_cloudselect.py::test_factory_load_group PASSED
test/test_cloudselect.py::test_factory_load_pathfinder PASSED
test/test_cloudselect.py::test_factory_load_report PASSED
test/test_options.py::test_options PASSED
test/test_selector.py::test_completer PASSED
test/test_selector.py::test_profile_list PASSED
test/test_selector.py::test_select_edit PASSED
test/test_selector.py::test_select_edit_json_profile PASSED
test/test_selector.py::test_select_edit_yaml_profile PASSED
test/test_selector.py::test_select_edit_yml_profile PASSED
test/test_selector.py::test_select_edit_non_existent_profile PASSED
test/test_selector.py::test_select_empty PASSED
test/test_selector.py::test_select_single {'instances': [{'host': 'my.cloud.instance',
                'id': '0',
                'jumphost': None,
                'key': None,
                'metadata': {'host': 'my.cloud.instance'},
                'port': None,
                'user': None}],
 'option': {}}
PASSED
test/discovery/test_kubernetes.py::test_kubernetes_discovery PASSED
test/discovery/test_stub.py::test_stub_discovery PASSED
test/discovery/test_stub.py::test_stub_behaviour PASSED
test/group/test_simple.py::test_options FAILED
test/group/test_simple.py::test_options_errors PASSED
test/group/test_simple.py::test_options_regex PASSED
test/group/test_stub.py::test_stub_group 2020-09-09 22:20:27,563 cloudselect.CloudSelect DEBUG    Logging is initialized
2020-09-09 22:20:27,564 cloudselect.CloudSelect DEBUG    Configuration:
{
    "log": {
        "formatters": {
            "f": {
                "format": "%(asctime)s %(name)-12s %(levelname)-8s %(message)s"
            }
        },
        "handlers": {
            "h": {
                "class": "logging.StreamHandler",
                "formatter": "f",
                "level": 10
            }
        },
        "root": {
            "handlers": [
                "h"
            ],
            "level": 10
        },
        "version": 1
    },
    "plugin": {
        "discovery": {
            "aws": "cloudselect.discovery.aws",
            "hetzner": "cloudselect.discovery.hetzner",
            "kubernetes": "cloudselect.discovery.kubernetes",
            "local": "cloudselect.discovery.local"
        },
        "group": {
            "simple": "cloudselect.group.simple"
        },
        "pathfinder": {
            "bastion": "cloudselect.pathfinder.bastion"
        },
        "report": {
            "json": "cloudselect.report.json",
            "json_pp": "cloudselect.report.json_pp",
            "yaml": "cloudselect.report.yaml"
        }
    }
}
PASSED
test/group/test_stub.py::test_stub_behaviour PASSED
test/pathfinder/test_bastion.py::test_bastion_initialization 2020-09-09 22:20:27,577 cloudselect.CloudSelect DEBUG    Logging is initialized
2020-09-09 22:20:27,577 cloudselect.CloudSelect DEBUG    Configuration:
{
    "log": {
        "version": 1
    },
    "pathfinder": {
        "type": "bastion"
    },
    "plugin": {
        "discovery": {
            "aws": "cloudselect.discovery.aws",
            "hetzner": "cloudselect.discovery.hetzner",
            "kubernetes": "cloudselect.discovery.kubernetes",
            "local": "cloudselect.discovery.local"
        },
        "group": {
            "simple": "cloudselect.group.simple"
        },
        "pathfinder": {
            "bastion": "cloudselect.pathfinder.bastion"
        },
        "report": {
            "json": "cloudselect.report.json",
            "json_pp": "cloudselect.report.json_pp",
            "yaml": "cloudselect.report.yaml"
        }
    }
}
PASSED
test/pathfinder/test_bastion.py::test_bastion_behaviour 2020-09-09 22:20:27,582 cloudselect.CloudSelect DEBUG    Logging is initialized
2020-09-09 22:20:27,583 cloudselect.CloudSelect DEBUG    Configuration:
{
    "log": {
        "version": 1
    },
    "pathfinder": {
        "host": "my-bastion-hostname",
        "type": "bastion"
    },
    "plugin": {
        "discovery": {
            "aws": "cloudselect.discovery.aws",
            "hetzner": "cloudselect.discovery.hetzner",
            "kubernetes": "cloudselect.discovery.kubernetes",
            "local": "cloudselect.discovery.local"
        },
        "group": {
            "simple": "cloudselect.group.simple"
        },
        "pathfinder": {
            "bastion": "cloudselect.pathfinder.bastion"
        },
        "report": {
            "json": "cloudselect.report.json",
            "json_pp": "cloudselect.report.json_pp",
            "yaml": "cloudselect.report.yaml"
        }
    }
}
PASSED
test/pathfinder/test_stub.py::test_stub_pathfinder 2020-09-09 22:20:27,589 cloudselect.CloudSelect DEBUG    Logging is initialized
2020-09-09 22:20:27,589 cloudselect.CloudSelect DEBUG    Configuration:
{
    "log": {
        "version": 1
    },
    "plugin": {
        "discovery": {
            "aws": "cloudselect.discovery.aws",
            "hetzner": "cloudselect.discovery.hetzner",
            "kubernetes": "cloudselect.discovery.kubernetes",
            "local": "cloudselect.discovery.local"
        },
        "group": {
            "simple": "cloudselect.group.simple"
        },
        "pathfinder": {
            "bastion": "cloudselect.pathfinder.bastion"
        },
        "report": {
            "json": "cloudselect.report.json",
            "json_pp": "cloudselect.report.json_pp",
            "yaml": "cloudselect.report.yaml"
        }
    }
}
PASSED
test/pathfinder/test_stub.py::test_stub_behaviour PASSED
test/report/test_stub.py::test_stub_report 2020-09-09 22:20:27,601 cloudselect.CloudSelect DEBUG    Logging is initialized
2020-09-09 22:20:27,602 cloudselect.CloudSelect DEBUG    Configuration:
{
    "log": {
        "version": 1
    },
    "plugin": {
        "discovery": {
            "aws": "cloudselect.discovery.aws",
            "hetzner": "cloudselect.discovery.hetzner",
            "kubernetes": "cloudselect.discovery.kubernetes",
            "local": "cloudselect.discovery.local"
        },
        "group": {
            "simple": "cloudselect.group.simple"
        },
        "pathfinder": {
            "bastion": "cloudselect.pathfinder.bastion"
        },
        "report": {
            "json": "cloudselect.report.json",
            "json_pp": "cloudselect.report.json_pp",
            "yaml": "cloudselect.report.yaml"
        }
    }
}
{'instances': [], 'option': {}}
PASSED
test/report/test_stub.py::test_stub_behaviour PASSED

=================================== FAILURES ===================================
_________________________________ test_options _________________________________

cfgdir = local('/tmp/pytest-of-travis/pytest-0/cloudselect0')

    def test_options(cfgdir):
        """
        Test options behaviour of simple plugin.
    
        It should returns {} if there is no options.
        It should returns shared dictionary if there is no any matched filters.
        It should returns clarified dictionary if there is matched filter.
        """
        cloud = CloudSelect(cfgdir)
        configuration = cloud.configuration_read()
        args = cloud.parse_args([])
        configuration["group"] = {"type": "simple"}
        cloud.fabric(configuration, args)
    
        assert isinstance(Container.group(), Simple)
    
        assert Container.options("test") == {}
        assert Container.options("plugin") == configuration["plugin"]
        assert Container.options("log") == configuration["log"]
    
        assert Container.options("option") == {}
        options_a = {"ssh": "-t", "ssh_command": "sudo -i"}
        options_b = {"ssh": "-t", "ssh_command": "su"}
        options_c = {"ssh": "-t", "ssh_command": None}
        configuration["option"] = options_a
>       assert Container.options("option") == options_a
E       AssertionError: assert {} == {'ssh': '-t',...d': 'sudo -i'}
E         Right contains 2 more items:
E         {'ssh': '-t', 'ssh_command': 'sudo -i'}
E         Full diff:
E         - {'ssh': '-t', 'ssh_command': 'sudo -i'}
E         + {}

test/group/test_simple.py:43: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  cloudselect.group.Simple:simple.py:27 test: 'options' block not found in {'type': 'simple'}
WARNING  cloudselect.group.Simple:simple.py:27 plugin: 'options' block not found in {'type': 'simple'}
WARNING  cloudselect.group.Simple:simple.py:27 log: 'options' block not found in {'type': 'simple'}
WARNING  cloudselect.group.Simple:simple.py:27 option: 'options' block not found in {'type': 'simple'}
WARNING  cloudselect.group.Simple:simple.py:27 option: 'options' block not found in {'type': 'simple'}
=============================== warnings summary ===============================
test/discovery/test_kubernetes.py::test_kubernetes_discovery
  /home/travis/build/ezh/cloudselect/cloudselect/discovery/discovery.py:72: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    if isinstance(value, collections.Mapping):

-- Docs: https://docs.pytest.org/en/stable/warnings.html

----------- coverage: platform linux, python 3.8.0-final-0 -----------
Name                                   Stmts   Miss  Cover   Missing
--------------------------------------------------------------------
cloudselect/__init__.py                   17      2    88%   30-31
cloudselect/__main__.py                    2      2     0%   3-5
cloudselect/cloudselect.py               196     39    80%   61, 65, 105-112, 180, 182, 185-193, 207, 269-271, 280-285, 291-301, 314-319
cloudselect/discovery/__init__.py          3      0   100%
cloudselect/discovery/aws.py             110     87    21%   30-34, 39-63, 68-84, 92-117, 121-134, 138-142, 149-162, 166-169, 174-175
cloudselect/discovery/discovery.py        60     12    80%   37-48, 55-58
cloudselect/discovery/hetzner.py          72     72     0%   8-149
cloudselect/discovery/kubernetes.py       72      8    89%   93, 97, 133-144
cloudselect/discovery/local.py            39      1    97%   57
cloudselect/discovery/stub.py              3      0   100%
cloudselect/group/__init__.py              3      0   100%
cloudselect/group/group.py                12      0   100%
cloudselect/group/simple.py               46      8    83%   41-44, 46-52, 60-61, 75-76
cloudselect/group/stub.py                  3      0   100%
cloudselect/instance.py                   30      2    93%   24, 68
cloudselect/pathfinder/__init__.py         3      0   100%
cloudselect/pathfinder/bastion.py         44     23    48%   30, 46-53, 60-73
cloudselect/pathfinder/pathfinder.py      12      1    92%   25
cloudselect/pathfinder/stub.py             3      0   100%
cloudselect/report/__init__.py             3      0   100%
cloudselect/report/json.py                 9      4    56%   19-22
cloudselect/report/json_pp.py              9      9     0%   8-22
cloudselect/report/report.py              20      0   100%
cloudselect/report/stub.py                 3      0   100%
cloudselect/report/yaml.py                 9      9     0%   8-22
cloudselect/selector.py                  121     34    72%   60-64, 94-95, 101-102, 109, 111, 118-132, 152, 172-180, 199, 201
--------------------------------------------------------------------
TOTAL                                    904    313    65%

=========================== short test summary info ============================
FAILED test/group/test_simple.py::test_options - AssertionError: assert {} ==...
=================== 1 failed, 35 passed, 1 warning in 1.51s ====================
ERROR: InvocationError for command /home/travis/build/ezh/cloudselect/.tox/py38/bin/py.test (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py38: commands failed
TravisBuddy Request Identifier: bfee8390-f2ea-11ea-82b8-f1691ab9f797

@dependabot-preview
Copy link
Contributor Author

Superseded by #278.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/dependency-injector-3.42.0 branch September 10, 2020 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants