From 9f20fce31c8b8c923602679a51ee6780e81e2993 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Sun, 14 Nov 2021 17:14:34 +0000 Subject: [PATCH] Avoid using dependencies with URLs on setup.cfg PyPI does not accept this kind of dependencies. An alternative is to overwrite the dependency in tox.ini --- setup.cfg | 2 +- tox.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 6bcc36968e..e60544f07b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -55,7 +55,7 @@ testing = mock flake8-2020 virtualenv>=13.0.0 - pytest-virtualenv @ git+https://github.com/jaraco/pytest-plugins@distutils-deprecated#subdirectory=pytest-virtualenv + pytest-virtualenv>=1.2.7 # TODO: Update once man-group/pytest-plugins#188 is solved wheel paver pip>=19.1 # For proper file:// URLs support. diff --git a/tox.ini b/tox.ini index ab993608af..25b4eaf018 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,8 @@ deps = # workaround for sphinx-doc/sphinx#9562 # TODO: remove after Sphinx>4.1.2 is available. sphinx@git+https://github.com/sphinx-doc/sphinx; python_version>="3.10" + # TODO: remove after man-group/pytest-plugins#188 is solved + pytest-virtualenv @ git+https://github.com/jaraco/pytest-plugins@distutils-deprecated#subdirectory=pytest-virtualenv commands = pytest {posargs} usedevelop = True