Skip to content

Conversation

@jvdp1
Copy link
Member

@jvdp1 jvdp1 commented Oct 17, 2025

Suppport of CMake 3.14 in Github CI

Suggested in #1041

@jvdp1
Copy link
Member Author

jvdp1 commented Oct 17, 2025

@jalvesz @perazz I tried to support CMake 3.10, but it seems it is not supported anymore with linux: https://pypi.org/project/cmake/3.10.3/

I couldn't install it with macOS-14 either.
Any ideas?

@jalvesz
Copy link
Contributor

jalvesz commented Oct 17, 2025

I created a conda env on a Ubuntu 24 and:

> python -m pip install cmake==3.14.0
ERROR: Ignored the following yanked versions: 3.27.4, 3.28.0, 3.29.0, 3.29.1, 3.31.0
ERROR: Could not find a version that satisfies the requirement cmake==3.14.0 (from versions: 0.1.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 3.6.3, 3.6.3.post1, 3.7.2, 3.8.2, 3.9.6, 3.10.3, 3.11.0, 3.11.4, 3.11.4.post1, 3.12.0, 3.13.0, 3.13.1, 3.13.2, 3.13.2.post1, 3.14.3, 3.14.3.post1, 3.14.4, 3.14.4.post1, 3.15.3, 3.15.3.post1, 3.16.3, 3.16.3.post1, 3.16.5, 3.16.6, 3.16.7, 3.16.8, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.18.0, 3.18.2, 3.18.2.post1, 3.18.4, 3.18.4.post1, 3.20.2, 3.20.3, 3.20.4, 3.20.5, 3.21.0, 3.21.1, 3.21.1.post1, 3.21.2, 3.21.3, 3.21.4, 3.22.0, 3.22.1, 3.22.2, 3.22.3, 3.22.4, 3.22.5, 3.22.6, 3.23.3, 3.24.0, 3.24.1, 3.24.1.1, 3.24.2, 3.24.3, 3.25.0, 3.25.2, 3.26.0, 3.26.1, 3.26.3, 3.26.4, 3.27.0, 3.27.1, 3.27.2, 3.27.4.1, 3.27.5, 3.27.6, 3.27.7, 3.27.9, 3.28.1, 3.28.3, 3.28.4, 3.29.0.1, 3.29.2, 3.29.3, 3.29.5, 3.29.5.1, 3.29.6, 3.30.0, 3.30.1, 3.30.2, 3.30.3, 3.30.4, 3.30.5, 3.30.9, 3.31.0.1, 3.31.1, 3.31.2, 3.31.4, 3.31.6, 4.0.0, 4.0.2, 4.0.3, 4.1.0)
ERROR: No matching distribution found for cmake==3.14.0

Then, the oldest I could install through pip was:

> python -m pip install cmake==3.14.3
Collecting cmake==3.14.3
  Downloading cmake-3.14.3-py3-none-manylinux2010_x86_64.whl.metadata (5.4 kB)
Downloading cmake-3.14.3-py3-none-manylinux2010_x86_64.whl (15.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.6/15.6 MB 4.8 MB/s  0:00:03
Installing collected packages: cmake
Successfully installed cmake-3.14.3
(p10) user:~$ cmake --version
cmake version 3.14.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

stdlib's cmake points to 3.14 as the minimum. So you could try this instead. Otherwise maybe using the apt system package manager could enable finding it instead.

@jvdp1 jvdp1 changed the title Addition of Cmake 3.10 in Github CI Addition of Cmake 3.14 in Github CI Oct 17, 2025
@jvdp1
Copy link
Member Author

jvdp1 commented Oct 17, 2025

I created a conda env on a Ubuntu 24 and:

> python -m pip install cmake==3.14.0
ERROR: Ignored the following yanked versions: 3.27.4, 3.28.0, 3.29.0, 3.29.1, 3.31.0
ERROR: Could not find a version that satisfies the requirement cmake==3.14.0 (from versions: 0.1.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 3.6.3, 3.6.3.post1, 3.7.2, 3.8.2, 3.9.6, 3.10.3, 3.11.0, 3.11.4, 3.11.4.post1, 3.12.0, 3.13.0, 3.13.1, 3.13.2, 3.13.2.post1, 3.14.3, 3.14.3.post1, 3.14.4, 3.14.4.post1, 3.15.3, 3.15.3.post1, 3.16.3, 3.16.3.post1, 3.16.5, 3.16.6, 3.16.7, 3.16.8, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.18.0, 3.18.2, 3.18.2.post1, 3.18.4, 3.18.4.post1, 3.20.2, 3.20.3, 3.20.4, 3.20.5, 3.21.0, 3.21.1, 3.21.1.post1, 3.21.2, 3.21.3, 3.21.4, 3.22.0, 3.22.1, 3.22.2, 3.22.3, 3.22.4, 3.22.5, 3.22.6, 3.23.3, 3.24.0, 3.24.1, 3.24.1.1, 3.24.2, 3.24.3, 3.25.0, 3.25.2, 3.26.0, 3.26.1, 3.26.3, 3.26.4, 3.27.0, 3.27.1, 3.27.2, 3.27.4.1, 3.27.5, 3.27.6, 3.27.7, 3.27.9, 3.28.1, 3.28.3, 3.28.4, 3.29.0.1, 3.29.2, 3.29.3, 3.29.5, 3.29.5.1, 3.29.6, 3.30.0, 3.30.1, 3.30.2, 3.30.3, 3.30.4, 3.30.5, 3.30.9, 3.31.0.1, 3.31.1, 3.31.2, 3.31.4, 3.31.6, 4.0.0, 4.0.2, 4.0.3, 4.1.0)
ERROR: No matching distribution found for cmake==3.14.0

Then, the oldest I could install through pip was:

> python -m pip install cmake==3.14.3
Collecting cmake==3.14.3
  Downloading cmake-3.14.3-py3-none-manylinux2010_x86_64.whl.metadata (5.4 kB)
Downloading cmake-3.14.3-py3-none-manylinux2010_x86_64.whl (15.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.6/15.6 MB 4.8 MB/s  0:00:03
Installing collected packages: cmake
Successfully installed cmake-3.14.3
(p10) user:~$ cmake --version
cmake version 3.14.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

stdlib's cmake points to 3.14 as the minimum. So you could try this instead. Otherwise maybe using the apt system package manager could enable finding it instead.

My bad! I don't why I was focusing on 3.10 :( Indeed, it should be 3.14 . Thank you @jalvesz for the heads up!
Now it should work fine!

@jvdp1 jvdp1 marked this pull request as ready for review October 17, 2025 16:30
@jvdp1 jvdp1 requested review from jalvesz and perazz October 17, 2025 17:02
Copy link
Member

@perazz perazz left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @jvdp1. Good to have one more surely working configuration.

Copy link
Contributor

@jalvesz jalvesz left a comment

Choose a reason for hiding this comment

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

LGTM @jvdp1! Thanks for this additional check

@jvdp1 jvdp1 merged commit 9e4c230 into fortran-lang:master Oct 17, 2025
19 checks passed
@jvdp1 jvdp1 deleted the cmake_3_10 branch October 17, 2025 19:07
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.

3 participants