Skip to content

Commit 8a8ff0b

Browse files
authored
Merge pull request #35 from opentensor/feat/thewhaleking/update-to-py314
Compatibility for Python 3.14
2 parents bd68c8c + 1cd7307 commit 8a8ff0b

File tree

6 files changed

+208
-104
lines changed

6 files changed

+208
-104
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,20 @@ jobs:
3434
with:
3535
platforms: arm64
3636

37-
- uses: actions/setup-python@v5
37+
- uses: actions/setup-python@v6
3838
with:
3939
python-version: "3.10"
4040

4141
- name: Build wheels
42-
uses: PyO3/maturin-action@v1.44.0
42+
uses: PyO3/maturin-action@v1.49.4
4343
with:
4444
target: ${{ matrix.platform.target }}
45-
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
45+
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
4646
sccache: 'true'
4747
manylinux: auto
4848
before-script-linux: |
4949
# run this installation and add CFLAGS only for aarch64
5050
if [ "${{ matrix.platform.target }}" = "aarch64" ]; then
51-
apt-get update
52-
apt-get install -y pkg-config libssl-dev
5351
export CFLAGS="-D__ARM_ARCH=8"
5452
fi
5553
@@ -70,16 +68,16 @@ jobs:
7068
target: x86
7169
steps:
7270
- uses: actions/checkout@v4
73-
- uses: actions/setup-python@v5
71+
- uses: actions/setup-python@v6
7472
with:
7573
python-version: "3.10"
7674
architecture: ${{ matrix.platform.target }}
7775

7876
- name: Build wheels
79-
uses: PyO3/maturin-action@v1.44.0
77+
uses: PyO3/maturin-action@v1.49.4
8078
with:
8179
target: ${{ matrix.platform.target }}
82-
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
80+
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
8381
sccache: 'true'
8482

8583
- name: Upload wheels
@@ -99,15 +97,15 @@ jobs:
9997
target: aarch64
10098
steps:
10199
- uses: actions/checkout@v4
102-
- uses: actions/setup-python@v5
100+
- uses: actions/setup-python@v6
103101
with:
104102
python-version: "3.10"
105103

106104
- name: Build wheels
107-
uses: PyO3/maturin-action@v1
105+
uses: PyO3/maturin-action@v1.49.4
108106
with:
109107
target: ${{ matrix.platform.target }}
110-
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
108+
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
111109
sccache: 'true'
112110

113111
- name: Upload wheels
@@ -121,7 +119,7 @@ jobs:
121119
steps:
122120
- uses: actions/checkout@v4
123121
- name: Build sdist
124-
uses: PyO3/maturin-action@v1.44.0
122+
uses: PyO3/maturin-action@v1.49.4
125123
with:
126124
command: sdist
127125
args: --out dist
@@ -154,7 +152,7 @@ jobs:
154152
subject-path: 'wheels-*/*'
155153

156154
- name: Publish to PyPI
157-
uses: PyO3/maturin-action@v1
155+
uses: PyO3/maturin-action@v1.49.4
158156
with:
159157
command: upload
160158
args: --non-interactive --skip-existing wheels-*/*

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ target
66
*.egg-info
77
__pycache__
88
# IDE
9-
.vscode
9+
.vscode

0 commit comments

Comments
 (0)