Skip to content

[Python][CI] Remove use of CMAKE_POLICY_VERSION_MINIMUM on musllinux #47801

Open

Description

@AlenkaF

Describe the enhancement requested

When adding support for Python 3.14 the musllinux wheels started failing due to

  #14 16.69 CMake Error at /opt/vcpkg/buildtrees/_vcpkg/build/_deps/cmakerc-src/CMakeRC.cmake:37 (cmake_minimum_required):
  #14 16.69   Compatibility with CMake < 3.5 has been removed from CMake.
  #14 16.69 
  #14 16.69   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  #14 16.69   to tell CMake that the project requires at least <min> but has been updated
  #14 16.69   to work with policies introduced by <max> or earlier.
  #14 16.69 
  #14 16.69   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

see: #47616 (comment)

Specifying CMAKE_POLICY_VERSION_MINIMUM helped, as per #47616 (comment). In the future it would be better if we can remove the use of it, see #47616 (comment).

Component(s)

Continuous Integration, Python

Activity

  1. github-actions commented on Oct 14, 2026

    @github-actions

    This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.

  2. added
    Status: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwise
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions