Opened 3 months ago
Closed 3 months ago
#23488 closed enhancement (overcomebyevents)
Consider adding mpdecimal
| Reported by: | Bruce Dubbs | Owned by: | blfs-book |
|---|---|---|---|
| Priority: | normal | Milestone: | 13.1 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
From lfs-dev Chase Knowlden:
"mpdecimal going to be required for the upcoming Python 3.16 release. Should we add it early so we don't have to add it until 2027? Arch and Gentoo already use and install mpdecimal before Python is even built."
Change History (5)
comment:1 by , 3 months ago
follow-up: 3 comment:2 by , 3 months ago
Anyway I'm already doing this for my builds. mpdecimal does not have additional dependencies so it can be simply added before ch. 07 and ch. 08 Python.
comment:3 by , 3 months ago
Replying to Xi Ruoyao:
Anyway I'm already doing this for my builds. mpdecimal does not have additional dependencies so it can be simply added before ch. 07 and ch. 08 Python.
Is it really needed in Chapter 7?
comment:4 by , 3 months ago
Not now but after Python 3.16 it will be needed in ch.07. The "int" type in Python (i.e. the type of a simple "42" or "0") is defined multi-precision so the multi-precision integer support is mandatory, not optional.
Currently we are relying on a mpdecimal copy shipped in Python but it'll be removed in 3.16.
comment:5 by , 3 months ago
| Resolution: | → overcomebyevents |
|---|---|
| Status: | new → closed |
Moving the ticket to LFS. Closing here.

This should be in the LFS trac.