@@ -538,25 +538,6 @@ def run_autoconf(db: ReleaseShelf) -> None:
538538 )
539539
540540
541- def check_pyspecific (db : ReleaseShelf ) -> None :
542- with open (
543- db ["git_repo" ] / "Doc" / "tools" / "extensions" / "pyspecific.py"
544- ) as pyspecific :
545- for line in pyspecific :
546- if "SOURCE_URI =" in line :
547- break
548- expected_branch = db ["release" ].branch
549- expected = (
550- f"SOURCE_URI = 'https://github.com/python/cpython/tree/{ expected_branch } /%s'"
551- )
552- if expected != line .strip ():
553- raise ReleaseException (
554- f"SOURCE_URI is incorrect (it needs changing before beta 1):\n "
555- f"expected: { expected } \n "
556- f"got : { line .strip ()} "
557- )
558-
559-
560541def bump_version (db : ReleaseShelf ) -> None :
561542 with cd (db ["git_repo" ]):
562543 release_mod .bump (db ["release" ])
@@ -1453,8 +1434,6 @@ def _api_key(api_key: str) -> str:
14531434 Task (check_cpython_repo_is_clean , "Checking CPython repository is clean" ),
14541435 Task (run_autoconf , "Running autoconf" ),
14551436 Task (check_cpython_repo_is_clean , "Checking CPython repository is clean" ),
1456- Task (check_pyspecific , "Checking pyspecific" ),
1457- Task (check_cpython_repo_is_clean , "Checking CPython repository is clean" ),
14581437 Task (create_tag , "Create tag" ),
14591438 Task (push_to_local_fork , "Push new tags and branches to private fork" ),
14601439 Task (start_build_release , "Start the build-release workflow" ),
0 commit comments