]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-115119: Defer removal of bundled libmpdec to 3.16 (#133997)
authorSergey B Kirpichev <skirpichev@gmail.com>
Wed, 2 Jul 2025 09:20:00 +0000 (12:20 +0300)
committerGitHub <noreply@github.com>
Wed, 2 Jul 2025 09:20:00 +0000 (11:20 +0200)
Rename libmpdecimal -> libmpdec

see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html

Doc/deprecations/c-api-pending-removal-in-3.15.rst
Doc/deprecations/c-api-pending-removal-in-3.16.rst [new file with mode: 0644]
Doc/whatsnew/3.12.rst
Doc/whatsnew/3.13.rst
Doc/whatsnew/3.14.rst
configure
configure.ac

index b87f0a5ecde06f4fcdc127e89ad7237fa82cfd6c..a3e335ecaf432446a43ed950c9331b336a70cb89 100644 (file)
@@ -1,7 +1,6 @@
 Pending removal in Python 3.15
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-* The bundled copy of ``libmpdecimal``.
 * The :c:func:`!PyImport_ImportModuleNoBlock`:
   Use :c:func:`PyImport_ImportModule` instead.
 * :c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`:
diff --git a/Doc/deprecations/c-api-pending-removal-in-3.16.rst b/Doc/deprecations/c-api-pending-removal-in-3.16.rst
new file mode 100644 (file)
index 0000000..9453f83
--- /dev/null
@@ -0,0 +1,4 @@
+Pending removal in Python 3.16
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+* The bundled copy of ``libmpdec``.
index a65f59c0a72315ddac8169d80c8449a02d1ef5fe..7cfdc287b7fad72db1240b2936650e9348fbf7b9 100644 (file)
@@ -2233,6 +2233,8 @@ Deprecated
 
 .. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
 
+.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
+
 .. include:: ../deprecations/c-api-pending-removal-in-future.rst
 
 Removed
index ef7c36d8539dfd5d93ad38ea815ba065a8207e6b..0a3b3b30e016daeb8723aab3134da8338fde5090 100644 (file)
@@ -2546,6 +2546,8 @@ Deprecated C APIs
 
 .. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
 
+.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
+
 .. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
 
 .. include:: ../deprecations/c-api-pending-removal-in-future.rst
@@ -2592,7 +2594,7 @@ Build Changes
 
 * The :file:`configure` option :option:`--with-system-libmpdec`
   now defaults to ``yes``.
-  The bundled copy of ``libmpdecimal`` will be removed in Python 3.15.
+  The bundled copy of ``libmpdec`` will be removed in Python 3.16.
 
 * Python built with :file:`configure` :option:`--with-trace-refs`
   (tracing references) is now ABI compatible with the Python release build
index 8260f8ddc4e08c016fbe006093e774a1efebb29b..c108a94692dca70d41d6fb59e4a6e2e8becb9dda 100644 (file)
@@ -3053,6 +3053,8 @@ Deprecated
 
 .. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
 
+.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
+
 .. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
 
 .. include:: ../deprecations/c-api-pending-removal-in-future.rst
index 3a103c39b62076b454a78723cddad34f5d37ad9a..9df366697b8546aab8f2fe1a6ae7f074e9440a4e 100755 (executable)
--- a/configure
+++ b/configure
@@ -33180,13 +33180,13 @@ printf "%s\n" "$py_cv_module__decimal" >&6; }
 
 if test "x$with_system_libmpdec" = xno
 then :
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the bundled copy of libmpdecimal is scheduled for removal in Python 3.16; consider using a system installed mpdecimal library." >&5
-printf "%s\n" "$as_me: WARNING: the bundled copy of libmpdecimal is scheduled for removal in Python 3.16; consider using a system installed mpdecimal library." >&2;}
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the bundled copy of libmpdec is scheduled for removal in Python 3.16; consider using a system installed mpdecimal library." >&5
+printf "%s\n" "$as_me: WARNING: the bundled copy of libmpdec is scheduled for removal in Python 3.16; consider using a system installed mpdecimal library." >&2;}
 fi
 if test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"
 then :
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no system libmpdecimal found; falling back to pure-Python version for the decimal module" >&5
-printf "%s\n" "$as_me: WARNING: no system libmpdecimal found; falling back to pure-Python version for the decimal module" >&2;}
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no system libmpdec found; falling back to pure-Python version for the decimal module" >&5
+printf "%s\n" "$as_me: WARNING: no system libmpdec found; falling back to pure-Python version for the decimal module" >&2;}
 fi
 
 
index 761d1dbd45cd8e21359f5618814274f6b1e8166f..cb7f2144345b3721a3f791582ee862989082ab4f 100644 (file)
@@ -8129,11 +8129,11 @@ PY_STDLIB_MOD([_decimal],
 
 AS_VAR_IF([with_system_libmpdec], [no],
           [AC_MSG_WARN([m4_normalize([
-     the bundled copy of libmpdecimal is scheduled for removal in Python 3.16;
+     the bundled copy of libmpdec is scheduled for removal in Python 3.16;
      consider using a system installed mpdecimal library.])])])
 AS_IF([test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"],
       [AC_MSG_WARN([m4_normalize([
-         no system libmpdecimal found; falling back to pure-Python version
+         no system libmpdec found; falling back to pure-Python version
          for the decimal module])])])
 
 PY_STDLIB_MOD([_dbm],