From 9b104e340c9d030a9c725591d1ef6eda3dfc3c05 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 3 Jun 2026 15:52:49 +0300 Subject: [PATCH] Remove redundant check_pyspecific task --- run_release.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/run_release.py b/run_release.py index b7cfe0e3..4bec1733 100755 --- a/run_release.py +++ b/run_release.py @@ -538,25 +538,6 @@ def run_autoconf(db: ReleaseShelf) -> None: ) -def check_pyspecific(db: ReleaseShelf) -> None: - with open( - db["git_repo"] / "Doc" / "tools" / "extensions" / "pyspecific.py" - ) as pyspecific: - for line in pyspecific: - if "SOURCE_URI =" in line: - break - expected_branch = db["release"].branch - expected = ( - f"SOURCE_URI = 'https://github.com/python/cpython/tree/{expected_branch}/%s'" - ) - if expected != line.strip(): - raise ReleaseException( - f"SOURCE_URI is incorrect (it needs changing before beta 1):\n" - f"expected: {expected}\n" - f"got : {line.strip()}" - ) - - def bump_version(db: ReleaseShelf) -> None: with cd(db["git_repo"]): release_mod.bump(db["release"]) @@ -1453,8 +1434,6 @@ def _api_key(api_key: str) -> str: Task(check_cpython_repo_is_clean, "Checking CPython repository is clean"), Task(run_autoconf, "Running autoconf"), Task(check_cpython_repo_is_clean, "Checking CPython repository is clean"), - Task(check_pyspecific, "Checking pyspecific"), - Task(check_cpython_repo_is_clean, "Checking CPython repository is clean"), Task(create_tag, "Create tag"), Task(push_to_local_fork, "Push new tags and branches to private fork"), Task(start_build_release, "Start the build-release workflow"),