Revert "doc: add social cards generation support in sphinxext-opengraph (#129085)" (#129106)
https://github.com/python/cpython/commit/e65a1eb93ae35f9fbab1508606e3fbc8912... commit: e65a1eb93ae35f9fbab1508606e3fbc89123629f branch: main author: Adam Turner <9087854+AA-Turner@users.noreply.github.com> committer: FFY00 <filipe.lains@gmail.com> date: 2025-01-20T23:53:33Z summary: Revert "doc: add social cards generation support in sphinxext-opengraph (#129085)" (#129106) files: D Doc/requirements-no-build.txt M Doc/Makefile diff --git a/Doc/Makefile b/Doc/Makefile index 53af6aca659cef..b8896da4a91869 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -13,8 +13,7 @@ JOBS = auto PAPER = SOURCES = DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) -IS_PYTHON_BUILD = $(shell $(PYTHON) -c 'import sysconfig; print("true") if sysconfig.is_python_build() else None') -REQUIREMENTS = $(if $(IS_PYTHON_BUILD),requirements.txt,requirements-no-build.txt) +REQUIREMENTS = requirements.txt SPHINXERRORHANDLING = --fail-on-warning # Internal variables. diff --git a/Doc/requirements-no-build.txt b/Doc/requirements-no-build.txt deleted file mode 100644 index 8b3c4d410a75a3..00000000000000 --- a/Doc/requirements-no-build.txt +++ /dev/null @@ -1,7 +0,0 @@ --r requirements.txt - -# Requirements when not running the build Python, -# such as optional native extensions. - -# Needed to support generating social cards in sphinxext-opengraph. ---only-binary matplotlib
participants (1)
-
FFY00