Skip to content

Commit ba4dcd1

Browse files
committed
misc!: Added Python 3.14 support, removed Python 3.9 support
1 parent aab385f commit ba4dcd1

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.github/workflows/python-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
11+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1212

1313
name: "Build and test"
1414
runs-on: ubuntu-latest

.github/workflows/python-packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: "Set up Python"
2424
uses: actions/setup-python@v6
2525
with:
26-
python-version: "3.13"
26+
python-version: "3.14"
2727

2828
- name: "Install python dependencies"
2929
run: |
@@ -65,6 +65,7 @@ jobs:
6565
cibw_archs: x86_64
6666
- os: ubuntu-24.04
6767
cibw_archs: i686
68+
cibw_skip: cp314-* cp314t-* # CFFI has no more i686 support for Python >= 3.14
6869
- os: ubuntu-24.04
6970
cibw_archs: aarch64
7071

@@ -114,6 +115,10 @@ jobs:
114115
mv sdist/* dist/
115116
mv wheels-*/*.whl dist/
116117
118+
- name: "List packages"
119+
run: |
120+
find . -name "*.whl" -o -name "*.tar.gz"
121+
117122
- name: "Publish packages on PyPI"
118123
uses: pypa/gh-action-pypi-publish@release/v1
119124
with:

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ Changelog
140140

141141
* **[NEXT]** (changes on ``master`` that have not been released yet):
142142

143-
* Nothing yet ;)
143+
* misc: Added support for Python 3.14 (@flozz)
144+
* misc!: Removed support for Python 3.9 (@flozz)
145+
* misc!: Dropped support of x86 (32bits) architecture for Python >= 3.14 (@flozz)
144146

145147
* **v1.1.4:**
146148

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def lint(session):
2121
)
2222

2323

24-
@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"], reuse_venv=True)
24+
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"], reuse_venv=True)
2525
def test(session):
2626
session.install("setuptools", "pytest")
2727
session.install(".[pil]")

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
packages=find_packages(),
3333
setup_requires=[
3434
"cffi>=1.0.0",
35+
"pycparser",
3536
],
3637
install_requires=[
3738
"cffi>=1.0.0",

0 commit comments

Comments
 (0)