Skip to content

Commit 23a990d

Browse files
authored
[3.14] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997) (#136199)
Rename libmpdecimal -> libmpdec see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html (cherry picked from commit b19c9da)
1 parent 8ba024d commit 23a990d

File tree

7 files changed

+18
-9
lines changed

7 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
@@ -2233,6 +2233,8 @@ Deprecated
22332233

22342234
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
22352235

2236+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
2237+
22362238
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
22372239

22382240
Removed

Doc/whatsnew/3.13.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2547,6 +2547,8 @@ Deprecated C APIs
25472547

25482548
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
25492549

2550+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
2551+
25502552
.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
25512553

25522554
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
@@ -2593,7 +2595,7 @@ Build Changes
25932595

25942596
* The :file:`configure` option :option:`--with-system-libmpdec`
25952597
now defaults to ``yes``.
2596-
The bundled copy of ``libmpdecimal`` will be removed in Python 3.15.
2598+
The bundled copy of ``libmpdec`` will be removed in Python 3.16.
25972599

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

Doc/whatsnew/3.14.rst

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

30543054
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
30553055

3056+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
3057+
30563058
.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
30573059

30583060
.. include:: ../deprecations/c-api-pending-removal-in-future.rst

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
@@ -4211,13 +4211,13 @@ AS_VAR_IF([with_system_libmpdec], [yes],
42114211
[have_mpdec=no])
42124212
])],
42134213
[AC_MSG_WARN([m4_normalize([
4214-
the bundled copy of libmpdecimal is scheduled for removal in Python 3.15;
4214+
the bundled copy of libmpdec is scheduled for removal in Python 3.16;
42154215
consider using a system installed mpdecimal library.])])])
42164216

42174217
AS_IF([test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"],
42184218
[AC_MSG_WARN([m4_normalize([
4219-
no system libmpdecimal found; falling back to bundled libmpdecimal
4220-
(deprecated and scheduled for removal in Python 3.15)])])
4219+
no system libmpdec found; falling back to bundled libmpdec
4220+
(deprecated and scheduled for removal in Python 3.16)])])
42214221
USE_BUNDLED_LIBMPDEC()])
42224222

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

0 commit comments

Comments
 (0)