Skip to content

Commit 68884b1

Browse files
authored
Merge pull request #3061 from ERGO-Code/python-cibw]
workflows and pyproject update: cibuildwheel 4.0.0
2 parents f34e900 + a1c8d67 commit 68884b1

7 files changed

Lines changed: 10 additions & 15 deletions

File tree

.github/workflows/build-meson.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
environment-name: highsdev
2727
create-args: >-
28-
python==3.8
28+
python==3.9
2929
meson
3030
pkgconfig
3131
ninja

.github/workflows/build-wheels-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
- [macos-14, macosx_arm64]
4949
- [windows-2022, win_amd64]
5050
- [windows-2022, win32]
51-
python: ["cp38", "cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
51+
python: ["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
5252
steps:
5353
- uses: actions/checkout@v6
5454
- name: Build wheels
55-
uses: pypa/cibuildwheel@v3.3.1
55+
uses: pypa/cibuildwheel@v4.0.0
5656
env:
5757
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
5858

@@ -79,12 +79,12 @@ jobs:
7979
- [macos-14, macosx_arm64]
8080
- [windows-2022, win_amd64]
8181
- [windows-2022, win32]
82-
python: ["cp38", "cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
82+
python: ["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
8383
steps:
8484
- uses: actions/checkout@v6
8585

8686
- name: Build wheels
87-
uses: pypa/cibuildwheel@v3.3.1
87+
uses: pypa/cibuildwheel@v4.0.0
8888
with:
8989
package-dir: ./highspy-extras
9090
env:

.github/workflows/sanitizers-meson.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
environment-name: highsdev
2121
create-args: >-
22-
python==3.8
22+
python==3.9
2323
meson
2424
pkgconfig
2525
ninja

docs/src/interfaces/python/hipo-in-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ print(highspy_extras.get_library_version())
5353

5454
To install locally, you will need
5555

56-
- Python >= 3.8
56+
- Python >= 3.9
5757
- BLAS library (bundled or system)
5858

5959
## Uninstall

highspy-extras/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ print(highspy_extras.get_library_version())
5151

5252
## Requirements
5353

54-
- Python >= 3.8
54+
- Python >= 3.9
5555

5656
- BLAS library
5757
The highspy-extras wheels on PyPI and conda-forge ship with a bundled OpenBLAS.

highspy-extras/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ license-files = [
1717
"THIRD_PARTY_NOTICES.md",
1818
]
1919

20-
requires-python = ">=3.8"
20+
requires-python = ">=3.9"
2121

2222
classifiers = [
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ license-files = [
1818
"THIRD_PARTY_NOTICES.md",
1919
]
2020

21-
requires-python = ">=3.8"
21+
requires-python = ">=3.9"
2222
dependencies = ["numpy", "typing_extensions; python_version < '3.10'"]
2323

2424
classifiers = [
2525
# "Development Status :: 4 - Beta",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
@@ -116,9 +115,6 @@ norecursedirs = ["check", ".git", "build", "dist", "*.egg-info"]
116115
build = "*"
117116
archs = ["auto64", "auto32"]
118117

119-
# Enable free-threaded support
120-
enable = ["cpython-freethreading"]
121-
122118
# highspy does not need vcpkg dependencies (avoid unnecessary compile)
123119
environment = { VCPKG_ROOT = "", VCPKG_INSTALLATION_ROOT = "" }
124120

0 commit comments

Comments
 (0)