Skip to content

Commit be45e09

Browse files
committed
run from python directory
1 parent 6927186 commit be45e09

File tree

3 files changed

+33
-21
lines changed

3 files changed

+33
-21
lines changed

.github/workflows/python-wheels.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ permissions:
2121
jobs:
2222
linux:
2323
runs-on: ${{ matrix.platform.runner }}
24+
defaults:
25+
run:
26+
working-directory: python
2427
strategy:
2528
fail-fast: false
2629
matrix:
@@ -59,7 +62,7 @@ jobs:
5962
uses: PyO3/maturin-action@v1
6063
with:
6164
target: ${{ matrix.platform.target }}
62-
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 --manifest-path python/Cargo.toml
65+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13
6366
sccache: "true"
6467
manylinux: ${{ matrix.platform.manylinux }}
6568
- name: Upload wheels
@@ -70,6 +73,9 @@ jobs:
7073

7174
musllinux:
7275
runs-on: ${{ matrix.platform.runner }}
76+
defaults:
77+
run:
78+
working-directory: python
7379
strategy:
7480
fail-fast: false
7581
matrix:
@@ -98,7 +104,7 @@ jobs:
98104
uses: PyO3/maturin-action@v1
99105
with:
100106
target: ${{ matrix.platform.target }}
101-
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 --manifest-path python/Cargo.toml
107+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13
102108
sccache: "true"
103109
manylinux: musllinux_1_2
104110
- name: Upload wheels
@@ -109,6 +115,9 @@ jobs:
109115

110116
windows:
111117
runs-on: ${{ matrix.platform.runner }}
118+
defaults:
119+
run:
120+
working-directory: python
112121
strategy:
113122
fail-fast: false
114123
matrix:
@@ -129,7 +138,7 @@ jobs:
129138
uses: PyO3/maturin-action@v1
130139
with:
131140
target: ${{ matrix.platform.target }}
132-
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 --manifest-path python/Cargo.toml
141+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13
133142
sccache: "true"
134143
- name: Upload wheels
135144
uses: actions/upload-artifact@v4
@@ -139,6 +148,9 @@ jobs:
139148

140149
macos:
141150
runs-on: ${{ matrix.platform.runner }}
151+
defaults:
152+
run:
153+
working-directory: python
142154
strategy:
143155
fail-fast: false
144156
matrix:
@@ -163,7 +175,7 @@ jobs:
163175
uses: PyO3/maturin-action@v1
164176
with:
165177
target: ${{ matrix.platform.target }}
166-
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 --manifest-path python/Cargo.toml
178+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13
167179
sccache: "true"
168180
- name: Upload wheels
169181
uses: actions/upload-artifact@v4

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dev-dependencies = [
2424
"griffe>=1.6.0",
2525
"griffe-inherited-docstrings>=1.0.1",
2626
"ipykernel>=6.29.5",
27-
"maturin>=1.7.4",
27+
"maturin>=1.8.3",
2828
"mike>=2.1.3",
2929
"mkdocs-material[imaging]>=9.6.3",
3030
"mkdocs>=1.6.1",

python/uv.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)