Skip to content

Commit 79caac3

Browse files
committed
[3.13] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997)
Rename libmpdecimal -> libmpdec see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html (cherry picked from commit b19c9da) Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent da2c4ef commit 79caac3

File tree

6 files changed

+18
-9
lines changed

6 files changed

+18
-9
lines changed

Doc/deprecations/c-api-pending-removal-in-3.15.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Pending Removal in Python 3.15
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

4-
* The bundled copy of ``libmpdecimal``.
54
* The :c:func:`PyImport_ImportModuleNoBlock`:
65
Use :c:func:`PyImport_ImportModule` instead.
76
* :c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Pending removal in Python 3.16
2+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3+
4+
* The bundled copy of ``libmpdec``.

Doc/whatsnew/3.12.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2231,6 +2231,8 @@ Deprecated
22312231

22322232
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
22332233

2234+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
2235+
22342236
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
22352237

22362238
Removed

Doc/whatsnew/3.13.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,6 +2554,10 @@ Deprecated C APIs
25542554

25552555
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
25562556

2557+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
2558+
2559+
.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
2560+
25572561
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
25582562

25592563
.. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/
@@ -2598,7 +2602,7 @@ Build Changes
25982602

25992603
* The :file:`configure` option :option:`--with-system-libmpdec`
26002604
now defaults to ``yes``.
2601-
The bundled copy of ``libmpdecimal`` will be removed in Python 3.15.
2605+
The bundled copy of ``libmpdec`` will be removed in Python 3.16.
26022606

26032607
* Python built with :file:`configure` :option:`--with-trace-refs`
26042608
(tracing references) is now ABI compatible with the Python release build

configure

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4086,13 +4086,13 @@ AS_VAR_IF([with_system_libmpdec], [yes],
40864086
[have_mpdec=no])
40874087
])],
40884088
[AC_MSG_WARN([m4_normalize([
4089-
the bundled copy of libmpdecimal is scheduled for removal in Python 3.15;
4089+
the bundled copy of libmpdec is scheduled for removal in Python 3.16;
40904090
consider using a system installed mpdecimal library.])])])
40914091

40924092
AS_IF([test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"],
40934093
[AC_MSG_WARN([m4_normalize([
4094-
no system libmpdecimal found; falling back to bundled libmpdecimal
4095-
(deprecated and scheduled for removal in Python 3.15)])])
4094+
no system libmpdec found; falling back to bundled libmpdec
4095+
(deprecated and scheduled for removal in Python 3.16)])])
40964096
USE_BUNDLED_LIBMPDEC()])
40974097

40984098
# Disable forced inlining in debug builds, see GH-94847

0 commit comments

Comments
 (0)