Skip to content

Pin cmake==3.31.6#150158

Closed
clee2000 wants to merge 2 commits intomainfrom
csl/cmake-3.31.6
Closed

Pin cmake==3.31.6#150158
clee2000 wants to merge 2 commits intomainfrom
csl/cmake-3.31.6

Conversation

@clee2000
Copy link
Copy Markdown
Contributor

@clee2000 clee2000 commented Mar 28, 2025

I'm not sure if this is the right think to do, but cmake 4.0.0 got released on pypi and our builds are failing with it

Example:
https://hud.pytorch.org/pytorch/pytorch/commit/aa70d62041c28fe35c416aa932b32ef0e4d5bc33#39555975425-box

I guess we have to go change all the cmake_minimum_required to >=3.5?

backwards compat still failing because its building with the base commit which this pr can't really change until it gets merged, but at least manywheel binary builds got past where they were originally failing

Also pin the conda installation, but the most recent version on conda is 3.31.2

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Mar 28, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/150158

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 67 Pending

As of commit 3f2b714 with merge base ddb1e97 (image):

NEW FAILURE - The following job has failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Mar 28, 2025
@clee2000 clee2000 added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 28, 2025
@clee2000 clee2000 marked this pull request as ready for review March 28, 2025 04:17
@clee2000 clee2000 requested a review from a team March 28, 2025 05:01
@chuanqi129
Copy link
Copy Markdown
Collaborator

chuanqi129 commented Mar 28, 2025

Hi @clee2000 we also found this issue on release 2.7 branch, the new cmake 4.0 release broken the build https://github.com/pytorch/pytorch/actions/runs/14118380542/job/39553773444#step:6:5464, and for linux ci build job, seems not install requirements.txt, could you please limit the cmake version <4.0 in https://github.com/pytorch/pytorch/blob/main/.ci/docker/common/install_conda.sh#L83 here also? And we need cherry-pick this fix to release/2.7 ASAP

@chuanqi129 chuanqi129 requested review from atalman and malfet March 28, 2025 05:24
Copy link
Copy Markdown
Collaborator

@chuanqi129 chuanqi129 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clee2000 clee2000 requested a review from jeffdaily as a code owner March 28, 2025 15:13
@clee2000
Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "fixing failures"

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge failed

Reason: Approvers from one of the following sets are needed:

  • superuser (pytorch/metamates)
  • Core Reviewers (mruberry, lezcano, Skylion007, ngimel, peterbell10, ...)
  • Core Maintainers (soumith, gchanan, ezyang, dzhulgakov, malfet, ...)
Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@malfet
Copy link
Copy Markdown
Contributor

malfet commented Mar 28, 2025

@pytorchbot merge -f "Abracadabra"

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Mar 28, 2025

You need to provide a reason for using force merge, in the format @pytorchbot merge -f 'Explanation'.
The explanation needs to be clear on why this is needed. Here are some good examples:

  • Bypass checks due to unrelated upstream failures from ...
  • This is a minor fix to ..., which shouldn't break anything
  • This is pre-tested in a previous CI run
  • Bypass flaky ... check

@malfet
Copy link
Copy Markdown
Contributor

malfet commented Mar 28, 2025

@pytorchbot merge -f "Bibbidi! Bobbidi... boo!"

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@malfet
Copy link
Copy Markdown
Contributor

malfet commented Mar 28, 2025

@pytorchbot cherry-pick --onto release/2.7 --c critical

pytorchbot pushed a commit that referenced this pull request Mar 28, 2025
I'm not sure if this is the right think to do, but cmake 4.0.0 got released on pypi and our builds are failing with it

Example:
https://hud.pytorch.org/pytorch/pytorch/commit/aa70d62041c28fe35c416aa932b32ef0e4d5bc33#39555975425-box

I guess we have to go change all the cmake_minimum_required to >=3.5?

backwards compat still failing because its building with the base commit which this pr can't really change until it gets merged, but at least manywheel binary builds got past where they were originally failing

Also pin the conda installation, but the most recent version on conda is 3.31.2
Pull Request resolved: #150158
Approved by: https://github.com/cyyever, https://github.com/malfet

(cherry picked from commit 0ece461)
@pytorchbot
Copy link
Copy Markdown
Collaborator

Cherry picking #150158

The cherry pick PR is at #150193 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

malfet pushed a commit that referenced this pull request Mar 28, 2025
Pin cmake==3.31.6 (#150158)

I'm not sure if this is the right think to do, but cmake 4.0.0 got released on pypi and our builds are failing with it

Example:
https://hud.pytorch.org/pytorch/pytorch/commit/aa70d62041c28fe35c416aa932b32ef0e4d5bc33#39555975425-box

I guess we have to go change all the cmake_minimum_required to >=3.5?

backwards compat still failing because its building with the base commit which this pr can't really change until it gets merged, but at least manywheel binary builds got past where they were originally failing

Also pin the conda installation, but the most recent version on conda is 3.31.2
Pull Request resolved: #150158
Approved by: https://github.com/cyyever, https://github.com/malfet

(cherry picked from commit 0ece461)

Co-authored-by: Catherine Lee <csl@fb.com>
amathewc pushed a commit to amathewc/pytorch that referenced this pull request Apr 17, 2025
I'm not sure if this is the right think to do, but cmake 4.0.0 got released on pypi and our builds are failing with it

Example:
https://hud.pytorch.org/pytorch/pytorch/commit/aa70d62041c28fe35c416aa932b32ef0e4d5bc33#39555975425-box

I guess we have to go change all the cmake_minimum_required to >=3.5?

backwards compat still failing because its building with the base commit which this pr can't really change until it gets merged, but at least manywheel binary builds got past where they were originally failing

Also pin the conda installation, but the most recent version on conda is 3.31.2
Pull Request resolved: pytorch#150158
Approved by: https://github.com/cyyever, https://github.com/malfet
@github-actions github-actions Bot deleted the csl/cmake-3.31.6 branch May 2, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants