From df89b9938766d8a75967d6ee74de9a72226cd6d0 Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Mon, 27 Apr 2026 09:41:38 +0200 Subject: [PATCH 1/2] Drop Python 3.8 support, bump all dependencies to latest Python 3.8 reached EOL in Oct 2024. Multiple dependencies (numpy, selenium, pytest-mock, requests) have already dropped 3.8 support, causing CI failures on dependabot PRs. - CI matrix: 3.8-3.11 -> 3.9-3.13 - setup.py: python_requires>=3.9, updated classifiers - requirements.txt: requests 2.32.5, beautifulsoup4 4.14.3, lxml 5.4.0, Pillow 11.2.1 - requirements-dev.txt: pytest 8.3.5, pytest-cov 6.2.1, pytest-mock 3.15.1, selenium 4.36.0, numpy 2.2.6 - setup.py extras_require: aligned with requirements files --- .github/workflows/main.yml | 2 +- requirements-dev.txt | 10 +++++----- requirements.txt | 8 ++++---- setup.py | 19 ++++++++++--------- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62cc8fa..affc475 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout code diff --git a/requirements-dev.txt b/requirements-dev.txt index 6d0845b..d523f92 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ -pytest>=7.4.4 -pytest-cov>=4.1.0 -pytest-mock>=3.11.0 -selenium>=4.10.0 +pytest>=8.3.5 +pytest-cov>=6.2.1 +pytest-mock>=3.15.1 +selenium>=4.36.0 webdriver-manager>=4.0.2 -numpy>=1.24.0 +numpy>=2.2.6 diff --git a/requirements.txt b/requirements.txt index 72c7ade..465b0cb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -requests>=2.31.0 -beautifulsoup4>=4.12.0 -lxml>=4.9.4 -Pillow>=10.0.0 +requests>=2.32.5 +beautifulsoup4>=4.14.3 +lxml>=5.4.0 +Pillow>=11.2.1 diff --git a/setup.py b/setup.py index 5c2dcad..0acd885 100644 --- a/setup.py +++ b/setup.py @@ -24,23 +24,24 @@ "Topic :: Internet :: WWW/HTTP", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "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", + "Programming Language :: Python :: 3.13", ], - python_requires=">=3.8", + python_requires=">=3.9", install_requires=[ - "requests>=2.31.0", - "beautifulsoup4>=4.12.0", - "lxml>=4.9.0", + "requests>=2.32.5", + "beautifulsoup4>=4.14.3", + "lxml>=5.4.0", ], extras_require={ "visual": [ - "selenium>=4.15.0", - "Pillow>=10.0.0", - "webdriver-manager>=4.0.0", - "numpy>=1.24.0", + "selenium>=4.36.0", + "Pillow>=11.2.1", + "webdriver-manager>=4.0.2", + "numpy>=2.2.6", ], }, entry_points={ From c0820b0e62acd563ebbaad0e360fe9df6e3df8d4 Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Mon, 27 Apr 2026 09:45:48 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Drop=20Python=203.9=20from=20CI=20matrix=20?= =?UTF-8?q?=E2=80=94=20numpy=202.2+=20requires=203.10+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index affc475..e558c53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout code diff --git a/setup.py b/setup.py index 0acd885..6b951f9 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ], - python_requires=">=3.9", + python_requires=">=3.10", install_requires=[ "requests>=2.32.5", "beautifulsoup4>=4.14.3",