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

remove typing.Callable deprecation since Callable is not a collection #80

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

DetachHead
Copy link
Owner

fixes #77

This comment has been minimized.

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

PyWinCtl (https://github.com/Kalmat/PyWinCtl)
-   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:12:36 - error: This type is deprecated as of Python 3.9; use "collections.abc.Callable" instead (reportDeprecated)
- 921 errors, 0 warnings, 0 notes 
+ 920 errors, 0 warnings, 0 notes 

bidict (https://github.com/jab/bidict)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:49:24 - error: This type is deprecated as of Python 3.9; use "collections.abc.Callable" instead (reportDeprecated)
-   /tmp/mypy_primer/projects/bidict/tests/test_bidict.py:537:33 - error: This type is deprecated as of Python 3.9; use "collections.abc.Callable" instead (reportDeprecated)
-   /tmp/mypy_primer/projects/bidict/tests/test_bidict.py:537:64 - error: This type is deprecated as of Python 3.9; use "collections.abc.Callable" instead (reportDeprecated)
- 437 errors, 0 warnings, 0 notes 
+ 434 errors, 0 warnings, 0 notes 

@DetachHead DetachHead merged commit ccd3f7a into main Feb 12, 2024
10 checks passed
@DetachHead DetachHead deleted the typing.Callable branch February 12, 2024 07:07
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.

remove deprecation message from typing.Callable
1 participant