Skip to content

Commit 382c51e

Browse files
committed
add and test python 3.14
1 parent 0e9d40e commit 382c51e

6 files changed

Lines changed: 32 additions & 28 deletions

File tree

.github/workflows/build-python-package.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Build sdist
1717
run: |
18-
python3 -m pip install build
18+
python3 -m pip install build
1919
python3 -m build --sdist
2020
2121
- name: Install sdist
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
python3 -m pip install pytest
2929
python3 -m pytest $GITHUB_WORKSPACE
30-
30+
3131
build_sdist_mac:
3232
runs-on: macos-latest
3333
steps:
@@ -72,13 +72,14 @@ jobs:
7272
- name: Test highspy
7373
run: |
7474
python -m pip install pytest
75-
python -m pytest
76-
75+
python -m pytest
76+
7777
build_wheel_linux:
7878
runs-on: ubuntu-24.04
7979
strategy:
8080
matrix:
81-
python: [3.11]
81+
python: [3.14]
82+
8283
steps:
8384
- uses: actions/checkout@v4
8485

@@ -136,7 +137,7 @@ jobs:
136137
runs-on: macos-15-intel
137138
strategy:
138139
matrix:
139-
python: [3.11]
140+
python: [3.11]
140141
steps:
141142
- uses: actions/checkout@v4
142143

@@ -161,12 +162,12 @@ jobs:
161162
run: |
162163
python3 -m pip install pytest
163164
python3 -m pytest $GITHUB_WORKSPACE
164-
165+
165166
build_wheel_macos_arm:
166167
runs-on: macos-14 # macos-14 is arm64
167168
strategy:
168169
matrix:
169-
python: [3.11]
170+
python: [3.11]
170171
steps:
171172
- uses: actions/checkout@v4
172173

@@ -200,7 +201,7 @@ jobs:
200201
- name: Install correct python version
201202
uses: actions/setup-python@v5
202203
with:
203-
python-version: 3.9
204+
python-version: 3.14
204205

205206
- name: Build wheel
206207
run: |
@@ -217,8 +218,8 @@ jobs:
217218
- name: Test highspy
218219
run: |
219220
python -m pip install pytest
220-
python -m pytest
221-
221+
python -m pytest
222+
222223
build_wheel_windows_313:
223224
runs-on: windows-2022
224225
steps:
@@ -244,5 +245,4 @@ jobs:
244245
- name: Test highspy
245246
run: |
246247
python -m pip install pytest
247-
python -m pytest
248-
248+
python -m pytest

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- [macos-14, macosx_arm64]
4343
- [windows-2022, win_amd64]
4444
- [windows-2022, win32]
45-
python: ["cp38", "cp39","cp310", "cp311","cp312", "cp313"]
45+
python: ["cp38", "cp39","cp310", "cp311","cp312", "cp313", "cp314"]
4646

4747
steps:
4848
- uses: actions/checkout@v4

.github/workflows/test-python-macos.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@ jobs:
88
strategy:
99
matrix:
1010
os: [macos-latest]
11-
python: [3.11]
11+
python: [3.12, 3.14]
12+
1213
steps:
1314
- uses: actions/checkout@v4
1415
- name: Install correct python version
1516
uses: actions/setup-python@v5
1617
with:
1718
python-version: ${{ matrix.python }}
1819

19-
- name: Install build dependencies
20-
run: python3 -m pip install numpy setuptools wheel pytest
21-
20+
- name: Install pytest
21+
run: python3 -m pip install pytest
22+
2223
- name: Test Python Interface
2324
run: |
2425
python3 -m pip install .
25-
pytest -v
26+
pytest -v
2627
2728
- name: Test Python Examples
2829
run: |

.github/workflows/test-python-ubuntu.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest]
11-
python: [3.11]
11+
python: [3.11, 3.14]
12+
1213
steps:
1314
- uses: actions/checkout@v4
1415
- name: Install correct python version
@@ -17,12 +18,12 @@ jobs:
1718
python-version: ${{ matrix.python }}
1819

1920
- name: Install build dependencies
20-
run: python3 -m pip install numpy setuptools wheel pytest
21-
21+
run: python3 -m pip install pytest
22+
2223
- name: Test Python Interface
2324
run: |
2425
python3 -m pip install .
25-
pytest -v
26+
pytest -v
2627
2728
- name: Test Python Examples
2829
run: |

.github/workflows/test-python-win.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ jobs:
99
matrix:
1010
# os: [self-hosted]
1111
os: [windows-2022]
12-
python: [3.12]
12+
python: [3.10, 3.14]
13+
1314
steps:
1415
- uses: actions/checkout@v4
1516
- name: Install correct python version
1617
uses: actions/setup-python@v5
1718
with:
1819
python-version: ${{ matrix.python }}
1920

20-
- name: Install build dependencies
21-
run: python -m pip install numpy setuptools wheel pytest
22-
21+
- name: Install pytest
22+
run: python -m pip install pytest
23+
2324
- name: Test python install
2425
run: |
2526
python -m pip install .
26-
pytest
27+
pytest
2728
2829
- name: Test Python Examples
2930
run: |

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
2828
"Programming Language :: Python :: 3.13",
29+
"Programming Language :: Python :: 3.14",
2930
"Typing :: Typed",
3031
]
3132

0 commit comments

Comments
 (0)