diff options
author | bst-marge-bot <marge-bot@buildstream.build> | 2020-12-07 21:04:48 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-12-07 21:04:48 +0000 |
commit | 642e423013e4e86a05f4f12c02bdb5883c6eafab (patch) | |
tree | 54d5022b1eb4bf171b44885247685aa16687e177 | |
parent | 7f69411f213271e9efdbb1a0726f144ccef9f0a6 (diff) | |
parent | 60fd8c3cad12f2a119ecb6e8f348c1344de34fde (diff) | |
download | buildstream-642e423013e4e86a05f4f12c02bdb5883c6eafab.tar.gz |
Merge branch 'bschubert/coverage' into 'master'
requirements: Update all requirements
See merge request BuildStream/buildstream!2110
-rw-r--r-- | .pylintrc | 4 | ||||
-rw-r--r-- | requirements/cov-requirements.txt | 16 | ||||
-rw-r--r-- | requirements/dev-requirements.txt | 20 | ||||
-rw-r--r-- | requirements/requirements.txt | 16 | ||||
-rw-r--r-- | src/buildstream/_pluginfactory/pluginoriginpip.py | 7 |
5 files changed, 32 insertions, 31 deletions
@@ -118,6 +118,10 @@ disable=##################################### unused-argument, + # This is good to get context on exceptions, we should enable that + # at some point + raise-missing-from, + ################################################## # Formatting-related messages, enforced by Black # ################################################## diff --git a/requirements/cov-requirements.txt b/requirements/cov-requirements.txt index 3296a3fff..24a5cb9c9 100644 --- a/requirements/cov-requirements.txt +++ b/requirements/cov-requirements.txt @@ -1,16 +1,12 @@ coverage==4.4 -pytest-cov==2.10.0 -pytest==6.0.1 +pytest-cov==2.10.1 +pytest==6.1.2 Cython==0.29.21 ## The following requirements were added by pip freeze: -attrs==19.3.0 -importlib-metadata==1.7.0 -iniconfig==1.0.1 -more-itertools==8.4.0 -packaging==20.4 +attrs==20.3.0 +iniconfig==1.1.1 +packaging==20.7 pluggy==0.13.1 py==1.9.0 pyparsing==2.4.7 -six==1.15.0 -toml==0.10.1 -zipp==3.1.0 +toml==0.10.2 diff --git a/requirements/dev-requirements.txt b/requirements/dev-requirements.txt index b6b9e83b3..5ad8be99e 100644 --- a/requirements/dev-requirements.txt +++ b/requirements/dev-requirements.txt @@ -1,31 +1,27 @@ pexpect==4.8.0 -pylint==2.5.3 +pylint==2.6.0 # Pytest 6.0.0 doesn't play well with pylint -pytest==6.0.1 +pytest==6.1.2 pytest-datafiles==2.0 pytest-env==0.6.2 -pytest-xdist==1.34.0 +pytest-xdist==2.1.0 pytest-timeout==1.4.2 pyftpdlib==1.5.6 ## The following requirements were added by pip freeze: apipkg==1.5 astroid==2.4.2 -attrs==19.3.0 +attrs==20.3.0 execnet==1.7.1 -importlib-metadata==1.7.0 -iniconfig==1.0.1 -isort==4.3.21 +iniconfig==1.1.1 +isort==5.6.4 lazy-object-proxy==1.4.3 mccabe==0.6.1 -more-itertools==8.4.0 -packaging==20.4 +packaging==20.7 pluggy==0.13.1 ptyprocess==0.6.0 py==1.9.0 pyparsing==2.4.7 pytest-forked==1.3.0 six==1.15.0 -toml==0.10.1 -typed-ast==1.4.1 +toml==0.10.2 wrapt==1.12.1 -zipp==3.1.0 diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 57063c0b1..0d4f7d7a6 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -1,15 +1,15 @@ -grpcio==1.30.0 +click==7.1.2 +grpcio==1.34.0 Jinja2==2.11.2 pluginbase==1.0.0 -protobuf==3.12.4 -psutil==5.7.2 -ruamel.yaml==0.16.10 -ruamel.yaml.clib==0.2.0 -setuptools==41.6.0 +protobuf==3.14.0 +psutil==5.7.3 +ruamel.yaml==0.16.12 +ruamel.yaml.clib==0.2.2 +setuptools==49.1.3 pyroaring==0.2.9 -ujson==3.1.0 +ujson==4.0.1 python-dateutil==2.8.1 ## The following requirements were added by pip freeze: -click==7.1.2 MarkupSafe==1.1.1 six==1.15.0 diff --git a/src/buildstream/_pluginfactory/pluginoriginpip.py b/src/buildstream/_pluginfactory/pluginoriginpip.py index 59b5d5251..0db091fd9 100644 --- a/src/buildstream/_pluginfactory/pluginoriginpip.py +++ b/src/buildstream/_pluginfactory/pluginoriginpip.py @@ -63,7 +63,12 @@ class PluginOriginPip(PluginOrigin): detail=e.report(), reason="package-version-conflict", ) from e - except pkg_resources.RequirementParseError as e: + except ( + # For setuptools < 49.0.0 + pkg_resources.RequirementParseError, + # For setuptools >= 49.0.0 + pkg_resources.extern.packaging.requirements.InvalidRequirement, + ) as e: raise PluginError( "{}: Malformed package-name '{}' encountered: {}".format( self.provenance_node.get_provenance(), self._package_name, e |