We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7930d commit 2a37f94Copy full SHA for 2a37f94
1 file changed
generate.py
@@ -37,7 +37,9 @@ def get_completion_progress() -> Iterator[LanguageProjectData]:
37
branch=latest_branch,
38
)
39
else:
40
- Repo(cpython_dir).git.pull()
+ (cpython_repo := Repo(cpython_dir)).git.fetch()
41
+ cpython_repo.git.switch(latest_branch)
42
+ cpython_repo.git.pull()
43
subprocess.run(['make', '-C', cpython_dir / 'Doc', 'venv'], check=True)
44
try:
45
subprocess.run(['make', '-C', cpython_dir / 'Doc', 'gettext'], check=True)
0 commit comments