#66343 closed defect (fixed)

cmake @3.24.3 +docs+python310 - cannot build as it wants py311-sphinx

Reported by: snowflake (Dave Evans) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.8.99
Keywords: Cc: Schamschula (Marius Schamschula)
Port: cmake

Description

cmake did not upgrade today with the documentation variants.

I tried port -s upgrade --enforce-variants cmake +docs +python39

I also tried it with +python310

Both attempts failed with:

sudo port -s upgrade --enforce-variants cmake +docs +python310
Warning: No port py311-sphinx found in the index.
Warning: No port py311-sphinxcontrib-applehelp found in the index.
Warning: No port py311-sphinxcontrib-devhelp found in the index.
Warning: No port py311-sphinxcontrib-htmlhelp found in the index.
Warning: No port py311-sphinxcontrib-jsmath found in the index.
Warning: No port py311-sphinxcontrib-qthelp found in the index.
Warning: No port py311-sphinxcontrib-serializinghtml found in the index.
Warning: No port py311-sphinxcontrib-websupport found in the index.
--->  Computing dependencies for cmake
Error: Dependency 'py311-sphinx' not found.

Change History (4)

comment:1 Changed 22 months ago by jmroot (Joshua Root)

The +python311 variant having nonexistent dependencies is a problem that's being worked on. But what's worse is this:

% port deps cmake +docs +python310
Full Name: cmake @3.24.3_0+docs+python310
Extract Dependencies: lbzip2
Build Dependencies:   py311-sphinx, py311-sphinxcontrib-applehelp,
                      py311-sphinxcontrib-devhelp, py311-sphinxcontrib-htmlhelp,
                      py311-sphinxcontrib-jsmath, py311-sphinxcontrib-qthelp,
                      py311-sphinxcontrib-serializinghtml,
                      py311-sphinxcontrib-websupport
Library Dependencies: libcxx, curl, expat, zlib, bzip2, libarchive, ncurses,
                      libuv

i.e. +python310 (or indeed any python variant) adds py311 dependencies instead of the requested version.

comment:2 Changed 22 months ago by jmroot (Joshua Root)

This is exactly the same problem as #62402, just with a new python version.

comment:3 Changed 22 months ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:4 Changed 22 months ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.