From c64ee38647f4303f566e6a9a6d4264275640dc4d Mon Sep 17 00:00:00 2001 From: OlteanuRares Date: Tue, 16 Sep 2025 13:26:14 +0300 Subject: [PATCH 1/2] OCTO-11351 remove support for python 3.8 and 3.9 --- .github/workflows/unit_tests.yml | 2 +- docker-compose.yml | 24 ------------------------ setup.py | 4 +--- 3 files changed, 2 insertions(+), 28 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 71d62a0d..eced3574 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["py38", "py39", "py310", "py311", "py312"] + python-version: ["py310", "py311", "py312"] steps: - uses: actions/checkout@v2 diff --git a/docker-compose.yml b/docker-compose.yml index b342c7bb..4c064836 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,30 +1,6 @@ version: '3.8' services: - test_py38: - image: python:3.8-slim-bullseye - command: sh -c " - cd pycaption; - pip install --upgrade pip; - pip install -r test_requirements.txt; - pip install -e .; - pytest -vvvv --color=yes --junit-xml=junit.xml --cov=pycaption --cov-report xml:coverage.xml; - " - volumes: - - .:/pycaption - - test_py39: - image: python:3.9-slim-bullseye - command: sh -c " - cd pycaption; - pip install --upgrade pip; - pip install -r test_requirements.txt; - pip install -e .; - pytest -vvvv --color=yes --junit-xml=junit.xml --cov=pycaption --cov-report xml:coverage.xml; - " - volumes: - - .:/pycaption - test_py310: image: python:3.10-slim-bullseye command: sh -c " diff --git a/setup.py b/setup.py index a7fba6d5..c7594ea5 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ "Documentation": "https://pycaption.readthedocs.io/", "Release notes": "https://pycaption.readthedocs.io" "/en/stable/changelog.html", }, - python_requires=">=3.8,<4.0", + python_requires=">=3.10,<4.0", install_requires=dependencies, extras_require={"dev": dev_dependencies, "transcript": transcript_dependencies}, packages=find_packages(), @@ -41,8 +41,6 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", From 8f7d0e714ab8b2232909af3e829d20a2a895009d Mon Sep 17 00:00:00 2001 From: OlteanuRares Date: Tue, 30 Sep 2025 10:01:58 +0300 Subject: [PATCH 2/2] bump version to 2.2.19.dev1 --- docs/changelog.rst | 4 ++++ docs/conf.py | 4 ++-- setup.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 978af420..4052480a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,5 +1,9 @@ Changelog --------- +2.2.19 +^^^^^^ +- Remove support for python 3.8 and 3.9. + 2.2.18 ^^^^^^ - Update changelog and new release tag. diff --git a/docs/conf.py b/docs/conf.py index ccafa4da..8897152d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,9 +53,9 @@ # built documents. # # The short X.Y version. -version = '2.2.18' +version = '2.2.19.dev1' # The full version, including alpha/beta/rc tags. -release = '2.2.18' +release = '2.2.1.dev1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index c7594ea5..4744b6da 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( name="pycaption", - version="2.2.18", + version="2.2.19.dev1", description="Closed caption converter", long_description=open(README_PATH).read(), author="Joe Norton",