Skip to content

Commit ddbdf92

Browse files
authored
Merge pull request #400 from pbs-data-solutions/release
Temporary work around to build Python 3.13 wheels
2 parents f98dd39 + d324c4b commit ddbdf92

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
types:
66
- published
77

8+
env:
9+
PYTHON_VERSION: "3.12"
10+
811
permissions:
912
contents: read
1013

@@ -18,12 +21,13 @@ jobs:
1821
- uses: actions/checkout@v4
1922
- uses: actions/setup-python@v5
2023
with:
21-
python-version: "3.11"
24+
python-version: ${{ env.PYTHON_VERSION }}
2225
- name: Build wheels
2326
uses: PyO3/maturin-action@v1
2427
with:
2528
target: ${{ matrix.target }}
26-
args: --release --out dist --find-interpreter
29+
# args: --release --out dist --find-interpreter
30+
args: --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
2731
sccache: "true"
2832
manylinux: auto
2933
- name: Upload wheels
@@ -41,13 +45,14 @@ jobs:
4145
- uses: actions/checkout@v4
4246
- uses: actions/setup-python@v5
4347
with:
44-
python-version: "3.11"
48+
python-version: ${{ env.PYTHON_VERSION" }}
4549
architecture: ${{ matrix.target }}
4650
- name: Build wheels
4751
uses: PyO3/maturin-action@v1
4852
with:
4953
target: ${{ matrix.target }}
50-
args: --release --out dist --find-interpreter
54+
# args: --release --out dist --find-interpreter
55+
args: --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
5156
sccache: "true"
5257
- name: Upload wheels
5358
uses: actions/upload-artifact@v4
@@ -64,12 +69,13 @@ jobs:
6469
- uses: actions/checkout@v4
6570
- uses: actions/setup-python@v5
6671
with:
67-
python-version: "3.11"
72+
python-version: ${{ env.PYTHON_VERSION" }}
6873
- name: Build wheels
6974
uses: PyO3/maturin-action@v1
7075
with:
7176
target: ${{ matrix.target }}
72-
args: --release --out dist --find-interpreter
77+
# args: --release --out dist --find-interpreter
78+
args: --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
7379
sccache: "true"
7480
- name: Upload wheels
7581
uses: actions/upload-artifact@v4
@@ -83,7 +89,7 @@ jobs:
8389
- uses: actions/checkout@v4
8490
- uses: actions/setup-python@v5
8591
with:
86-
python-version: "3.11"
92+
python-version: ${{ env.PYTHON_VERSION" }}
8793
- name: Build sdist
8894
uses: PyO3/maturin-action@v1
8995
with:
@@ -104,7 +110,7 @@ jobs:
104110
- uses: actions/download-artifact@v4
105111
- uses: actions/setup-python@v5
106112
with:
107-
python-version: "3.11"
113+
python-version: ${{ env.PYTHON_VERSION" }}
108114
- name: Publish to PyPI
109115
uses: PyO3/maturin-action@v1
110116
env:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "prelude-parser"
3-
version = "0.11.0"
3+
version = "0.11.1"
44
description = "Parses XML files exported from Prelude EDC into formats usable by Python."
55
edition = "2021"
66
license = "MIT"

0 commit comments

Comments
 (0)