-
-
Notifications
You must be signed in to change notification settings - Fork 874
Update libmpdec-related instructions #1598
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
base: main
Are you sure you want to change the base?
Conversation
* drop --with-system-libmpdec on macOS (default to yes since 3.13) * recommend deb.sury.org for Debian 12 and Ubuntu 24.04
@@ -823,7 +824,6 @@ some of CPython's modules (for example, ``zlib``). | |||
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \ | |||
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \ | |||
./configure --with-pydebug \ | |||
--with-system-libmpdec \ |
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.
Confirmed builds and tests pass on macOS without this for 3.13
/3.14
/main
.
getting-started/setup-building.rst
Outdated
@@ -783,6 +783,7 @@ some of CPython's modules (for example, ``zlib``). | |||
|
|||
Note that Debian 12 and Ubuntu 24.04 do not have the ``libmpdec-dev`` package. You can safely | |||
remove it from the install list above and the Python build will use a bundled version. | |||
Alternatively, you can install this package from https://deb.sury.org/. |
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.
Alternatively, you can install this package from https://deb.sury.org/. | |
Alternatively, you can install this package from https://deb.sury.org. |
I'm not familiar with this source so will leave for someone else to review if we should recommend it.
But generally, do I get this right: For Debian 12 and Ubuntu 24.04, if users don't use a third-party package source, they'll use the fallback to the bundled copy. But we'll remove that bundled copy in Python 3.16 (branch opens May 2026, final release October 2027).
However, Ubuntu 24.04 is EOL in 2029 (and Debian 12 in June 2026). What is our recommendation to users of Ubuntu 24.04? (And later versions of Ubuntu and Debian)
And also: if the bundled fallback is already deprecated and going away in 3.16, should we be encouraging everyone to start using the replacement (an external copy) already, to help identify potential issues ahead of 3.16?
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'm not familiar with this source so will leave for someone else to review if we should recommend it.
We use that in the CPython CI.
What is our recommendation to users of Ubuntu 24.04?
Em? Use https://deb.sury.org.
And later versions of Ubuntu and Debian
Later versions come with the libmpdec-dev.
should we be encouraging everyone to start using the replacement (an external copy) already
Yes, probably this should be rephrased.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
📚 Documentation preview 📚: https://cpython-devguide--1598.org.readthedocs.build/