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 Xi Ruoyao, 3 months ago

This should be in the LFS trac.

comment:2 by Xi Ruoyao, 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.

in reply to:  2 comment:3 by Bruce Dubbs, 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 Xi Ruoyao, 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.

Last edited 3 months ago by Xi Ruoyao (previous) (diff)

comment:5 by Bruce Dubbs, 3 months ago

Resolution: → overcomebyevents
Status: new → closed

Moving the ticket to LFS. Closing here.

Note: See TracTickets for help on using tickets.