]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-142295: Update CFBundleShortVersionString in Mac framework Info.plist (#143064)
authorMartinus Verburg <12513894+codeskipper@users.noreply.github.com>
Thu, 7 May 2026 03:07:17 +0000 (05:07 +0200)
committerGitHub <noreply@github.com>
Thu, 7 May 2026 03:07:17 +0000 (23:07 -0400)
Updated macOS framework Info.plist to use x.y.z format for CFBundleShortVersionString to comply with Apple guidelines. Patch contributed by Martinus Verburg.

Mac/Resources/framework/Info.plist.in
Misc/NEWS.d/next/macOS/2025-12-22-10-53-45.gh-issue-142295.fLu-Lh.rst [new file with mode: 0644]

index 4c42971ed90ee4cdc5ff7af5917ee5374d901e80..06b4c428fd46b5dc2cf35dbde94f5aef5e495154 100644 (file)
@@ -17,7 +17,7 @@
        <key>CFBundlePackageType</key>
        <string>FMWK</string>
        <key>CFBundleShortVersionString</key>
-       <string>%VERSION%, (c) 2001-2024 Python Software Foundation.</string>
+       <string>%VERSION%</string>
        <key>CFBundleLongVersionString</key>
        <string>%VERSION%, (c) 2001-2024 Python Software Foundation.</string>
        <key>CFBundleSignature</key>
diff --git a/Misc/NEWS.d/next/macOS/2025-12-22-10-53-45.gh-issue-142295.fLu-Lh.rst b/Misc/NEWS.d/next/macOS/2025-12-22-10-53-45.gh-issue-142295.fLu-Lh.rst
new file mode 100644 (file)
index 0000000..fa5d1ab
--- /dev/null
@@ -0,0 +1,3 @@
+Mac framework Info.plist CFBundleShortVersionString now uses x.y.z only
+format to comply with `this Apple developer guideline
+<https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleshortversionstring>`_. Contributed by Martinus Verburg.