commit: 6f3ce9bb87dae9eca368a404c9cd30f13ffd2b21 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun May 3 19:49:13 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun May 3 20:03:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3ce9bb
dev-python/pytest-fixture-config: 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. Closes: https://bugs.gentoo.org/720828 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../pytest-fixture-config/pytest-fixture-config-1.7.0-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r1.ebuild b/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r1.ebuild index 123812aa6d1..83b350fe07a 100644 --- a/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r1.ebuild +++ b/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r1.ebuild @@ -17,6 +17,10 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86" RDEPEND=" dev-python/pytest[${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=" dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools-git[${PYTHON_USEDEP}]