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
Hatchling automatically determines metadata version when building a package. While hatchling==1.26.3 builds my package with Metadata-Version: 2.3 in the PKG-INFO, hatchling==1.27.0 builds it with Metadata-Version: 2.4. The PKG-INFO files seems identical in both cases except for the metadata version. It looks like it's impossible to configure the metadata version manually in pyproject.toml. This is an issue, because twine==6.0.1 is not supporting Metadata-Version: 2.4, but it is supporting Metadata-Version: 2.3 and lower.
Request
It would be great if there was an option to specify the metadata version manually in pyproject.toml file.
Another solution would be to always use minimal possible Metadata-Version.
The text was updated successfully, but these errors were encountered:
imagejan
added a commit
to fmi-faim/metamorph-mda-parser
that referenced
this issue
Jan 3, 2025
Background
Hatchling
automatically determines metadata version when building a package. Whilehatchling==1.26.3
builds my package withMetadata-Version: 2.3
in thePKG-INFO
,hatchling==1.27.0
builds it withMetadata-Version: 2.4
. ThePKG-INFO
files seems identical in both cases except for the metadata version. It looks like it's impossible to configure the metadata version manually inpyproject.toml
. This is an issue, becausetwine==6.0.1
is not supportingMetadata-Version: 2.4
, but it is supportingMetadata-Version: 2.3
and lower.Request
It would be great if there was an option to specify the metadata version manually in
pyproject.toml
file.Another solution would be to always use minimal possible
Metadata-Version
.The text was updated successfully, but these errors were encountered: