Skip to content

Commit d1ea2ca

Browse files
authored
Support graalpy wheels (#204)
* graalpy support * use original git commands * PyPy 3.10 was moved to pypy-eol in the enable option, as it is now end-of-life. (#2521) * explicitly opt-in
1 parent b84cf28 commit d1ea2ca

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
strategy:
7979
matrix:
8080
os: [ubuntu-latest, windows-latest, macos-latest]
81-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.13t', '3.14', '3.14t', 'pypy-3.10', 'pypy-3.11']
81+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.13t', '3.14', '3.14t', 'pypy-3.10', 'pypy-3.11', 'graalpy-25.0']
8282
steps:
8383
- uses: actions/checkout@v5
8484
- name: Get history and tags for SCM versioning to work

.github/workflows/release.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ jobs:
7070
manylinux_version: manylinux2014
7171
- os: windows-latest
7272
archs: ARM64
73+
- os: ubuntu-latest
74+
archs: auto
75+
manylinux_version: graalpy
76+
- os: windows-latest
77+
archs: auto64
78+
manylinux_version: graalpy
79+
- os: macos-latest
80+
archs: auto
81+
manylinux_version: graalpy
7382
steps:
7483
- name: Checkout
7584
uses: actions/checkout@v4
@@ -89,7 +98,7 @@ jobs:
8998
- name: Install cibuildwheel
9099
run: |
91100
python -m pip install --upgrade pip
92-
python -m pip install wheel cibuildwheel==3.1.1
101+
python -m pip install wheel cibuildwheel==3.3.0
93102
- name: Build wheels
94103
if: matrix.manylinux_version == 'manylinux2010'
95104
env:
@@ -108,7 +117,7 @@ jobs:
108117
env:
109118
CIBW_BUILD: "cp311-* cp312-* cp313-* cp313t-* cp314-* cp314t-* pp310-* pp311-*"
110119
CIBW_SKIP: "cp313t-win*"
111-
CIBW_ENABLE: cpython-freethreading pypy
120+
CIBW_ENABLE: cpython-freethreading pypy cpython-prerelease pypy-eol
112121
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
113122
CIBW_ARCHS_LINUX: ${{ matrix.archs }}
114123
CIBW_ARCHS_WINDOWS: auto64
@@ -122,14 +131,26 @@ jobs:
122131
if: runner.os == 'Windows' && matrix.archs == 'ARM64'
123132
env:
124133
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp313t-* cp314-* cp314t-*"
125-
CIBW_ENABLE: cpython-freethreading
134+
CIBW_ENABLE: cpython-freethreading cpython-prerelease
126135
CIBW_ARCHS_WINDOWS: ${{ matrix.archs }}
127136
# It is not yet possible to run ARM64 tests, only cross-compile them.
128137
CIBW_TEST_SKIP: "*-win_arm64"
129138
CIBW_TEST_REQUIRES: pytest
130139
CIBW_TEST_COMMAND: python -m pytest {package}/py/tests -v
131140
run: |
132141
python -m cibuildwheel . --output-dir dist
142+
- name: Build wheels
143+
if: matrix.manylinux_version == 'graalpy'
144+
env:
145+
CIBW_BUILD: "gp312_250-*"
146+
CIBW_ENABLE: graalpy
147+
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
148+
CIBW_ARCHS_LINUX: auto
149+
CIBW_ARCHS_WINDOWS: auto64
150+
CIBW_TEST_REQUIRES: pytest
151+
CIBW_TEST_COMMAND: python -m pytest {package}/py/tests -v
152+
run: |
153+
python -m cibuildwheel . --output-dir dist
133154
- name: Store artifacts
134155
uses: actions/upload-artifact@v4
135156
with:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ kiwisolver.egg-info/
1212
.eggs
1313
.vscode
1414
.mypy_cache
15+
16+
.idea

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"Programming Language :: Python :: 3.14",
2626
"Programming Language :: Python :: Implementation :: CPython",
2727
"Programming Language :: Python :: Implementation :: PyPy",
28+
"Programming Language :: Python :: Implementation :: GraalPy",
2829
]
2930
dynamic = ["version"]
3031

0 commit comments

Comments
 (0)