Skip to content

Enforce minimum cmake version also in python wheel download macro#75

Merged
wdeconinck merged 1 commit into
ecmwf:developfrom
awnawab:bugfix/find_package_python3
Nov 11, 2025
Merged

Enforce minimum cmake version also in python wheel download macro#75
wdeconinck merged 1 commit into
ecmwf:developfrom
awnawab:bugfix/find_package_python3

Conversation

@awnawab
Copy link
Copy Markdown
Contributor

@awnawab awnawab commented Nov 7, 2025

A small PR that raises the minimum cmake version to 3.19 and also enforces the minimum for the populate workflow. This is needed to ensure the correct python interpreter after a system update in the Atos which installed python3.12.

@awnawab
Copy link
Copy Markdown
Contributor Author

awnawab commented Nov 7, 2025

Hi @wdeconinck could you please review? Thanks!

@wdeconinck
Copy link
Copy Markdown
Member

Raising the cmake minimum required may need coordination with @iainrussell .
Iain, could you advise?

@awnawab awnawab force-pushed the bugfix/find_package_python3 branch from 1adf07e to 63a3357 Compare November 11, 2025 13:35
@awnawab awnawab changed the title Raise minimum cmake version to 3.19 Enforce minimum cmake version also in python wheel download macro Nov 11, 2025
@awnawab
Copy link
Copy Markdown
Contributor Author

awnawab commented Nov 11, 2025

It turns out that simply enforcing a minimum cmake version of 3.17 is also enough to fix the find_python behaviour this PR is addressing, so I've rolled it the minimum cmake version back to 3.17 as before.

Copy link
Copy Markdown
Member

@wdeconinck wdeconinck left a comment

Choose a reason for hiding this comment

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

All good!

@wdeconinck wdeconinck added the approved-for-ci Approved for CI run label Nov 11, 2025
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.35%. Comparing base (67dd487) to head (63a3357).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #75   +/-   ##
========================================
  Coverage    51.35%   51.35%           
========================================
  Files           58       58           
  Lines         4812     4812           
  Branches       449      449           
========================================
  Hits          2471     2471           
  Misses        2341     2341           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wdeconinck wdeconinck merged commit 42aef06 into ecmwf:develop Nov 11, 2025
123 of 134 checks passed
@awnawab awnawab deleted the bugfix/find_package_python3 branch November 11, 2025 14:22
wdeconinck added a commit that referenced this pull request Feb 23, 2026
* hotfix/0.14.2:
  Version 0.14.2
  Replace use of deprecated Library::lookup (#84)
  Add fortran linker flag submitted by AMD for AOCC (and Classic Flang) (#82)
  Workaround for failing fckit_test_shared_ptr with aocc/nvhpc/intel by detecting compiler bugs (#80)
  FCKIT_VENV_INSTALL: add a new ecbuild feature to control the (#78)
  Add miniumum cmake version check in wheel download macro (#75)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants