Skip to content
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

Fix for bad git path in GHA macos instances. #464

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

pp-mo
Copy link
Member

@pp-mo pp-mo commented Sep 19, 2024

From testing problems in #458 and #460, there is an odd problem with GHA macos instances

  • apparently intermittent ?
  • this discussion probably relates
    (this might also indicate that the root problem may soon get a fix?)

In detail, it seems that the latest-good git installation is not (?always?) put on the front of the path when your GHA runs,
but instead an older system git runs by default. Which, possibly, does not have a "git version" command ?

So, for now, this hack pushes a magic directory onto the front of PATH to make the tests run.

(N.B. wheels are OK and unaffected. The problem occurs when doing an editable install of the repo)

@pp-mo pp-mo mentioned this pull request Sep 19, 2024
Copy link
Collaborator

@trexfeathers trexfeathers left a comment

Choose a reason for hiding this comment

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

I'm just gonna merge. Be really good to have this in ASAP

@trexfeathers trexfeathers merged commit 0f32091 into SciTools:main Sep 19, 2024
13 checks passed
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.

2 participants