8000 CI python: Disable Findlibs package by tmi · Pull Request #26 · ecmwf/reusable-workflows · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CI python: Disable Findlibs package #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025

Conversation

tmi
Copy link
Contributor
@tmi tmi commented May 20, 2025

CI actions for python packages that depend on a compiled lib tend to fail now, due to the enablement of wheel-based delivery, which however ignores the just-compiled lib. In other words, when we ci-test pyodc, its not using the just-compiled odc, but some older version of it thats on pypi

The proper fix would be about building wheels as well in the ci actions, and using them. But thats more complicated -- so we just globally disable this findlibs part. That leads to the (old) wheel still being installed, but at runtime findlibs would ignore it and pick the just-compiled one.

This has already been done explicitly in the pymultio case -- but it makes more sense to control it globally

CI actions for python packages that depend on a compiled lib tend to
fail now, due to the enablement of wheel-based delivery, which however
ignores the just-compiled lib. In other words, when we ci-test pyodc,
its not using the just-compiled odc, but some older version of it thats
on pypi

The proper fix would be about building wheels as well in the ci actions,
and using them. But thats more complicated -- so we just globally disable
this findlibs part. That leads to the (old) wheel still being installed,
but at runtime findlibs would ignore it and pick the just-compiled one.

This has already been done explicitly in the pymultio case -- but it makes
more sense to control it globally
@FussyDuck
Copy link
FussyDuck commented May 20, 2025

CLA assistant check
All committers have signed the CLA.

@tmi tmi marked this pull request as ready for review May 20, 2025 08:19
@tmi
Copy link
Contributor Author
tmi commented May 20, 2025

@iainrussell @figi44 could one of you guys pls review this one? I'm trying to achieve the same effect as https://github.com/ecmwf/downstream-ci/blob/main/.github/workflows/downstream-ci.yml#L2054 but for every python package tested under downstream-ci action -- is this PR going to do that?

The PR is addressing failures like this https://github.com/ecmwf/pyodc/actions/runs/15019598744/job/42205429180?pr=39

@recmanj
Copy link
Collaborator
recmanj commented May 20, 2025

I am OK with this, we should probably also do this in ecmwf/build-package-hpc

@iainrussell
Copy link
Member

This looks good to me - I'm happy to merge and tag

@iainrussell iainrussell merged commit 5bc1e26 into main May 21, 2025
12 checks passed
@iainrussell
Copy link
Member

Merged and tagged as 'v2'

@tmi tmi deleted the act/ciPython/disableFindlibs branch May 21, 2025 09:25
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.

4 participants
0