chore(ci): pin greenlet
version to 3.1.0 for 3.8 [backport 2.19]
#11956
+40
−34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 560aa89 from #11953 to 2.19.
Context
Failing tests slipped into the 2.19 branch, one of them being this gevent test failure. This was addressed in a fix PR to the main branch, and was backported to 2.19. However, once backporting this fix, ci_visibility tests on python 3.8 started to fail consistently.
After some digging, it turns out that in the backported fix for gevent, the greenlet dependency was bumped from 3.0.3 to 3.1.1, which according to greenlet documentation, 3.1.0 was the last release to support 3.7 and 3.8. Looks like pip didn't catch this during the upgrade because the minimum runtime version is still pinned to 3.7 in greenlet.
Description
This PR pins greenlet to 3.1.0 for python<=3.8, and will use latest for 3.9+. The failing ci_visibility tests will pass on 3.8 now.
Checklist
Reviewer Checklist