Skip to content

triton should be compatible with cmake 4 #8245

@LunNova

Description

@LunNova

triton's pyproject.toml currently pins cmake to <4

requires = ["setuptools>=40.8.0", "cmake>=3.20,<4.0", "ninja>=1.11.1", "pybind11>=2.13.1"]

It would be nice if this pin could be relaxed. In nixpkgs triton builds fine with CMake 4, so we're likely to carry a patch to relax this in the short term as we're bumping CMake ahead of NixOS 25.11 Xantusia's release.

I'm not immediately opening a PR to relax the pin as it looks like this was added recently in #6330 to fix breakage on macOS, and I'm not sure what the appropriate change to make would be nor do I have any macOS box available to try out that build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions