-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twine check fails to prevent Invalid value for requires_dist. Error: Can't have direct dependency #726
Comments
Uploading packages that use extras pointing to git is not currently possible for pypi, so we use a different approach to test devel branch of Ansible. Related: pypa/twine#726
Uploading packages that use extras pointing to git is not currently possible for pypi, so we use a different approach to test devel branch of Ansible. Related: pypa/twine#726
Duplicate of #430 I think. |
@di on the nose |
I've got the same error. Does that mean PyPI doesn't support URLs in dependencies at all? I could not find anything in documentation. https://pypi.org/help/ |
Found the reference in PEP-0440.
|
It seams that running twine check does not prevent upload errors like below:
This was caused by a package using the pep517 and a special extra that was used to install from git like below:
This worked well with pip and with tox and passed the packaging testing, but failed when the tagged release was uploading.
This seams related to pypa/pip#6301 but it is not clear from it who is really to be blame.
Because this currently fails it would be very useful to improve the check feature in twine to detect this issue before we make a release.
The text was updated successfully, but these errors were encountered: