Changes between Initial Version and Version 1 of Ticket #70998


Ignore:
Timestamp:
Sep 30, 2024, 11:16:54 AM (5 hours ago)
Author:
ryandesign (Ryan Carsten Schmidt)
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 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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70998

    • Property Port libpsl added; cmake removed
    • Property Summary changed from cmake still wants to install python310 even when 312 is set to libpsl: Use python312
  • Ticket #70998 – Description

    initial v1  
    11I 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.
    2 `port select --list python
     2{{{
     3port select --list python
    34Available versions for python:
    45        none
    5         python312 (active)`
     6        python312 (active)
     7}}}
    68
    79and cmake still want to use 3.10 which is wrong. It is even more wrong that C build system uses Python as dependency.