Skip to content

Commit 5fe7750

Browse files
committed
chore: apply patch in Makefile for handling Sphinx version issue
1 parent 96d9bd5 commit 5fe7750

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ help:
5757
@python3 -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
5858

5959
clone: ## Clone latest cpython repository to `../cpython/` if it doesn't exist
60-
git clone --depth 1 --no-single-branch https://github.com/mattwang44/cpython.git $(CPYTHON_CLONE) || echo "cpython exists"
61-
cd $(CPYTHON_CLONE) && git checkout fix-pyspecific-sphinx-locale-gettext
60+
git clone --depth 1 --no-single-branch https://github.com/python/cpython.git $(CPYTHON_CLONE) || echo "cpython exists"
61+
cd $(CPYTHON_CLONE) && git checkout $(BRANCH)
62+
curl -L https://github.com/python/cpython/commit/383f9a7.patch/\?full_index\=1 | git apply -v --index
6263

6364

6465
$(VENV)/bin/activate:
@@ -67,7 +68,7 @@ $(VENV)/bin/activate:
6768

6869

6970
$(VENV)/bin/sphinx-build: $(VENV)/bin/activate
70-
. $(VENV)/bin/activate; python3 -m pip install "sphinx==5.3" python-docs-theme
71+
. $(VENV)/bin/activate; python3 -m pip install sphinx python-docs-theme
7172

7273

7374
$(VENV)/bin/blurb: $(VENV)/bin/activate

0 commit comments

Comments
 (0)