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

BUG: fix an UnboundLocalError #3898

Merged
merged 2 commits into from May 13, 2022

Conversation

neutrinoceros
Copy link
Member

PR Summary

This is a follow up to #3816 where I missed a break statement, which can lead to an UnboundLocalError being raised, as noted by @Gustav-Madsen on Slack.

@neutrinoceros neutrinoceros added bug code frontends Things related to specific frontends and removed code frontends Things related to specific frontends labels Apr 19, 2022
matthewturk
matthewturk previously approved these changes Apr 19, 2022
Copy link
Member

@matthewturk matthewturk left a comment

Choose a reason for hiding this comment

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

Good catch. Do we need another quick release?

@neutrinoceros
Copy link
Member Author

I wouldn't oppose that. Maybe give it a week or two in case we catch another new problem ? Feel free to setup a new milestone

@neutrinoceros
Copy link
Member Author

@matthewturk btw I think the code tour workflow is still broken in that the repo secret it's supposed to use doesn't exist ? For now I don't know how to make the job pass

@matthewturk
Copy link
Member

I'll fix the code tour in a subsequent PR - I think I messed up the GHA for it.

@neutrinoceros
Copy link
Member Author

Cool. We could ship together with the other fix required by Gustav (#3899) and the Mac M1 wheels (#3891) as yt 4.0.4

@neutrinoceros neutrinoceros changed the title BUG: fix an unboundlocalerror BUG: fix an UnboundLocalError Apr 25, 2022
matthewturk
matthewturk previously approved these changes May 4, 2022
Copy link
Member

@matthewturk matthewturk left a comment

Choose a reason for hiding this comment

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

Any reason we can't merge this? The code tour fixes seem fine.

@neutrinoceros
Copy link
Member Author

You can merge, but I think we need a follow up fix

@neutrinoceros
Copy link
Member Author

Actually I think I only needed to update the reference commit in the code tour. Should be good now.

@neutrinoceros
Copy link
Member Author

@matthewturk if you're up for it, I would like to backport this

@matthewturk
Copy link
Member

matthewturk commented May 6, 2022 via email

@neutrinoceros neutrinoceros added this to the 4.0.4 milestone May 6, 2022
@neutrinoceros
Copy link
Member Author

@matthewturk this should be the last PR to merge before we can release 4.0.4

@matthewturk matthewturk merged commit 09b59e3 into yt-project:main May 13, 2022
@neutrinoceros neutrinoceros deleted the hotfix_unbound_error branch May 13, 2022 19:47
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.

None yet

2 participants