Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
FFMPEG_ROOT: ~/ff_deps/ffmpeg
strategy:
matrix:
python: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
steps:
- uses: actions/checkout@v7.0.1
- name: Set up Python ${{ matrix.python }}
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
ls $env:FFMPEG_ROOT
- name: Install pip deps
run: |
python -m pip install --upgrade pip virtualenv wheel setuptools "cython~=3.0.11; python_version < '3.14'" "cython~=3.1.8; python_version >= '3.14'" pytest
python -m pip install --upgrade pip virtualenv wheel setuptools "cython~=3.0.11; python_version < '3.14'" "cython~=3.3.1; python_version >= '3.14'" pytest
- name: Make sdist
if: matrix.python == '3.13'
run: python setup.py sdist --formats=gztar
Expand Down Expand Up @@ -124,16 +124,16 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04 # Ubuntu 26.04: apt install libpostproc-dev fails #201
- os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
needs: windows_wheels_tests
steps:
- uses: actions/checkout@v7.0.1
- name: Set up Python 3.14
- name: Set up Python 3.15
uses: actions/setup-python@v7.1.0
with:
python-version: '3.14'
python-version: '3.15'
- uses: actions/download-artifact@v8.0.2
with:
pattern: py_wheel-*
Expand All @@ -144,7 +144,7 @@ jobs:
sudo apt update
sudo apt install -y ffmpeg libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev
sudo apt install -y libavutil-dev libswscale-dev libswresample-dev libpostproc-dev libsdl2-dev libsdl2-2.0-0
sudo apt install -y libsdl2-mixer-2.0-0 libsdl2-mixer-dev python3-dev python3
sudo apt install -y libsdl2-mixer-2.0-0 libsdl2-mixer-dev
python3 -m pip install pytest

root=`pwd`
Expand All @@ -164,16 +164,16 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04 # Ubuntu 26.04: apt install libpostproc-dev fails #201
- os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
needs: linux_wheels
steps:
- uses: actions/checkout@v7.0.1
- name: Set up Python 3.14
- name: Set up Python 3.15
uses: actions/setup-python@v7.1.0
with:
python-version: '3.14'
python-version: '3.15'
- uses: actions/download-artifact@v8.0.2
with:
pattern: py_wheel-*
Expand Down Expand Up @@ -217,16 +217,16 @@ jobs:
include:
- os: ubuntu-latest
cibw_archs: 'x86_64'
cibw_build: 'cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64 cp314-manylinux_x86_64'
cibw_build: 'cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64 cp314-manylinux_x86_64 cp315-manylinux_x86_64'
- os: ubuntu-24.04-arm
cibw_archs: 'aarch64'
cibw_build: 'cp39-manylinux_aarch64 cp310-manylinux_aarch64 cp311-manylinux_aarch64 cp312-manylinux_aarch64 cp313-manylinux_aarch64 cp314-manylinux_aarch64'
cibw_build: 'cp39-manylinux_aarch64 cp310-manylinux_aarch64 cp311-manylinux_aarch64 cp312-manylinux_aarch64 cp313-manylinux_aarch64 cp314-manylinux_aarch64 cp315-manylinux_aarch64'
steps:
- uses: actions/checkout@v7.0.1
- name: Set up Python 3.14
- name: Set up Python 3.15
uses: actions/setup-python@v7.1.0
with:
python-version: '3.14'
python-version: '3.15'
- uses: actions/cache@v6.1.0
id: deps-cache
with:
Expand All @@ -244,7 +244,7 @@ jobs:
rm -rf git_deps
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel~=3.4.1
python -m pip install cibuildwheel~=4.3.5
- name: Make wheels
run: |
python -m cibuildwheel --output-dir dist
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
FFMPEG_BUILD_PATH: "ffmpeg_build"
CIBW_BUILD_VERBOSITY: 3
CIBW_BUILD_FRONTEND: pip
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* cp315-*"
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
DYLD_FALLBACK_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} &&
Expand All @@ -289,7 +289,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7.1.0
with:
python-version: '3.14'
python-version: '3.15'

- name: Cache ffmpeg
id: cache-ffmpeg
Expand All @@ -303,7 +303,7 @@ jobs:

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel~=3.4.1
python -m pip install cibuildwheel~=4.3.5
- name: Build wheels
run: |
export REPAIR_LIBRARY_PATH="$HOME/${{ env.FFMPEG_BUILD_PATH }}_${{ matrix.arch }}/lib"
Expand All @@ -324,7 +324,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7.1.0
with:
python-version: '3.14'
python-version: '3.15'

- uses: actions/download-artifact@v8.0.2
with:
Expand Down Expand Up @@ -372,19 +372,19 @@ jobs:
pytest "$name/tests"

docs:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Ubuntu 26.04: apt install libpostproc-dev fails #201
steps:
- uses: actions/checkout@v7.0.1
- name: Set up Python 3.14
- name: Set up Python 3.15
uses: actions/setup-python@v7.1.0
with:
python-version: '3.14'
python-version: '3.15'
- name: Install
run: |
sudo apt update
sudo apt install ffmpeg libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev
sudo apt install libavutil-dev libswscale-dev libswresample-dev libpostproc-dev libsdl2-dev libsdl2-2.0-0
sudo apt install libsdl2-mixer-2.0-0 libsdl2-mixer-dev python3-dev
sudo apt install libsdl2-mixer-2.0-0 libsdl2-mixer-dev

python -m pip install --upgrade pip virtualenv wheel setuptools sphinx sphinx_rtd_theme
python -m pip install -e .
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ def get_wheel_data():
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.15',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: BSD :: FreeBSD',
Expand Down
Loading