Skip to content

Commit

Permalink
Drop support for python3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed May 30, 2024
1 parent c9e4f3e commit 80f1dd7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,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-12, python: "3.8", ffmpeg: "6.1"}
- {os: macos-12, python: "3.9", ffmpeg: "6.1"}

env:
PYAV_PYTHON: python${{ matrix.config.python }}
Expand Down Expand Up @@ -118,10 +118,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
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.9"
- name: Build source package
run: |
pip install cython
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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 @@ -205,7 +205,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 @@ -222,7 +222,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 80f1dd7

Please sign in to comment.