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
The latest version of Twine no longer accepts the latest release of platforms because there is a problem with the package's metadata. The wheel release uses packaging metadata 2.3 with a new field from metadata version 2.4. Previous versions of Twine accepted this combination. The current version fails:
$ twine check platformdirs-4.3.6-py3-none-any.whl
Checking platformdirs-4.3.6-py3-none-any.whl: ERROR InvalidDistribution: Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.3
$ twine --version
twine version 6.1.0 (keyring: 25.6.0, packaging: 24.2, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0)
This problem was previously reported in #337. The issue was closed without a fix. @ofek said that the issue cause of the issue is fixed in Hatchling 1.26. Would you be so kind and upload a new release of platformdirs with correct metadata?
Background: We use an private GitLab's package index as a PyPI mirror for our projects. Our mirror scripts is a pip download + twine upload. This works well except for platformdirs and iniconfig. pytest-dev/iniconfig#62 is the same issue.
The text was updated successfully, but these errors were encountered:
The latest version of Twine no longer accepts the latest release of
platforms
because there is a problem with the package's metadata. The wheel release uses packaging metadata 2.3 with a new field from metadata version 2.4. Previous versions of Twine accepted this combination. The current version fails:$ twine check platformdirs-4.3.6-py3-none-any.whl Checking platformdirs-4.3.6-py3-none-any.whl: ERROR InvalidDistribution: Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.3 $ twine --version twine version 6.1.0 (keyring: 25.6.0, packaging: 24.2, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0)
This problem was previously reported in #337. The issue was closed without a fix. @ofek said that the issue cause of the issue is fixed in Hatchling 1.26. Would you be so kind and upload a new release of platformdirs with correct metadata?
Background: We use an private GitLab's package index as a PyPI mirror for our projects. Our mirror scripts is a
pip download
+twine upload
. This works well except for platformdirs and iniconfig. pytest-dev/iniconfig#62 is the same issue.The text was updated successfully, but these errors were encountered: