-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Install wheel in macOS build environment #20835
Conversation
Installing |
FYI, @spyder-ide/core-developers, after removing the macOS and Windows standalone installer workflows from the master branch (since the will not be used for 6.x), the workflow_dispatch (manual trigger) no longer works. This is because workflow_dispatch must be present in the workflow in the master branch in order for it to be available for any other branch. This was an oversight of mine when submitting #20368. We may want to discuss whether we want to retain some dummy workflows in the master branch just for this purpose, at least until development on 5.x is completely terminated. |
I think @dalthviz found a way to work around that. |
You could just remove all the triggers but
Oh what was that? |
"To trigger the workflow_dispatch event, your workflow must be in the default branch." |
Right—what I'm saying is in |
Oh, sorry for the misunderstanding. Yes, I agree, this is what I meant by a dummy workflow. |
It seems we are in violent agreement, then :)
Hmm, well the proximate issue appears to be that without
With
I would have to dig a lot deeper (or ask the pip or Setuptools folks I know — the frontend-backend boundary here isn't totally clear from the available output) to figure out why exactly that is. Once I finally get to upgrading the packaging metadata for this repo, I can take a closer look for it seems this solution works for now. Also, just FYI, in the echo "::set-output name=build_type::{'build_type':$(echo $build_type)}" to echo "name=build_type::{'build_type':$(echo $build_type)}" >> $GITHUB_OUTPUT to avoid the warning (which will become an error in a month and a half:
per this changelog entry. |
I figured it had something to do with that black magic stuff that I don't understand. I just think it's odd that the behavior would change when none of the inputs have changed...
Yes, I've started incorporating that into all my other workflows and just haven't updated it here yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @mrclary!
Update to use GITHUB_OUTPUTS
@CAM-Gerlach, do you want to review this or are we okay? |
Just in case, when doing the pre release steps for Spyder 5.4.3 I was able to run the workflows related with the installers by using the GitHub CLI, I did notice that the button to trigger the workflows was unavailable from the GitHub web interface but maybe using the GitHub CLI workarounds that since you can provide a ref from where to run the workflow? 🤔 Anyhow, I described the usage of the GitHub CLI for running the workflows here: https://github.com/spyder-ide/spyder/blob/5.x/RELEASE.md#check-release-candidate |
Okay, I'll just add some dummy workflows back into master in another PR. |
I think we're okay. This is a relatively simple change which will fix our CIs in 5.x, so let's merge it. |
Description of Changes
Install
wheel
in macOS standalone build environmentIssue(s) Resolved
Fixes #20834
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: @mrclary