From c39032dfd9f9bfa129a2bd63066f9979ba149e72 Mon Sep 17 00:00:00 2001 From: priya-sundaram-dev Date: Fri, 28 Aug 2026 05:59:08 +0000 Subject: [PATCH 1/5] ci: try Python 3.15 release candidate (DRAFT) Point CI workflows at the 3.15 RC (allow-prereleases already enabled) and add the 3.15 trove classifier, to document which dependencies and tests are not yet ready. Must stay in DRAFT until Python 3.15 has a production release (early October). Requested in #15081. --- .github/workflows/build.yml | 2 +- .github/workflows/directory_writer.yml | 2 +- .github/workflows/project_euler.yml | 4 ++-- .github/workflows/sphinx.yml | 2 +- pyproject.toml | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ed88a88f2bb..8df0cc8bde2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: cache-dependency-glob: uv.lock - uses: actions/setup-python@v7 with: - python-version-file: pyproject.toml + python-version: 3.15 allow-prereleases: true - run: uv sync --group=test - name: Run tests diff --git a/.github/workflows/directory_writer.yml b/.github/workflows/directory_writer.yml index 9df64222cd56..63996262f752 100644 --- a/.github/workflows/directory_writer.yml +++ b/.github/workflows/directory_writer.yml @@ -11,7 +11,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v7 with: - python-version-file: pyproject.toml + python-version: 3.15 allow-prereleases: true - name: Write DIRECTORY.md run: | diff --git a/.github/workflows/project_euler.yml b/.github/workflows/project_euler.yml index 06f865f0bcdf..02518dcdef89 100644 --- a/.github/workflows/project_euler.yml +++ b/.github/workflows/project_euler.yml @@ -25,7 +25,7 @@ jobs: - uses: astral-sh/setup-uv@v7 - uses: actions/setup-python@v7 with: - python-version-file: pyproject.toml + python-version: 3.15 allow-prereleases: true - run: uv sync --group=euler-validate --group=test - run: uv run pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/ @@ -43,7 +43,7 @@ jobs: - uses: astral-sh/setup-uv@v7 - uses: actions/setup-python@v7 with: - python-version-file: pyproject.toml + python-version: 3.15 allow-prereleases: true - run: uv sync --group=euler-validate --group=test - run: uv run pytest scripts/validate_solutions.py diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 3828bea0eaf0..9595b2ab2518 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -36,7 +36,7 @@ jobs: - uses: astral-sh/setup-uv@v7 - uses: actions/setup-python@v7 with: - python-version-file: pyproject.toml + python-version: 3.15 allow-prereleases: true - run: uv sync --group=docs - uses: actions/configure-pages@v6 diff --git a/pyproject.toml b/pyproject.toml index 1a55feda3cbb..6ffa19462dd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,7 @@ requires-python = ">=3.14" classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ] dependencies = [ "beautifulsoup4>=4.12.3", From 9beb61069d8ee26f4fce8b7d516d65ea4962a92a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:58:08 +0000 Subject: [PATCH 2/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6ffa19462dd9..1a55feda3cbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ requires-python = ">=3.14" classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.14", - "Programming Language :: Python :: 3.15", ] dependencies = [ "beautifulsoup4>=4.12.3", From d634a87ad3ee163c187306efcd27e0c66643ff34 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 29 Aug 2026 01:44:21 +0200 Subject: [PATCH 3/5] pyproject.toml: dependencies = [ "beautifulsoup4>=4.15.0" ] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1a55feda3cbb..5fe4721d4e03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] dependencies = [ - "beautifulsoup4>=4.12.3", + "beautifulsoup4>=4.15.0", "cython>=3.1.2", "fake-useragent>=1.5.1", "httpx>=0.28.1", From 483474d9bffc2c4c8b9218e826e7c6b700422443 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 23:44:34 +0000 Subject: [PATCH 4/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5fe4721d4e03..ac16ba1198a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] dependencies = [ - "beautifulsoup4>=4.15.0", + "beautifulsoup4>=4.15", "cython>=3.1.2", "fake-useragent>=1.5.1", "httpx>=0.28.1", From 3f0f72f2eb753d2d155b19c4b5e6954ee60eb6d5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 29 Aug 2026 02:07:33 +0200 Subject: [PATCH 5/5] Apply suggestion from @cclauss --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ac16ba1198a2..1a55feda3cbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] dependencies = [ - "beautifulsoup4>=4.15", + "beautifulsoup4>=4.12.3", "cython>=3.1.2", "fake-useragent>=1.5.1", "httpx>=0.28.1",