From e1756fc631eed1e4ecb9904eca83e0b5903694de Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 9 May 2019 08:47:01 -0300 Subject: [PATCH 1/2] Pin pluggy to <1.0 Make sure we don't update to pluggy 1.0 automatically, as there are planned breaking changes in the 1.0 release. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 08c559c93..1a7184cc3 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.11", + "pluggy>=0.9,!=0.10,<1.0", ] From 4d782dc13fab89d660337b4152c9dd5ca9b14d20 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 9 May 2019 09:00:39 -0300 Subject: [PATCH 2/2] Add CHANGELOG for #5239 --- changelog/5239.trivial.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog/5239.trivial.rst diff --git a/changelog/5239.trivial.rst b/changelog/5239.trivial.rst new file mode 100644 index 000000000..5bd7389f3 --- /dev/null +++ b/changelog/5239.trivial.rst @@ -0,0 +1,3 @@ +Pin ``pluggy`` to ``< 1.0`` so we don't update to ``1.0`` automatically when +it gets released: there are planned breaking changes, and we want to ensure +pytest properly supports ``pluggy 1.0``.