-
-
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 1.6 Release Planning #15919
Comments
I've run into a regression: #15932. |
If this is the right place to bring attention to old, so far undiscussed pull requests: #14440 |
It would be good to get #15960 (or an equivalent fix) in before the release. It fixes some recent stubtest regressions that I introduced. (EDIT: Now merged! :) |
@koogoro I have a suggestion on the blog post: Could you please mention there that |
The branch has been created. The new functionality in the |
@AlexWaygood That commit didn't make it onto the branch, and it also doesn't cherry-pick cleanly. Does that mean that the change that introduced the issue didn't make it onto the branch, or would it be good to include multiple more commits on the release branch? |
@koogoro Thanks for creating the release branch. I noticed that it branched of over a week ago. Was that intentional? It's missing a lot of the recent PRs especially from @ilevkivskyi. If you're not too far along with testing it, might I suggest hard reseting the branch to the current master commit? 010da0b That would also include the stubtest fix @AlexWaygood mentioned. https://github.com/python/mypy/commits/master |
I was hoping 0b303b5 would make it into the release, and if it does, it's important d7b2451 does also, as it fixes some regressions introduced by 0b303b5. But if neither commit makes it in, that's also okay, it can wait :) It would be pretty useful if 48835a3 could be included in the release, though — this one fixes a crash that's blocking some typeshed updates. |
We should cherrypick #16013 in case we don't have a release before Python 3.12 is out |
Both #16004 and #16013 are merged and should be cherry picked. Quick note about #16004: it's extremely commonly requested, so we do need to do it, but possibly it might be a little annoying to upgrade for projects that use type ignore with error codes and that use |
Small change to better handle the |
As a maintainer of 1 of the projects in the mypy primer diff, I'm fine with making these updates manually. More precise ignores seems like a good thing. We often have to make updates to remove ignores etc. as mypy gets better anyway. |
Getting #16124 in for mypy 1.6 would fix a regression that prevents |
@koogoro let me know if there's something I can do to help the release! |
I will work on finishing the release. I hope to get it out by early next week. I'm planning to start working on the 1.7 release soon afterwards. |
I worked on the release blog post today, and hope to complete it tomorrow. After the blog post is done, we should be good to publish the release. If anybody has any other things needed before the release, please leave a comment. |
Just one small reminder on the blog post:
|
I mentioned it earlier but AFAICT it hasn't been cherry-picked yet. #15919 (comment) Especially for the |
@JukkaL please also cherry pick #16124 as per #15919 (comment) |
I think these two mentioned by @hauntsaninja are important
In particular, we must fail gracefully on Python 3.12 that was just released. |
And the release is out: https://mypy-lang.blogspot.com/2023/10/mypy-16-released.html |
I will update the website tomorrow, since it's getting late here. |
A new crash with mypy 1.6, that I hit when trying to bump typeshed's mypy pin: |
@ymyzk Can you please add mypy 1.6.0 to mypy-play.net? |
@intgr Yes, thanks for the reminder. I added mypy 1.6.0 and updated mypy-play.net ymyzk/mypy-playground#488 |
I experienced two regressions with mypy 1.6.0, both involving |
An obvious candidate for 1.6.1 #16251 (fixes two closely related crash regressions). |
Another new crash in mypy 1.6 (that still reproduces with mypy |
#16258 fixes a regression of sorts, so might be worth including in a patch release? But the regression was a new in mypy 1.5 rather than mypy 1.6. |
Also CP for 1.6.1 #16259 |
FYI mypy website https://mypy-lang.org/ does not display the 1.6 release in "What's new" |
I cherrypicked these to release-1.6 branch and will cut the release later today:
|
https://pypi.org/project/mypy/1.6.1/ is now a thing I also left some notes at https://github.com/python/mypy/wiki/Release-Process#making-a-patch-release so I don't have to grep through my shell history next time to see if I forgot something |
I'm planning to make the 1.6 release by the end of August.
Please post any issues you'd like to see fixed in the release here, or any PRs you'd like to have merged. I'll make the release branch
release-1.6
.The text was updated successfully, but these errors were encountered: