You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run python setup.py test, I expect my unit tests to run and dependencies to get installed. Instead, PyPi is getting searched and dependency_links is getting ignored.
Also, I've noticed (a ton of) other issues all over the internet mentioning how dependency_links is getting ignored. I didn't run across anything yet where pytest was suspected.
The whole point of setup.cfg with a test=pytest directive in it is so that pytest can take over unit testing from the built in test framework and maintain compatibility. And pytest-runner is in the same GitHub team as pytest.
When I run
python setup.py test
, I expect my unit tests to run and dependencies to get installed. Instead, PyPi is getting searched and dependency_links is getting ignored.Also, I've noticed (a ton of) other issues all over the internet mentioning how dependency_links is getting ignored. I didn't run across anything yet where pytest was suspected.
setup.py
When I use the above with
python setup.py test
,myotherproject
gets installed into.eggs
.If I then add a
setup.cfg
file like so to activate pytest:setup.cfg
Then
python setup.py test
ignores dependency_links and attempts to search pypi for the myotherproject (and naturally it can't find it and errors out)Then I just comment out the lines in
setup.cfg
and re-runpython setup.py test
and it works again.setup.cfg
The text was updated successfully, but these errors were encountered: