Skip to content

Commit

Permalink
Support Python 3.8
Browse files Browse the repository at this point in the history
Do not remove until EOL date has passed
  • Loading branch information
WyattBlue committed Jun 21, 2024
1 parent 5c5e31b commit 6369e37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
fail-fast: false
matrix:
config:
- {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.8", ffmpeg: "6.1", extras: true}
- {os: ubuntu-latest, python: "3.8", ffmpeg: "6.0"}
- {os: ubuntu-latest, python: pypy3.9, ffmpeg: "6.1"}
- {os: macos-12, python: "3.9", ffmpeg: "6.1"}
- {os: macos-12, python: "3.8", ffmpeg: "6.1"}

env:
PYAV_PYTHON: python${{ matrix.config.python }}
Expand Down Expand Up @@ -116,8 +116,8 @@ jobs:
fail-fast: false
matrix:
config:
- {os: windows-latest, python: "3.9", ffmpeg: "6.1"}
- {os: windows-latest, python: "3.9", ffmpeg: "6.0"}
- {os: windows-latest, python: "3.8", ffmpeg: "6.1"}
- {os: windows-latest, python: "3.8", ffmpeg: "6.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.9"
python-version: "3.8"
- 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.9"
python-version: "3.8"
- name: Set up QEMU
if: matrix.os == 'ubuntu-latest'
uses: docker/setup-qemu-action@v3
Expand Down
3 changes: 2 additions & 1 deletion 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.9",
python_requires=">=3.8",
zip_safe=False,
ext_modules=ext_modules,
test_suite="tests",
Expand All @@ -222,6 +222,7 @@ 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 6369e37

Please sign in to comment.