Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jobs:
&& cibuildwheel --print-build-identifiers --platform macos \
| pyp 'json.dumps({"only": x, "os": "macos-latest"})' \
&& cibuildwheel --print-build-identifiers --platform windows \
| pyp 'json.dumps({"only": x, "os": "windows-latest"})'
| pyp 'json.dumps({"only": x, "os": "windows-latest"})' \
&& cibuildwheel --print-build-identifiers --platform windows --archs ARM64 \
| pyp 'json.dumps({"only": x, "os": "windows-11-arm"})'
} | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix
env:
CIBW_ARCHS_LINUX: x86_64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
python-version: ["3.13"]
os: [macOS-latest, ubuntu-latest, windows-latest]
os: [macOS-latest, ubuntu-latest, windows-latest, windows-11-arm]

steps:
- uses: actions/checkout@v5
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12.4", "3.13", "3.14", "pypy-3.9"]
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12.10", "3.13", "3.14", "pypy-3.9"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bumped the 3.12 version from 3.12.4 to 3.12.10 here since the setup-python action fails to install 3.12.4 on arm64 windows and when I was looking back at the previous commit that set it to specify 3.12.4 it seemed to me it was to avoid an issue in 3.12.5 that was then fixed in 3.12.6.

os: [ubuntu-latest, macOS-latest, windows-latest, windows-11-arm]
exclude:
# setup-python only supports 3.11+ on arm64 windows
- os: windows-11-arm
python-version: "3.9"
- os: windows-11-arm
python-version: "3.10"
- os: windows-11-arm
python-version: "pypy-3.9"

steps:
- uses: actions/checkout@v5
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/upload_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2025, ubuntu-22.04, ubuntu-22.04-arm, macos-latest]
os: [windows-2025, windows-11-arm, ubuntu-22.04, ubuntu-22.04-arm, macos-latest]
include:
- os: windows-2025
pathsep: ";"
asset_name: black_windows.exe
executable_mime: "application/vnd.microsoft.portable-executable"
- os: windows-11-arm
pathsep: ";"
asset_name: black_windows-arm.exe
executable_mime: "application/vnd.microsoft.portable-executable"
- os: ubuntu-22.04
pathsep: ":"
asset_name: black_linux
Expand All @@ -38,7 +42,7 @@ jobs:
- name: Set up latest Python
uses: actions/setup-python@v6
with:
python-version: "3.12.4"
python-version: "3.13"
Copy link
Contributor Author

@finnagin finnagin Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this from 3.12.4 -> 3.13 so that the setup-python action does not fail when installing on arm64 windows. I could also change this to a later version of 3.12 like I did in test.yml if is that is preferable.


- name: Install Black and PyInstaller
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
### Packaging

- Releases now include arm64 Linux binaries (#4773)
- Releases now include arm64 Windows binaries and wheels (#4814)

### Output

Expand Down