Skip to content

build(deps): pin cmake>=4.3.4 to match build-system floor - #79

Open
drunkcoding wants to merge 1 commit into
mainfrom
build/pin-cmake-4.3.4
Open

build(deps): pin cmake>=4.3.4 to match build-system floor#79
drunkcoding wants to merge 1 commit into
mainfrom
build/pin-cmake-4.3.4

Conversation

@drunkcoding

Copy link
Copy Markdown
Collaborator

What

Pin cmake to >=4.3.4 in requirements.txt (was unpinned).

Why

After #76 bumped [build-system].requires to cmake>=4.3.4 in pyproject.toml, the canonical Docker environment was still resolving to the PyTorch base image's pre-installed cmake 4.2.3 — because requirements.txt left cmake unpinned, so pip treated the requirement as already satisfied and never upgraded. The Dockerfile builds with --no-build-isolation, so the [build-system].requires floor is never consulted; the build uses whatever cmake is on PATH.

Result: the project declared a need for cmake ≥ 4.3.4 but the actual build ran on 4.2.3. This aligns the environment with the declaration.

Verification

Built + tested in Docker (8× RTX A5000) from this branch:

Check Result
cmake --version in image 4.3.4 (was 4.2.3 — pin took effect)
which cmake /usr/local/bin/cmake
Docker build success — vendored protobuf 3.13 compiles under cmake 4.3.4 via the existing CMAKE_POLICY_VERSION_MINIMUM 3.5 shim in tests/cpp/CMakeLists.txt
pytest tests 116 passed, 8 skipped

No runtime behavior changes; build-input hygiene only.

requirements.txt left cmake unpinned, so the Docker image resolved to the
base image's pre-installed cmake 4.2.3 while pyproject.toml [build-system]
requires cmake>=4.3.4 (#76). Pin requirements.txt to cmake>=4.3.4 so the
canonical environment matches the declared build floor.

Verified in Docker (8x A5000): the image now installs cmake 4.3.4, the
vendored protobuf 3.13 compiles under it (via the existing
CMAKE_POLICY_VERSION_MINIMUM 3.5 shim in tests/cpp/CMakeLists.txt), and the
full suite passes (116 passed, 8 skipped).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant