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

avoid 3.9+ type indexing in runtime code, relegate to hints #17808

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

Rigidity
Copy link
Contributor

@Rigidity Rigidity commented Apr 1, 2024

Purpose:

Fix errors in release CI for older Python versions.

Slipped through nightly CI because we don't monitor it. Slipped through Python 3.8 mypy checks because of python/mypy#15773.

Current Behavior:

Cast to set

New Behavior:

Cast to Set

@Rigidity Rigidity requested a review from altendky April 1, 2024 15:39
@Rigidity Rigidity requested a review from a team as a code owner April 1, 2024 15:39
@Rigidity Rigidity added the Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog label Apr 1, 2024
altendky
altendky previously approved these changes Apr 1, 2024
emlowe
emlowe previously approved these changes Apr 1, 2024
arvidn
arvidn previously approved these changes Apr 1, 2024
@altendky altendky changed the title Rename set to Set in cast avoid 3.9+ type indexing in runtime code, relegate to hints Apr 1, 2024
@altendky altendky dismissed stale reviews from arvidn, emlowe, and themself via 7c65c43 April 1, 2024 17:37
@pmaslana pmaslana merged commit f1f4ab2 into release/2.3.0 Apr 2, 2024
772 checks passed
@pmaslana pmaslana deleted the fix-set-cast branch April 2, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants