Skip to content

Commit 75d4003

Browse files
authored
build with python 3.14 (#826)
* build with python 3.14 * install setuptools in cibuildwheel job * skip unneeded selectors * use build package instead of invoking setup.py directly
1 parent 60f6677 commit 75d4003

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ ubuntu-22.04 ]
18-
python: ["3.10"]
18+
python: ["3.14"]
1919
manylinux_image: [ manylinux2014, manylinux_2_28 ]
20-
# Disable for platforms where pure Python wheels would be generated
21-
cibw_skip: [ "pp38-* pp39-* pp310-* pp311-* pp312-* pp313-*" ]
2220
steps:
2321
- uses: actions/checkout@v4
2422

@@ -27,6 +25,10 @@ jobs:
2725
with:
2826
python-version: ${{ matrix.python }}
2927

28+
- name: Install packaging tools
29+
run: |
30+
python -m pip install --upgrade pip setuptools importlib_metadata wheel
31+
3032
- name: Install cibuildwheel
3133
run: |
3234
python -m pip install --upgrade pip cibuildwheel
@@ -61,14 +63,13 @@ jobs:
6163
- uses: actions/setup-python@v5
6264
name: Install Python
6365
with:
64-
python-version: "3.10"
66+
python-version: "3.14"
6567

6668
- name: Install cibuildwheel
6769
run: |
6870
python -m pip install --upgrade pip cibuildwheel
6971
- name: Build binary wheels
7072
env:
71-
CIBW_SKIP: "pp38-* pp39-* pp310-* pp311-*"
7273
CIBW_BUILD_VERBOSITY: 1
7374
CIBW_ARCHS_MACOS: "x86_64 arm64"
7475
run: python -m cibuildwheel
@@ -83,7 +84,7 @@ jobs:
8384
runs-on: ubuntu-24.04
8485
strategy:
8586
matrix:
86-
python: ["3.10"]
87+
python: ["3.14"]
8788
steps:
8889
- uses: actions/checkout@v4
8990

@@ -93,12 +94,12 @@ jobs:
9394
python-version: ${{ matrix.python }}
9495
- name: Install packaging tools
9596
run: |
96-
python -m pip install --upgrade pip setuptools importlib_metadata wheel
97+
python -m pip install --upgrade pip build
9798
9899
- name: Build Python pure Python wheel
99100
env:
100101
SCOUT_DISABLE_EXTENSIONS: "1"
101-
run: python setup.py bdist_wheel
102+
run: python -m build --wheel
102103

103104
- uses: actions/upload-artifact@v4
104105
with:
@@ -114,10 +115,14 @@ jobs:
114115
- uses: actions/setup-python@v5
115116
name: Install Python
116117
with:
117-
python-version: "3.10"
118+
python-version: "3.14"
119+
120+
- name: Install packaging tools
121+
run: |
122+
python -m pip install --upgrade pip build
118123
119124
- name: Build sdist
120-
run: python setup.py sdist
125+
run: python -m build --sdist
121126

122127
- uses: actions/upload-artifact@v4
123128
with:

0 commit comments

Comments
 (0)