-
Notifications
You must be signed in to change notification settings - Fork 307
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
passes but pypi rejects
#937
Comments
Hi, I've exactly the same issue, without the typo in the email address... [project]
name = "django-delayed-notifications"
description = "django-delayed-notifications provides tracking of notifications, and delayed sending."
authors = [
{ name = "François GUÉRIN", email = "[email protected]" },
]
license = { text = "MIT" } Error:
|
@frague59 I suspect the metadata generated for you by your build tool is the greater problem. Twine check looks for a very small subset of things that PyPI might validate since twine is used against multiple repositories and cannot validate all that every repository cares about. I don't believe we'll add this check |
The problem seems to be the UTF-8 characters, in your case the "ç" and the "É" in the name. I experienced the same with the "ö" in my surname. Substituting it with "oe" solved the issue for me. The problem is that this seems to be a regression either in build, twine, or PyPi. I had no problems with my German Umlaut before. |
Twine simply uses what's in the metadata to send the for and metadata to PyPI. I don't think PyPI is at fault for generating that string. I suggest building your project and then looking at what is generated |
Hi, You can close this issue. Thanks ! |
Your Environment
Thank you for taking the time to report an issue.
To more efficiently resolve this issue, we'd like to know some basic information about your system and setup.
Your operating system: Windows
Version of python you are running:
pipx
pypi
The Issue
Please describe the issue that you are experiencing.
twine check
passed, but on trying to upload the dist to pypi (withtwine upload
) failed with an error:Steps to Reproduce
If the issue is predictable and consistently reproducible, please list the steps here.
If you build a dist with this (
python -m build
) and then upload it, PyPi will reject it.Notice the error/typo at the end of the email
>
.The text was updated successfully, but these errors were encountered: