Skip to content

Commit

Permalink
Drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Mar 22, 2024
1 parent ec95e82 commit 5707fb6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ on:
jobs:
style:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9

- name: Packages
run: pip install -r tests/requirements.txt
Expand All @@ -40,12 +39,12 @@ jobs:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, python: 3.8, ffmpeg: "6.1", extras: true}
- {os: ubuntu-latest, python: 3.8, ffmpeg: "6.0"}
- {os: ubuntu-latest, python: 3.8, ffmpeg: "5.1"}
- {os: ubuntu-latest, python: 3.8, ffmpeg: "5.0"}
- {os: ubuntu-latest, python: 3.9, ffmpeg: "6.1", extras: true}
- {os: ubuntu-latest, python: 3.9, ffmpeg: "6.0"}
- {os: ubuntu-latest, python: 3.9, ffmpeg: "5.1"}
- {os: ubuntu-latest, python: 3.9, ffmpeg: "5.0"}
- {os: ubuntu-latest, python: pypy3.9, ffmpeg: "6.1"}
- {os: macos-latest, python: 3.8, ffmpeg: "6.1"}
- {os: macos-latest, python: 3.9, ffmpeg: "6.1"}

env:
PYAV_PYTHON: python${{ matrix.config.python }}
Expand Down Expand Up @@ -121,10 +120,10 @@ jobs:
fail-fast: false
matrix:
config:
- {os: windows-latest, python: 3.8, ffmpeg: "6.1"}
- {os: windows-latest, python: 3.8, ffmpeg: "6.0"}
- {os: windows-latest, python: 3.8, ffmpeg: "5.1"}
- {os: windows-latest, python: 3.8, ffmpeg: "5.0"}
- {os: windows-latest, python: 3.9, ffmpeg: "6.1"}
- {os: windows-latest, python: 3.9, ffmpeg: "6.0"}
- {os: windows-latest, python: 3.9, ffmpeg: "5.1"}
- {os: windows-latest, python: 3.9, ffmpeg: "5.0"}

steps:
- name: Checkout
Expand Down Expand Up @@ -164,7 +163,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9
- name: Build source package
run: |
pip install cython
Expand Down Expand Up @@ -198,7 +197,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9
- name: Set up QEMU
if: matrix.os == 'ubuntu-latest'
uses: docker/setup-qemu-action@v3
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def parse_cflags(raw_flags):
url="https://github.com/PyAV-Org/PyAV",
packages=find_packages(exclude=["build*", "examples*", "scratchpad*", "tests*"]),
package_data=package_data,
python_requires=">=3.8",
python_requires=">=3.9",
zip_safe=False,
ext_modules=ext_modules,
test_suite="tests",
Expand All @@ -220,7 +220,6 @@ def parse_cflags(raw_flags):
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Cython",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 5707fb6

Please sign in to comment.