Skip to content

Don't use find_package to lookup newly created virtual env - #104

Merged
wdeconinck merged 1 commit into
ecmwf:developfrom
awnawab:naan-fckit-install-fix
Jul 31, 2026
Merged

Don't use find_package to lookup newly created virtual env#104
wdeconinck merged 1 commit into
ecmwf:developfrom
awnawab:naan-fckit-install-fix

Conversation

@awnawab

@awnawab awnawab commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

In bundle builds, we may arrive at a situation where Python3_EXECUTABLE is in fact a cache variable, which can lead to local find_package(python3 ...) calls to be silently ignored. As such, this PR updates the fckit virtual env discovery to encode the path to the newly created python interpreter rather than relying on the find_package lookup.

@awnawab

awnawab commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

fyi @reuterbal @wdeconinck

@wdeconinck wdeconinck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It definitely looks more sane not to try to change and restore a possible cache variable indeed.

Comment thread cmake/fckit_install_venv.cmake
@wdeconinck wdeconinck added the approved-for-ci Approved for CI run label Jul 30, 2026
Comment thread cmake/fckit_install_venv.cmake
Comment thread cmake/fckit_install_venv.cmake
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.07%. Comparing base (8a37a33) to head (fe7139c).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #104   +/-   ##
========================================
  Coverage    51.07%   51.07%           
========================================
  Files           58       58           
  Lines         4854     4854           
  Branches       453      453           
========================================
  Hits          2479     2479           
  Misses        2375     2375           

☔ View full report in Codecov by Harness.
📢 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 579f2a0 into ecmwf:develop Jul 31, 2026
194 checks passed
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.

4 participants