We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54f9a89 commit 5196bd2Copy full SHA for 5196bd2
src/scikit_build_core/build/metadata.py
@@ -104,4 +104,10 @@ def get_standard_metadata(
104
"Packaging 24.2+ required for license normalization. Please update (Python 3.8+ required)"
105
)
106
107
+ # For scikit-build-core >= 0.11, we set METADATA 2.2 as minimum
108
+ if (
109
+ settings.minimum_version is None or settings.minimum_version >= Version("0.11")
110
+ ) and metadata.auto_metadata_version == "2.1":
111
+ metadata.metadata_version = "2.2"
112
+
113
return metadata
0 commit comments