From 2b764bc26d86d5c9cf5cf2c40275b06c39d6c5af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 3 May 2020 21:47:54 +0200 Subject: [PATCH] dev-python/pytest-shutil: Block py2 pytest-virtualenv MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since dev-python/pytest normally loads all plugins, and PMs don't necessarily enforce dependencies of these that are not part of @world, it is possible to break their depgraph and break pytest on py2.7 completely. Add a blocker to make that harder. Signed-off-by: Michał Górny --- dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild index cb3daddd5278..94e51a609069 100644 --- a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild +++ b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild @@ -27,6 +27,10 @@ RDEPEND=" dev-python/mock[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] " +# block pytest plugins that will be broken by the upgrade +RDEPEND+=" + !