Skip to content

Commit 8620117

Browse files
committed
adjust free-threaded python install
1 parent d9a8c17 commit 8620117

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed
File renamed without changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<array>
5+
<dict>
6+
<key>attributeSetting</key>
7+
<integer>1</integer>
8+
<key>choiceAttribute</key>
9+
<string>selected</string>
10+
<key>choiceIdentifier</key>
11+
<string>org.python.Python.PythonTFramework-3.14</string>
12+
</dict>
13+
</array>
14+
</plist>

.github/workflows/wheel-builder.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ jobs:
173173
# The tag to build or the tag received by the tag event
174174
ref: ${{ github.event.inputs.version || github.ref }}
175175
sparse-checkout: |
176-
.github/config/macos-pkg-choices-freethreaded.xml
176+
.github/config/macos-pkg-choices-freethreaded-3.13t.xml
177+
.github/config/macos-pkg-choices-freethreaded-3.14t.xml
177178
persist-credentials: false
178179
- name: Install Python
179180
if: ${{ !endsWith(matrix.PYTHON.VERSION, 't') }}
@@ -184,7 +185,7 @@ jobs:
184185
if: ${{ endsWith(matrix.PYTHON.VERSION, 't') }}
185186
run: |
186187
curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg
187-
sudo installer -pkg python.pkg -applyChoiceChangesXML .github/config/macos-pkg-choices-freethreaded.xml -target /
188+
sudo installer -pkg python.pkg -applyChoiceChangesXML .github/config/macos-pkg-choices-freethreaded-${{ matrix.PYTHON.VERSION }}.xml -target /
188189
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
189190
with:
190191
toolchain: stable

0 commit comments

Comments
 (0)