Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 6, 2024

Sync typeshed

Source commit:
python/typeshed@3d853d5

Note that you will need to close and re-open the PR in order to trigger CI.

mypybot and others added 4 commits November 6, 2024 23:41
This is allegedly causing large performance problems, see 13821

typeshed/8231 had zero hits on mypy_primer, so it's not the worst thing
to undo. Patching this in typeshed also feels weird, since there's a
more general soundness issue. If a typevar has a bound or constraint, we
might not want to solve it to a Literal.

If we can confirm the performance regression or fix the unsoundness
within mypy, I might pursue upstreaming this in typeshed.

(Reminder: add this to the sync_typeshed script once merged)
@github-actions

This comment has been minimized.

@agriyakhetarpal
Copy link

types-setuptools has been released: https://pypi.org/project/types-setuptools/75.3.0.20241107/ – I guess this can be re-triggered now.

@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 7, 2024

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JelleZijlstra JelleZijlstra merged commit eedee20 into master Nov 7, 2024
33 of 37 checks passed
@JelleZijlstra JelleZijlstra deleted the mypybot/sync-typeshed branch November 7, 2024 17:05
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.

5 participants