Skip to content

Commit 8063947

Browse files
authored
Test and add support for Python 3.13
1 parent 7207843 commit 8063947

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
25+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2626
steps:
2727
- name: Set git to use LF on Windows
2828
if: runner.os == 'Windows'

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,12 @@ def finalize_options(self):
9393
author_email="cory@lukasa.co.uk",
9494

9595
setup_requires=[
96-
"cffi>=1.0.0",
96+
"cffi>=1.0.0; python_version<'3.13'",
97+
"cffi>=1.17.0; python_version>='3.13'",
9798
],
9899
install_requires=[
99-
"cffi>=1.0.0",
100+
"cffi>=1.0.0; python_version<'3.13'",
101+
"cffi>=1.17.0; python_version>='3.13'",
100102
],
101103
python_requires=">=3.8",
102104
cffi_modules=["src/brotlicffi/_build.py:ffi"],

0 commit comments

Comments
 (0)