Skip to content

Commit

Permalink
All branches are now specifying their needed Sphinx version.
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPalard committed Sep 8, 2021
1 parent 12fad88 commit 59490fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ Install `tools_requirements.txt` then run `python check_versions.py
../cpython/` (pointing to a real CPython clone) to see which version
of Sphinx we're using where:

Docs build server is configured to use Sphinx 2.3.1

Sphinx configuration in various branches:

======== ============= ============= ================== ==================== ============= ===============
Expand Down
8 changes: 1 addition & 7 deletions check_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def parse_args():


def remote_by_url(repo: git.Repo, url_pattern: str):
"""Find a remote of repo matching the regex url_pattern.
"""
"""Find a remote of repo matching the regex url_pattern."""
for remote in repo.remotes:
for url in remote.urls:
if re.search(url_pattern, url):
Expand Down Expand Up @@ -120,11 +119,6 @@ def main():
logging.basicConfig(level=logging.INFO)
args = parse_args()
repo = git.Repo(args.cpython_clone)
print(
"Docs build server is configured to use Sphinx",
build_docs.DEFAULT_SPHINX_VERSION,
)
print()
print("Sphinx configuration in various branches:", end="\n\n")
search_sphinx_versions_in_cpython(repo)
print()
Expand Down

0 comments on commit 59490fa

Please sign in to comment.