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
fix: Retrieve metadata correctly from importlib_metadata (#1115)
* fixes#977: Retrieve metadata correctly from importlib_metadata
Running twine with `PYTHONWARNINGS=error`, DeprecationWarnings about
missing keys indicate that `twine.__uri__` is being set to `None`.
`author` is also missing from package metadata.
This change iterates over Project-URLs looking for "Homepage",
and parses the author and email from Author-Email.
The email stdlib module is used for correctness; it is already
imported by importlib_metadata, so this does not add to import time.
0 commit comments