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

Release 0.960 planning #12807

Closed
JukkaL opened this issue May 18, 2022 · 20 comments
Closed

Release 0.960 planning #12807

JukkaL opened this issue May 18, 2022 · 20 comments
Labels
meta Issues tracking a broad area of work

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented May 18, 2022

I'm planning to make a 0.960 release around May 24 (tentative timeline).

Please post here any issues you'd like to see fixed in the release, or PRs you'd like to have merged. I've already cut the release branch, but we can still cherry-pick low-risk features and bug fixes until May 20. After May 20 only critical bug fixes and documentation updates should be cherry-picked.

@JukkaL JukkaL added the meta Issues tracking a broad area of work label May 18, 2022
@huguesb
Copy link
Contributor

huguesb commented May 18, 2022

#12616
#12700
#12707

@emmatyping
Copy link
Collaborator

emmatyping commented May 19, 2022

I have noticed 3 regressions on Windows (maybe related to #12615 as well), namely testCompileMypyc, testErrorOutput, and testNamespacePkgWStubs. I plan on looking at these more tomorrow.

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 19, 2022

It would be good to fix all the tests failing on master (on all platforms), or at least understand why they are failing.

@huguesb
Copy link
Contributor

huguesb commented May 19, 2022

It would be good to fix all the tests failing on master (on all platforms), or at least understand why they are failing.

My rough sense of the failures of namespace pkg tests I have experienced on mac is that they're a symptom of racy filesystem operations. I unfortunately do not have the bandwidth or context to investigate in more details.

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 20, 2022

I ran some experiments on macOS and the test failures seem to be related to race conditions. Running tests sequentially seems to work. Some races also reproduce on Linux (again only when running tests in parallel). There may be nothing really platform specific in these.

Anyway, the test failures don't block the release, but it would be great to get to the bottom of this, since test flakes are annoying and can mask real problems.

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 20, 2022

@bluenote10
Copy link
Contributor

bluenote10 commented May 20, 2022

This regression is a big showstopper for us, and I hope I can provide a fix before the release:

PR here:

@JelleZijlstra
Copy link
Member

I merged #12828, can it still be cherry-picked?

@hauntsaninja
Copy link
Collaborator

#12832 is a very safe cherry pick. I also just encountered a mypy user who was confused about mypy's support for PEP 612 based on hitting this error message.

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 23, 2022

Cherry-picked these commits:

@emmatyping
Copy link
Collaborator

Also, I plan on merging #11143 soon so it will go in the next release. Since it is a significant change to how module searching works, we may want to suggest people try pre-release mypy and report issues in the blog post for 0.960.

@rouge8
Copy link

rouge8 commented May 24, 2022

Are there changes to plugin APIs? I noticed both mypy-nonfloat-decimal and an internal plugin stopped working when I test on mypy 128661c.

@hauntsaninja
Copy link
Collaborator

Thanks for testing before the release! Could you open an issue with more details? #9881 added to the plugin API, maybe #12762 has some effect?

@rouge8
Copy link

rouge8 commented May 24, 2022

Opened #12861

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 25, 2022

Mypy 0.960 is out: https://mypy-lang.blogspot.com/2022/05/mypy-0960-released.html

@AlexWaygood
Copy link
Member

AlexWaygood commented May 25, 2022

@JelleZijlstra
Copy link
Member

#12877 reports a new error in 0.960 that I wasn't expecting, but the new error seems correct.

#12876 is another reported regression around dataclasses.

@AlexWaygood
Copy link
Member

This is another dataclasses regression (though it's quite similar to some preexisting bugs relating to variable scope):

@JukkaL
Copy link
Collaborator Author

JukkaL commented Jun 6, 2022

Released 0.961 with some fixes (#12908 and #12872).

#12907 is still open, but I think that it is less serious and we don't need to prioritize a fix right now.

I won't write a blog post since this is a small release.

@JukkaL JukkaL closed this as completed Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues tracking a broad area of work
Projects
None yet
Development

No branches or pull requests

8 participants