Skip to content

Commit ac1fd12

Browse files
authored
Declare free-threaded support and support 3.13t
1 parent 8105052 commit ac1fd12

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/smoke.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
config:
37+
- {os: ubuntu-24.04, python: "3.14t", ffmpeg: "8.0", extras: true}
3738
- {os: ubuntu-24.04, python: "3.12", ffmpeg: "8.0", extras: true}
3839
- {os: ubuntu-24.04, python: "pypy3.10", ffmpeg: "8.0"}
3940
- {os: macos-14, python: "3.9", ffmpeg: "8.0"}
@@ -50,6 +51,7 @@ jobs:
5051
uses: actions/setup-python@v5
5152
with:
5253
python-version: ${{ matrix.config.python }}
54+
allow-prereleases: true
5355

5456
- name: OS Packages
5557
run: |

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
CIBW_SKIP: "pp*"
6666
CIBW_TEST_COMMAND: mv {project}/av {project}/av.disabled && python -m pytest {package}/tests && mv {project}/av.disabled {project}/av
6767
CIBW_TEST_REQUIRES: pytest numpy
68+
CIBW_ENABLE: cpython-freethreading
6869
run: |
6970
pip install cibuildwheel delvewheel
7071
cibuildwheel --output-dir dist

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def parse_cflags(raw_flags):
150150
"embedsignature": True,
151151
"binding": False,
152152
"language_level": 3,
153+
"freethreading_compatible": True,
153154
}
154155

155156
# Add the cythonized loudnorm extension to ext_modules

0 commit comments

Comments
 (0)