Skip to content

Commit 0a2e85a

Browse files
authored
feat: build and test against 3.14 (#77)
Python 3.14 is set to be released early October. Refs: https://peps.python.org/pep-0745/ Update build-time dependencies, test matrix. Signed-off-by: Mike Fiedler <[email protected]>
1 parent 1272976 commit 0a2e85a

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.github/workflows/nox-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
40+
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ]
4141

4242
name: Test Python ${{ matrix.python-version }}
4343
steps:
@@ -50,6 +50,7 @@ jobs:
5050
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5151
with:
5252
python-version: ${{ matrix.python-version }}
53+
allow-prereleases: true # For Python 3.14 pre-releases
5354

5455
- name: Setup virtualenv
5556
run: |

.github/workflows/pypi-publish.yml

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

3636
- name: Install build deps
3737
run: |
38-
python -m pip --disable-pip-version-check install cibuildwheel==2.21.3 twine==5.1.1 setuptools
38+
python -m pip --disable-pip-version-check install cibuildwheel==3.2.0 twine==6.2.0 setuptools cffi>=2.0.0
3939
4040
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4141
if: runner.os == 'Linux'

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and can be installed with `pip` or `pipenv`::
1212
pip install --user cmarkgfm
1313
pipenv install cmarkgfm
1414

15-
Wheels are provided for macOS, Linux, and Windows for Python 3.9, 3.10, 3.11, 3.12, and 3.13.
15+
Wheels are provided for macOS, Linux, and Windows for Python 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14.
1616

1717

1818
Usage

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import nox
66

77

8-
@nox.session(py=['3.9', '3.10', '3.11', '3.12', '3.13'])
8+
@nox.session(py=['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'])
99
def unit(session):
1010
session.install('pytest', 'pytest-cov')
1111
session.install('.')

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ def finalize_options(self):
4343
'Programming Language :: Python :: 3.11',
4444
'Programming Language :: Python :: 3.12',
4545
'Programming Language :: Python :: 3.13',
46+
'Programming Language :: Python :: 3.14',
4647
],
4748
package_dir={'': 'src'},
4849
packages=find_packages(where='src'),
4950
cffi_modules=["src/cmarkgfm/build_cmark.py:ffibuilder"],
51+
python_requires='>=3.9',
5052
setup_requires=["cffi>=2.0.0", "pycparser>=2.06"],
5153
install_requires=["cffi>=2.0.0"],
5254
project_urls={

0 commit comments

Comments
 (0)