Skip to content

Commit ee07619

Browse files
committed
Build cp314t and cp310 along with limited wheels
1 parent 2b4088f commit ee07619

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/smoke.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
- '**.md'
88
- '**.rst'
99
- '**.txt'
10+
- '.github/workflows/tests.yml'
1011
pull_request:
1112
branches: main
1213
paths-ignore:
1314
- '**.md'
1415
- '**.rst'
1516
- '**.txt'
17+
- '.github/workflows/tests.yml'
1618
jobs:
1719
style:
1820
runs-on: ubuntu-slim

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
CIBW_ENVIRONMENT_MACOS: PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig LDFLAGS=-headerpad_max_install_names
6363
CIBW_ENVIRONMENT_WINDOWS: INCLUDE=C:\\cibw\\vendor\\include LIB=C:\\cibw\\vendor\\lib PYAV_SKIP_TESTS=unicode_filename
6464
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: delvewheel repair --add-path C:\cibw\vendor\bin -w {dest_dir} {wheel}
65-
CIBW_SKIP: "pp* cp312* cp313* cp314*"
65+
CIBW_BUILD: "cp310* cp311* cp314t*"
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
6868
run: |

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
{name = "WyattBlue", email = "wyattblue@auto-editor.com"},
1111
{name = "Jeremy Lainé", email = "jeremy.laine@m4x.org"},
1212
]
13-
requires-python = ">=3.11"
13+
requires-python = ">=3.10"
1414
classifiers = [
1515
"Development Status :: 5 - Production/Stable",
1616
"Intended Audience :: Developers",
@@ -20,6 +20,7 @@ classifiers = [
2020
"Operating System :: Unix",
2121
"Operating System :: Microsoft :: Windows",
2222
"Programming Language :: Cython",
23+
"Programming Language :: Python :: 3.10",
2324
"Programming Language :: Python :: 3.11",
2425
"Programming Language :: Python :: 3.12",
2526
"Programming Language :: Python :: 3.13",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"swresample",
2222
]
2323

24-
if sys.implementation.name == "cpython":
24+
if sys.implementation.name == "cpython" and (3, 14) > sys.version_info > (3, 11):
2525
py_limited_api = True
2626
options = {"bdist_wheel": {"py_limited_api": "cp311"}}
2727
define_macros = [("Py_LIMITED_API", 0x030B0000)]

0 commit comments

Comments
 (0)