From 7161f5b3726c569e184353059c6d382e9b5da53f Mon Sep 17 00:00:00 2001 From: Sitaktif Date: Wed, 8 May 2019 15:56:28 +0100 Subject: [PATCH 1/2] Require pluggy>=0.11 Pluggy 0.10.0 introduced a new dependency `importlib-metadata` but that package cannot be imported when installed as an egg and that is causing problems for users relying on `setup.py` to install packages present in `test_require`. This change was quickly reverted in pluggy 0.11.0. See https://github.com/pytest-dev/pluggy/issues/205 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a924d4aba..08c559c93 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ INSTALL_REQUIRES = [ 'funcsigs>=1.0;python_version<"3.0"', 'pathlib2>=2.2.0;python_version<"3.6"', 'colorama;sys_platform=="win32"', - "pluggy>=0.9", + "pluggy>=0.11", ] From 0cf267f187949c1c84d48e200d4511d8d8097265 Mon Sep 17 00:00:00 2001 From: Romain Chossart Date: Wed, 8 May 2019 16:12:39 +0100 Subject: [PATCH 2/2] Add changelog entry for #5229 --- changelog/5229.bugfix.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelog/5229.bugfix.rst diff --git a/changelog/5229.bugfix.rst b/changelog/5229.bugfix.rst new file mode 100644 index 000000000..948ac6509 --- /dev/null +++ b/changelog/5229.bugfix.rst @@ -0,0 +1,2 @@ +Require ``pluggy>=0.11.0`` which reverts a dependency to ``importlib-metadata`` added in ``0.10.0``. +The ``importlib-metadata`` package cannot be imported when installed as an egg and causes issues when relying on ``setup.py`` to install test dependencies.