From: Erlend E. Aasland Date: Fri, 1 Nov 2024 08:17:54 +0000 (+0100) Subject: gh-126206: make clinic now forcefully regenerates clinic code (#126244) X-Git-Tag: v3.14.0a2~218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43447cb63421fb4db5411c1e74bdd8a4cfcf9263;p=thirdparty%2FPython%2Fcpython.git gh-126206: make clinic now forcefully regenerates clinic code (#126244) --- diff --git a/Makefile.pre.in b/Makefile.pre.in index aa7fa4e29d84..b0263f9f4c21 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -904,7 +904,7 @@ coverage-report: regen-token regen-frozen # Run "Argument Clinic" over all source files .PHONY: clinic clinic: check-clean-src - $(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --make --exclude Lib/test/clinic.test.c --srcdir $(srcdir) + $(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --force --make --exclude Lib/test/clinic.test.c --srcdir $(srcdir) .PHONY: clinic-tests clinic-tests: check-clean-src $(srcdir)/Lib/test/clinic.test.c diff --git a/Misc/NEWS.d/next/Build/2024-10-31-15-37-05.gh-issue-126206.oC6z2i.rst b/Misc/NEWS.d/next/Build/2024-10-31-15-37-05.gh-issue-126206.oC6z2i.rst new file mode 100644 index 000000000000..24b172e17474 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2024-10-31-15-37-05.gh-issue-126206.oC6z2i.rst @@ -0,0 +1,2 @@ +``make clinic`` now runs Argument Clinic using the ``--force`` option, +thus forcefully regenerating generated code.