Skip to content

Commit 556053e

Browse files
committed
Wheels: drop CPython 3.10
Build the wheels for CPython 3.11 to 3.14, and require Python >= 3.11.
1 parent 7e05f27 commit 556053e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/wheels.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pythonocc-core wheels for PyPI: Linux x86_64/aarch64, macOS x86_64/arm64,
2-
# Windows AMD64, for CPython 3.10 to 3.14, plus the sdist.
2+
# Windows AMD64, for CPython 3.11 to 3.14, plus the sdist.
33
#
44
# For each platform, a first job builds the native dependencies (SWIG, OCCT
55
# and its 3rd parties) with the scripts of ci/wheels/deps/ and saves them to
@@ -121,7 +121,7 @@ jobs:
121121
fail-fast: false
122122
matrix:
123123
platform: *platforms
124-
python: [cp310, cp311, cp312, cp313, cp314]
124+
python: [cp311, cp312, cp313, cp314]
125125
steps:
126126
- uses: actions/checkout@v7
127127

‎ci/wheels/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The pythonocc-core wheels published on PyPI are built by
1010
| macOS | `macosx_11_0_x86_64`, `macosx_11_0_arm64` | `macos-15-intel`, `macos-15` |
1111
| Windows | `win_amd64` | `windows-2022` |
1212

13-
for CPython 3.10 to 3.14, plus the sdist.
13+
for CPython 3.11 to 3.14, plus the sdist.
1414

1515
* `pyproject.toml`: the scikit-build-core build, the version is read from
1616
`CMakeLists.txt`, and the cibuildwheel configuration.

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description = "Python package for 3D geometry CAD/BIM/CAM"
1515
readme = "README.md"
1616
license = { file = "LICENSE" }
1717
authors = [{ name = "Thomas Paviot", email = "tpaviot@gmail.com" }]
18-
requires-python = ">=3.10"
18+
requires-python = ">=3.11"
1919
# built against numpy 2.x, which remains compatible with numpy >= 1.19 at runtime
2020
dependencies = ["numpy>=1.19"]
2121
classifiers = [
@@ -77,7 +77,7 @@ result = "{major}.{minor}.{patch}{devel}"
7777
# .github/workflows/wheels.yml. The native dependencies (SWIG, OCCT and its
7878
# 3rd parties) are built by the scripts in ci/wheels/deps/.
7979
[tool.cibuildwheel]
80-
build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*"]
80+
build = ["cp311-*", "cp312-*", "cp313-*", "cp314-*"]
8181
skip = ["*-musllinux_*"]
8282
build-verbosity = 1
8383
test-requires = ["pytest", "svgwrite>=1.4"]

0 commit comments

Comments
 (0)