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
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/Invalid value for requires_dist. Error: Can't have direct dependency: "pytest-virtualenv @ git+https://github.com/jaraco/pytest-plugins@distutils-deprecated#subdirectory=pytest-virtualenv ; extra == 'testing'"ERROR: InvocationError for command /home/runner/work/setuptools/setuptools/.tox/release/bin/python -m twine upload 'dist/*' (exited with code 1)
Code of Conduct
I agree to follow the PSF Code of Conduct
The text was updated successfully, but these errors were encountered:
setuptools version
main: d212daa
Python version
Python 3.8
OS
Ubuntu 20.04.3 LTS
Additional environment information
No response
Description
It seems that #2865 might have accidentally introduced a kind of dependency that is not accepted by PyPi:
in
setup.cfg
.PyPI forbids uploading packages with dependencies outside of PyPI (via URLs specs).
Expected behavior
An alternative for this implementation is to leave the previous dependency as it was in
setup.cfg
, but overwrite it using thedeps
field intox.ini
.How to Reproduce
This problem is currently being pointed out by the CI:
https://github.com/pypa/setuptools/runs/4196605393?check_suite_focus=true
To replicate the problem it is necessary to try to submit the distribution files to PyPI
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: