-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Mypy 0.980 Release Planning #13385
Comments
Would be good to have a fix for #13227 (comment) |
As mentioned in that issue, it would also be good for mypyc docs to be built, they're getting really stale: mypyc/mypyc#920 |
Thanks @JelleZijlstra for stepping up and reviewing the PRs! |
Regression on master with subtyping of Type: #13303 (comment) |
Hm, it is not really about On the first one, there are three ways a type inference can fail:
The problem is that which way it goes may depend on whether T = TypeVar("T", bound=str)
@overload
def foo(x: Type[T] | int) -> int: ... # Bogus error: Overloaded function signatures 1 and 2 overlap with incompatible return types
@overload
def foo(x: Callable[[int], bool]) -> str: ... What is weird here, is that if I remove the Another inconsistency is that T = TypeVar("T", bound=str)
@overload
def foo(x: List[T]) -> str: ... # Same bogus error here.
@overload
def foo(x: Sequence[int]) -> int: ... While it passes if I put a plain Fixing either of issues will fix the bug. I am not sure what is the best way. On one hand, union inference is known to cause many problems (e.g. @jhance discovered another false positive in a similar situation just couple days ago), but on other hand it is a very dangerous thing to touch. So I will probably go with fixing the second, unless there are other ideas. |
OK, since I didn't hear any other ideas here is #13461 for the above issue. |
Btw #13471 would be great to include (it is low risk because it is behind |
Also I think #13381 would be good to include (fixes an annoying crash). |
Fix #13538 (but also I think will be after this release branch base) |
Oh have we cut the release branch base? I don't see it in https://github.com/python/mypy/branches... |
Hm, actually I am not sure now, he said "last typeshed sync", but I am not sure which one he meant. |
We should make sure to include #13500 in the next release. Currently users of Python 3.10.7 and numpy are broken. If you create the release branch, I can make sure to backport any necessary changes. |
+1, we've had two duplicates reported today |
Yes please! I spent almost two hours before finding the closed issues for this today (my project's mypy version didn't change (still Edit: Thank you for pinning, I think that's actually a great way to spread awareness |
#13425 is causing a lot of noise for my group and it ended up landing juuuuuust the wrong side of the line; we'd be grateful to see it in this release. |
Backport PR for tdsmith's change here: #13644 |
Typeshed's test suite is currently quite badly broken on the |
Backport PR for the custom typeshed dir regression here: #13658 |
@hauntsaninja Thanks for fixing this! |
Backport PR to fix tests with 3.10.7: #13665 |
Maybe also backport #13687, tweaks the error message of a new check added in 0.980. |
Is there any updated ETA on this? Original comment mentions late August while it is mid-September now and at least the #13500 issue is biting more and more users as they update to Python 3.10.7. |
Typo in the blogpost: I think |
Ugh, I fixed that for the kwargs elsewhere. It seems like the script we use to convert to html has some bug I fixed the tight |
If we make a 0.982, we should take #13461 Caused issue reported here: #13750 and regression on typeshed: python/typeshed#8796 (comment) / #13303 (comment) |
Just curious what will be the release version after 0.990? 1.0? |
Yes; see #13685 for details |
I think we can also CP #13784 |
An also #13778. I will probably CP the three mentioned PRs (in addition to the one I already CPed) and will bump the minor version so everything will be ready for the bugfix release on Monday. |
Oh wait, modules as protocol implementations were not included in the release, so we don't need the last one. |
Done, everything is ready for the point release. cc @jhance |
I am planning to make a 0.980 release around late August.
Please post here any issues you'd like to see fixed in the release, or PRs you'd like to have merged. There is no release branch yet - I will update the issue once it exists.
The text was updated successfully, but these errors were encountered: