Skip to content

Commit

Permalink
Merge pull request #2882 from abravalheri/fix-2880
Browse files Browse the repository at this point in the history
Fix 2880, 2881 - Avoid depdencies with URLs in setup.cfg
  • Loading branch information
jaraco committed Nov 14, 2021
2 parents d212daa + d4e829c commit 77cc531
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.d/2880.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Removed URL requirement for ``pytest-virtualenv`` in ``setup.cfg``.
PyPI rejects packages with dependencies external to itself.
Instead the test dependency was overwritten via ``tox.ini``
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77cc531

Please sign in to comment.