Skip to content

Commit 77cc531

Browse files
authored
Merge pull request #2882 from abravalheri/fix-2880
Fix 2880, 2881 - Avoid depdencies with URLs in setup.cfg
2 parents d212daa + d4e829c commit 77cc531

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

changelog.d/2880.misc.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Removed URL requirement for ``pytest-virtualenv`` in ``setup.cfg``.
2+
PyPI rejects packages with dependencies external to itself.
3+
Instead the test dependency was overwritten via ``tox.ini``

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ testing =
5555
mock
5656
flake8-2020
5757
virtualenv>=13.0.0
58-
pytest-virtualenv @ git+https://github.com/jaraco/pytest-plugins@distutils-deprecated#subdirectory=pytest-virtualenv
58+
pytest-virtualenv>=1.2.7 # TODO: Update once man-group/pytest-plugins#188 is solved
5959
wheel
6060
paver
6161
pip>=19.1 # For proper file:// URLs support.

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ deps =
1010
# workaround for sphinx-doc/sphinx#9562
1111
# TODO: remove after Sphinx>4.1.2 is available.
1212
sphinx@git+https://github.com/sphinx-doc/sphinx; python_version>="3.10"
13+
# TODO: remove after man-group/pytest-plugins#188 is solved
14+
pytest-virtualenv @ git+https://github.com/jaraco/pytest-plugins@distutils-deprecated#subdirectory=pytest-virtualenv
1315
commands =
1416
pytest {posargs}
1517
usedevelop = True

0 commit comments

Comments
 (0)