[MacPorts] #70998: libpsl: Use python312 (was: cmake still wants to install python310 even when 312 is set)
MacPorts
noreply at macports.org
Mon Sep 30 11:16:54 UTC 2024
#70998: libpsl: Use python312
-----------------------+--------------------
Reporter: Behinder | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libpsl |
-----------------------+--------------------
Changes (by ryandesign):
* port: cmake => libpsl
Old description:
> 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.
New description:
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.
--
Comment:
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
[wiki:ReproducibleBuilds 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 [browser:macports-ports/net/libpsl/Portfile its Portfile] contains
these cautionary comments:
{{{#!tcl
# Please note this port is (indirectly, via cmake) a dependency of the
# various clang-X ports. When updating the port versions (e.g. python)
# used here make sure to ensure that the new port being used uses the
# clang_dependency PortGroup to avoid circular dependencies whilst
building.
# See e.g. https://trac.macports.org/ticket/60419
# DO NOT change this unless you have understood and acted on the above
comment!
set py_ver 3.10
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70998#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list