From 80f1dd7103eaf5afa00b6abff1d003b845779b5e Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Thu, 30 May 2024 02:09:41 -0400 Subject: [PATCH] Drop support for python3.8 --- .github/workflows/smoke.yml | 18 +++++++++--------- .github/workflows/tests.yml | 4 ++-- setup.py | 3 +-- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 7694fbfdb..5a23ce156 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -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 }} @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b66ef500b..550065a84 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 diff --git a/setup.py b/setup.py index cdedbcfb6..8cfcbaa58 100644 --- a/setup.py +++ b/setup.py @@ -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", @@ -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",