Skip to content

Fix StopIteration runtime error for py37 above#7

Merged
gstarnberger merged 1 commit intoYelp:masterfrom
hzy1202:patch-1
Jul 25, 2023
Merged

Fix StopIteration runtime error for py37 above#7
gstarnberger merged 1 commit intoYelp:masterfrom
hzy1202:patch-1

Conversation

@hzy1202
Copy link
Copy Markdown

@hzy1202 hzy1202 commented Jul 21, 2023

Summary

We got error RuntimeError: generator raised StopIteration for several integration tests in schematizer from sqlparse, which due to a change in Python https://peps.python.org/pep-0479/

I just apply the same change that had been done in upstream to fix this issue andialbrecht#202, I hope this can fix the errors.

###Note to reviewer
For this PR I can't add reviewers and assignees bc I don't have write access to the repo. I checked the previous PRs, it seemed to be the same case, so tagging @mhaseebmlk and @gstarnberger (ppl i can find under github yelpcorp) for review

@hzy1202 hzy1202 marked this pull request as draft July 24, 2023 20:52
@hzy1202 hzy1202 marked this pull request as ready for review July 24, 2023 20:52
@gstarnberger gstarnberger merged commit ad727b9 into Yelp:master Jul 25, 2023
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