Skip to content

Commit 8524b2d

Browse files
Add support for Python 3.14 (#27)
- remove support for EOL Python 3.9 - use PEP-639-conform license ref
1 parent de22cdf commit 8524b2d

3 files changed

Lines changed: 33 additions & 29 deletions

File tree

.github/workflows/pr-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
15+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
1616
arch: ['x64']
1717

1818
steps:
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
45+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
4646

4747
steps:
4848
- uses: actions/checkout@v4
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
73+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
7474

7575
steps:
7676
- uses: actions/checkout@v4

.github/workflows/release-wheels.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/setup-python@v5
2121
name: Install Python
2222
with:
23-
python-version: '3.10'
23+
python-version: '3.13'
2424

2525
- name: Build sdist
2626
run: |
@@ -42,9 +42,6 @@ jobs:
4242
matrix:
4343
include:
4444
# Windows 64 bit
45-
- os: windows-latest
46-
python: 39
47-
platform_id: win_amd64
4845
- os: windows-latest
4946
python: 310
5047
platform_id: win_amd64
@@ -57,12 +54,11 @@ jobs:
5754
- os: windows-latest
5855
python: 313
5956
platform_id: win_amd64
57+
- os: windows-latest
58+
python: 314
59+
platform_id: win_amd64
6060

6161
# Linux 64 bit manylinux2014
62-
- os: ubuntu-latest
63-
python: 39
64-
platform_id: manylinux_x86_64
65-
manylinux_image: manylinux2014
6662
- os: ubuntu-latest
6763
python: 310
6864
platform_id: manylinux_x86_64
@@ -79,11 +75,12 @@ jobs:
7975
python: 313
8076
platform_id: manylinux_x86_64
8177
manylinux_image: manylinux2014
78+
- os: ubuntu-latest
79+
python: 314
80+
platform_id: manylinux_x86_64
81+
manylinux_image: manylinux2014
8282

8383
# Linux aarch64
84-
- os: ubuntu-latest
85-
python: 39
86-
platform_id: manylinux_aarch64
8784
- os: ubuntu-latest
8885
python: 310
8986
platform_id: manylinux_aarch64
@@ -96,11 +93,11 @@ jobs:
9693
- os: ubuntu-latest
9794
python: 313
9895
platform_id: manylinux_aarch64
96+
- os: ubuntu-latest
97+
python: 314
98+
platform_id: manylinux_aarch64
9999

100100
# MacOS x86_64
101-
- os: macos-latest
102-
python: 39
103-
platform_id: macosx_x86_64
104101
- os: macos-latest
105102
python: 310
106103
platform_id: macosx_x86_64
@@ -113,11 +110,11 @@ jobs:
113110
- os: macos-latest
114111
python: 313
115112
platform_id: macosx_x86_64
113+
- os: macos-latest
114+
python: 314
115+
platform_id: macosx_x86_64
116116

117117
# MacOS arm64
118-
- os: macos-latest
119-
python: 39
120-
platform_id: macosx_arm64
121118
- os: macos-latest
122119
python: 310
123120
platform_id: macosx_arm64
@@ -130,6 +127,9 @@ jobs:
130127
- os: macos-latest
131128
python: 313
132129
platform_id: macosx_arm64
130+
- os: macos-latest
131+
python: 314
132+
platform_id: macosx_arm64
133133

134134
steps:
135135
- uses: actions/checkout@v4
@@ -145,12 +145,12 @@ jobs:
145145
- uses: actions/setup-python@v4
146146
name: Install Python
147147
with:
148-
python-version: '3.10'
148+
python-version: '3.13'
149149

150150
- name: Install dependencies
151151
run: |
152152
python -m pip install -U pip
153-
python -m pip install cibuildwheel>=2.21
153+
python -m pip install cibuildwheel>=3.1.3
154154
155155
- name: Build wheels
156156
env:
@@ -178,7 +178,7 @@ jobs:
178178
# strategy:
179179
# fail-fast: false
180180
# matrix:
181-
# python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
181+
# python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
182182
#
183183
# steps:
184184
# - name: Set up Python ${{ matrix.python-version }}

pyproject.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[build-system]
2-
requires = ["setuptools", "cython", "numpy"]
2+
requires = [
3+
"setuptools>=77.0.3",
4+
"cython>=3.1.5",
5+
"numpy>=2.0"
6+
]
37
build-backend = "setuptools.build_meta"
48

59
[project]
@@ -9,15 +13,14 @@ authors = [
913
]
1014

1115
classifiers = [
12-
"License :: OSI Approved :: MIT License",
1316
"Development Status :: 5 - Production/Stable",
1417
"Natural Language :: English",
1518
"Programming Language :: Python",
16-
"Programming Language :: Python :: 3.9",
1719
"Programming Language :: Python :: 3.10",
1820
"Programming Language :: Python :: 3.11",
1921
"Programming Language :: Python :: 3.12",
2022
"Programming Language :: Python :: 3.13",
23+
"Programming Language :: Python :: 3.14",
2124
"Programming Language :: Python :: Implementation :: CPython",
2225
"Operating System :: POSIX :: Linux",
2326
"Operating System :: MacOS",
@@ -29,11 +32,12 @@ classifiers = [
2932
dependencies = ["numpy>=2.0"]
3033
description = "JPEG-LS for Python via CharLS C++ Library"
3134
keywords = ["python, jpeg"]
32-
license = {text = "MIT"}
35+
license = "MIT"
36+
license-files = ["license.txt"]
3337
name = "pyjpegls"
3438
readme = "readme.md"
35-
requires-python = ">=3.9"
36-
version = "1.5.1"
39+
requires-python = ">=3.10"
40+
version = "1.6.0"
3741

3842
[project.urls]
3943
documentation = "https://pydicom.github.io/pydicom"

0 commit comments

Comments
 (0)