Skip to content

Commit 4edf88e

Browse files
urschreiclaude
andauthored
Update Python version support from 3.9-3.13 to 3.10-3.14 (#120)
* Update Python version support from 3.9-3.13 to 3.10-3.14 - Update CI workflow to build wheels for Python 3.10-3.14 across all platforms - Update pyproject.toml to require Python >=3.10 - Remove Python 3.9 classifier and add Python 3.14 classifier - Drops Python 3.9 support (approaching EOL) - Adds Python 3.14 support (latest release) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * Fix macOS x86_64 wheel build by setting MACOSX_DEPLOYMENT_TARGET=10.12 The librdp.dylib from v0.14.2 requires macOS 10.12 minimum, but cibuildwheel was defaulting to 10.9 for x86_64 builds. This caused delocate-wheel to fail with a deployment target mismatch error. Setting CIBW_ENVIRONMENT_MACOS to specify MACOSX_DEPLOYMENT_TARGET=10.12 aligns the wheel's minimum macOS version with the library's requirement. --------- Co-authored-by: Claude <[email protected]>
1 parent 63c6097 commit 4edf88e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ jobs:
3535
matrix:
3636
include:
3737
- os: ubuntu-latest
38-
pybuilds: cp3{9,10,11,12,13}-manylinux_x86_64
38+
pybuilds: cp3{10,11,12,13,14}-manylinux_x86_64
3939
arch: x86_64
4040
id: linux
4141
- os: ubuntu-24.04-arm
42-
pybuilds: cp3{9,10,11,12,13}-manylinux_aarch64
42+
pybuilds: cp3{10,11,12,13,14}-manylinux_aarch64
4343
arch: aarch64
4444
id: linux_arm64
4545
- os: macos-latest
46-
pybuilds: cp3{9,10,11,12,13}-macosx_x86_64
46+
pybuilds: cp3{10,11,12,13,14}-macosx_x86_64
4747
arch: x86_64
4848
id: macos_x86
4949
- os: macos-latest
50-
pybuilds: cp3{10,11,12,13}-macosx_arm64
50+
pybuilds: cp3{10,11,12,13,14}-macosx_arm64
5151
arch: arm64
5252
id: macos_arm64
5353
- os: windows-latest
54-
pybuilds: cp3{9,10,11,12,13}-win_amd64
54+
pybuilds: cp3{10,11,12,13,14}-win_amd64
5555
arch: x86_64
5656
id: windows
5757

@@ -111,6 +111,7 @@ jobs:
111111
CIBW_BUILD: ${{ matrix.pybuilds }}
112112
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
113113
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
114+
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12
114115

115116
- id: attest
116117
name: Attest Build Provenance

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "simplification"
33
dynamic = ["version", "readme"]
44
description = "Fast linestring simplification using RDP or Visvalingam-Whyatt and a Rust binary"
5-
requires-python = ">=3.9"
5+
requires-python = ">=3.10"
66
dependencies = [
77
"numpy >= 2.0.0",
88
]
@@ -12,11 +12,11 @@ license-files = ["LICENSE.md"]
1212
keywords = ["Geo", "Polyline", "Linestring", "Ramer-Douglas-Peucker", "Douglas-Peucker", "Visvalingam-Whyatt"]
1313
classifiers = [
1414
"Programming Language :: Python",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"Development Status :: 5 - Production/Stable",
2121
"Intended Audience :: Developers",
2222
"Intended Audience :: Science/Research",

0 commit comments

Comments
 (0)