Skip to content

Commit 70438ff

Browse files
committed
ci: specify python versions in wheels
1 parent 853c898 commit 70438ff

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/pypi.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
manylinux: auto
4242
steps:
4343
- uses: actions/checkout@v4
44-
- uses: actions/setup-python@v5
45-
with:
46-
python-version: 3.x
44+
- uses: astral-sh/setup-uv@v5
45+
- name: Install Pythons
46+
run: uv python install 3.10 3.11 3.12 3.13 pypy3.10
4747
- name: Build wheels
4848
uses: PyO3/maturin-action@v1
4949
with:
5050
target: ${{ matrix.platform.target }}
51-
args: --release --out dist --find-interpreter -F duckdb/bundled
51+
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
5252
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
5353
manylinux: ${{ matrix.platform.manylinux }}
5454
- name: Upload wheels
@@ -72,14 +72,14 @@ jobs:
7272
target: armv7
7373
steps:
7474
- uses: actions/checkout@v4
75-
- uses: actions/setup-python@v5
76-
with:
77-
python-version: 3.x
75+
- uses: astral-sh/setup-uv@v5
76+
- name: Install Pythons
77+
run: uv python install 3.10 3.11 3.12 3.13 pypy3.10
7878
- name: Build wheels
7979
uses: PyO3/maturin-action@v1
8080
with:
8181
target: ${{ matrix.platform.target }}
82-
args: --release --out dist --find-interpreter -F duckdb/bundled
82+
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
8383
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
8484
manylinux: musllinux_1_2
8585
- name: Upload wheels
@@ -126,14 +126,14 @@ jobs:
126126
target: aarch64
127127
steps:
128128
- uses: actions/checkout@v4
129-
- uses: actions/setup-python@v5
130-
with:
131-
python-version: 3.x
129+
- uses: astral-sh/setup-uv@v5
130+
- name: Install Pythons
131+
run: uv python install 3.10 3.11 3.12 3.13 pypy3.10
132132
- name: Build wheels
133133
uses: PyO3/maturin-action@v1
134134
with:
135135
target: ${{ matrix.platform.target }}
136-
args: --release --out dist --find-interpreter -F duckdb/bundled
136+
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
137137
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
138138
- name: Upload wheels
139139
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)