Opened 7 hours ago

Last modified 5 hours ago

#70998 new defect

libpsl: Use python312 — at Version 1

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 (1)

comment:1 Changed 7 hours 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 setlibpsl: Use python312

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:

# 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
Note: See TracTickets for help on using tickets.