Skip to content

Commit 1e6db47

Browse files
authored
[3.13] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997) (#136201)
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 1e6db47

File tree

6 files changed

+16
-9
lines changed

6 files changed

+16
-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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,6 +2554,8 @@ 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+
25572559
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
25582560

25592561
.. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/
@@ -2598,7 +2600,7 @@ Build Changes
25982600

25992601
* The :file:`configure` option :option:`--with-system-libmpdec`
26002602
now defaults to ``yes``.
2601-
The bundled copy of ``libmpdecimal`` will be removed in Python 3.15.
2603+
The bundled copy of ``libmpdec`` will be removed in Python 3.16.
26022604

26032605
* Python built with :file:`configure` :option:`--with-trace-refs`
26042606
(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)