Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-115119: removed implicit fallback to the bundled libmpdec#134078

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
skirpichev wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromskirpichev:remove-fallback-to-bundled-mpdec/115119

Conversation

skirpichev
Copy link
Member

@skirpichevskirpichev commentedMay 16, 2025
edited by github-actionsbot
Loading

@bedevere-appbedevere-appbot mentioned this pull requestMay 16, 2025
15 tasks
@skirpichev
Copy link
MemberAuthor

skirpichev commentedMay 16, 2025
edited
Loading

On top of configure changes in#133997.

N/B: all linux jobs, except for changed (not sure if it worth) - haveno system libmpdec. For MacOS we run tests with system libmpdec.

Comment on lines 4141 to +4144
[AC_MSG_WARN([m4_normalize([
no system libmpdecimal found; falling back tobundled libmpdecimal
(deprecated and scheduledforremoval in Python 3.15)])])
USE_BUNDLED_LIBMPDEC()])
no system libmpdecimal found; falling back topure-Python version
forthe decimal module])])
AS_VAR_SET([py_cv_module_]_decimal, [n/a])])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

AC_MSG_ERROR? I think opting in to the pure Python version should be explicit.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

AC_MSG_ERROR ?

Well, that could be an option.

Though, more complex wrt implementation: all linux jobs will fail, unless we either provide system libmpdec or change ./configure invocations to use a new option.

I think opting in to the pure Python version should be explicit.

I'm not sure it's useful. After all, the pure-Python version is always available as the_pydecimal.py.

Did you suggest a new option like--with-purepython-decimal?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AA-TurnerAA-TurnerAA-Turner left review comments

@erlend-aaslanderlend-aaslandAwaiting requested review from erlend-aaslanderlend-aasland is a code owner

@corona10corona10Awaiting requested review from corona10corona10 is a code owner

@ezio-melottiezio-melottiAwaiting requested review from ezio-melotti

@hugovkhugovkAwaiting requested review from hugovk

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@skirpichev@AA-Turner

[8]ページ先頭

©2009-2025 Movatter.jp