-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 1.7 planning #16341
Comments
I've encountered these (minor) regressions or potential regressions so far: |
i'm not sure if this the right place to mention this but, you might need to add setuptools as a dependency for python 3.12+ |
Already done in ff7ac75 |
This comment was marked as resolved.
This comment was marked as resolved.
It would be great to have:
These are all fixes for |
This was merged a while ago, so it will be included. |
I've now cut the release branch: https://github.com/python/mypy/tree/release-1.7 We can still cherry-pick important/low-risk fixes and documentation updates. |
May be good to add #16381 ( |
Cherry-picked these PRs: |
I wouldn't mind a cherry pick of #16407 |
I wrote 1.7 release notes in the changelog, which will be copied to the release blog post: https://github.com/python/mypy/blob/master/CHANGELOG.md Please review. I'll leave a comment here when I've copied it to the blog, after which we shouldn't make any major changes to the changelog. The release will probably go out tomorrow, 10 Nov, if I don't get distracted. |
@JukkaL Two comments on the blog post:
|
Another thing is that there are two crashes with |
FWIW the fix for the second crash is very low risk: it is just an obvious typo that I forgot to test: #16428 |
Fix for the other crash looks also low-risk #16444 |
Cherry-picked these PRs:
I will cherry-pick #16444 once it's merged. |
Merged #16444 |
Cherry-picked #16444. |
Changelog updates: #16446 (I will leave it open for a while but will merge it fairly soon) |
Mypy 1.7 is out: https://mypy-lang.blogspot.com/2023/11/mypy-17-released.html |
Congrats with the release guys! Sadly, I think I found a regression: #16451. Let me know if I can provide more details. |
FYI, this release "regressed" from pydantic import BaseModel
class Foo(BaseModel):
pass Now raises:
I'd guess that this behavior is correct... there is, in fact, an explicit |
@jessemyers-lettuce could you open a new issue with more details? I can't reproduce. |
@hauntsaninja Done. See #16454 |
Two more potential candidates for 1.7.1:
|
Another candidate from me for 1.7.1: |
There may be a recent 1-2% perf regression, possibly related to some of the fixes that we are planning to include in 1.7.1. Perf data: https://github.com/mypyc/mypyc-benchmark-results/blob/master/reports/benchmarks/mypy_self_check.md I'm planning to run some performance comparisons locally to get a better idea of whether there actually is a regression, since the automatically generated performance metrics are a bit noisy. The regression is small enough that even if it's real, we can probably proceed, but it seems worth it first check if there is some trivial fix. |
I nominate #16484 for 1.7.1 |
Cherry-picked these PRs for the point release:
Thank you @ilevkivskyi for all the fixes! I'm planning to publish 1.7.1 soon (either later today or tomorrow). |
1.7.1 is out now. |
I'm planning to make a 1.7 release around Nov 2 to Nov 6 (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'll cut the release branch around Oct 30.
This release will be the first one where we create the release blog post in the repo (either in
CHANGELOG.md
or in a temporary file which we'll add toCHANGELOG.md
at the time of the release).Here are some other major changes I'm hoping to include:
--new-type-inference
by default (subject to no major known regressions).The text was updated successfully, but these errors were encountered: