-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-115119: Default to --with-system-libmpdec=yes #118539
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
Merged
erlend-aasland
merged 14 commits into
python:main
from
erlend-aasland:libmpdec-default-to-system-lib
May 6, 2024
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
268d270
gh-115119: Default to --with-system-libmpdec=yes
erlend-aasland 45173e3
Pull in main
erlend-aasland 6f020d0
Use the same style as the surrounding code
erlend-aasland fe56023
Fail if --with-system-libmpdec is given but no library was found
erlend-aasland 0006897
Address review: warn if bundled version is used
erlend-aasland 4f87c91
Address review: warn if system library was not found
erlend-aasland f8f4ea2
For now, build with bundled libmpdec in Ubuntu CIs
erlend-aasland 8e80866
Add NEWS
erlend-aasland e51c1f7
What's New
erlend-aasland a971a26
Actually use bundled version if told to do so
erlend-aasland e3f3e17
Address review: add deprecated-removed directive regarding the remova…
erlend-aasland c84f2b7
Add libmpdec-dev to CI deps, remove CI hack, and enforce mpdecimal ve…
erlend-aasland 161d50b
Pull in main
erlend-aasland 1016f0d
Make the mpdec link check more accurate, and use LIBS iso. LDFLAGS
erlend-aasland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Build/2024-05-06-00-39-06.gh-issue-115119.LT27pF.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The :file:`configure` option :option:`--with-system-libmpdec` now defaults to ``yes``. | ||
The bundled copy of ``libmpdecimal`` will be removed in Python 3.15. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@hugovk: FYI, this will fail for Ubuntu 24.04, as
libmpdec-dev
is unavailable there.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've been trying to figure out why that is, and have come up short (I get lost quickly in the Debian/Ubuntu development process). All I've found is a note from @doko42 in the Ubuntu
python3.11 3.11.2-4
changelog, saying "Build with internal mpdecimal library, so that mpdecimal can be removed for bookworm." (and indeed, Debian bookworm does not have a libmpdec package either).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.
Found it:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013395
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.
... and:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056785