Opened 7 weeks ago
Last modified 7 weeks ago
#70998 new defect
libpsl: Use python312
Reported by: | Behinder (behinder) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | libpsl |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I checked the code in Portfile, it is stated there that if python version is set then variant is created for that version. In my case it is 3.12.
port select --list python Available versions for python: none python312 (active)
and cmake still want to use 3.10 which is wrong. It is even more wrong that C build system uses Python as dependency.
Change History (3)
comment:1 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | libpsl added; cmake removed |
Summary: | cmake still wants to install python310 even when 312 is set → libpsl: Use python312 |
comment:2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Note that switching libpsl to python312 was already attempted once without regard for the above comments and it had to be reverted because that broke things.
comment:3 Changed 7 weeks ago by jmroot (Joshua Root)
The other half of the problem is that Python as of 3.11 now requires a C11 compiler, meaning it has to be built with a macports-clang on some systems.
Note: See
TracTickets for help on using
tickets.
What you have selected using
port select
is for your convenience on the command line only. Ports will not use it; that would not be reproducible.The cmake port does not depend on any python.
cmake depends on curl which depends on libpsl which depends on python310.
libpsl could potentially be changed to use python312 instead of python310 but its Portfile contains these cautionary comments: