summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-03 21:47:54 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-03 22:03:34 +0200
commit2b764bc26d86d5c9cf5cf2c40275b06c39d6c5af (patch)
tree85c1252d14d5b492315eee4d9df9fe58b759d5fe /dev-python/pytest-shutil
parentwww-client/chromium: Fix building with >=dev-libs/re2-0.2020.05.01. (diff)
downloadgentoo-2b764bc26d86d5c9cf5cf2c40275b06c39d6c5af.tar.gz
gentoo-2b764bc26d86d5c9cf5cf2c40275b06c39d6c5af.tar.bz2
gentoo-2b764bc26d86d5c9cf5cf2c40275b06c39d6c5af.zip
dev-python/pytest-shutil: Block py2 pytest-virtualenv
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 <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-shutil')
-rw-r--r--dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
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+="
+ !<dev-python/pytest-virtualenv-1.7.0-r1[python_targets_python2_7(-)]
+"
BDEPEND="
${RDEPEND}