diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-10 14:45:56 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-10 14:45:56 -0500 |
| commit | d97e83e34d712330cf82427222cd141159e1f7f2 (patch) | |
| tree | 0d706a0e053da001a7fc7ea9e9f9978208fcd649 | |
| parent | 5d21da70b7d9f75866d0f9f10f4ea54af74a95b1 (diff) | |
| download | python-setuptools-git-d97e83e34d712330cf82427222cd141159e1f7f2.tar.gz | |
Get pytest-virtualenv from the pull request with distutils dependency removed.
| -rw-r--r-- | setup.cfg | 2 | ||||
| -rw-r--r-- | tox.ini | 6 |
2 files changed, 2 insertions, 6 deletions
@@ -55,7 +55,7 @@ testing = mock flake8-2020 virtualenv>=13.0.0 - pytest-virtualenv>=1.2.7 + pytest-virtualenv @ git+https://github.com/jaraco/pytest-plugins@distutils-deprecated#subdirectory=pytest-virtualenv wheel paver pip>=19.1 # For proper file:// URLs support. @@ -12,11 +12,7 @@ deps = # TODO: remove after Sphinx>4.1.2 is available. sphinx@git+https://github.com/sphinx-doc/sphinx; python_version>="3.10" commands = - # We invoke pytest like this to avoid the warning: - # UserWarning: Distutils was imported before Setuptools, - # but importing Setuptools also replaces the `distutils` - # module in `sys.modules`. - pytest -c 'import setuptools; import pytest; pytest.main("{posargs}".split())' + pytest {posargs} usedevelop = True extras = testing passenv = |
