-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-115119: Removed bundled copy of the libmpdec #133964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-115119: Removed bundled copy of the libmpdec #133964
Conversation
7cba56a
to
9d6c9b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick comments, haven't looked at build system changes
.. option:: --with-system-libmpdec | ||
|
||
Build the ``_decimal`` extension module using an installed ``mpdecimal`` | ||
library, see the :mod:`decimal` module (default is yes). | ||
|
||
.. versionadded:: 3.3 | ||
|
||
.. versionchanged:: 3.13 | ||
Default to using the installed ``mpdecimal`` library. | ||
|
||
.. deprecated-removed:: 3.13 3.15 | ||
A copy of the ``mpdecimal`` library sources will no longer be distributed | ||
with Python 3.15. | ||
|
||
.. seealso:: :option:`LIBMPDEC_CFLAGS` and :option:`LIBMPDEC_LIBS`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it's worth keeping a mention of --with-system-libmpdec
, just for the purpose of saying it's been removed? Unsure though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something that expected for removed stuff?
I see one removed option, --with-wctype-functions
- it's only in whatsnew.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This comment was marked as resolved.
This comment was marked as resolved.
Ubuntu is failing as version 24.04 doesn't have a libmpdec-dev package so the A |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Yes. One solution is build it for CI by usual "./configure && make && make install". Other - filter out the Edit: I did proposed (module marked as n/a if libmpdec is missing). One Linux job works now on the ubuntu 22.04, which has an appropriate libmpdec version. PS: |
0a33f9f
to
2ba6b8b
Compare
libmpdec
sources #115119📚 Documentation preview 📚: https://cpython-previews--133964.org.readthedocs.build/