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.900 planning #10116

Closed
JukkaL opened this issue Feb 19, 2021 · 11 comments
Closed

Release 0.900 planning #10116

JukkaL opened this issue Feb 19, 2021 · 11 comments

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Feb 19, 2021

I'm planning to release mypy 0.900 some time in March. This release will have a particularly significant change, as third-party stubs are no longer shipped with mypy. They need to be installed by installing suitable stub packages. For example, pip install types-requests installs the stubs for Requests. Mypy will suggest the names of stub packages to install, and mypy --install-types will automatically install the suggested stub packages (this doesn't work with the mypy daemon, however).

Since this change is potentially quite disruptive, I'm announcing the release here well ahead of the target release date.

The unbundling of typeshed is already implemented in GitHub master, so it's possible to start testing this right now. If you can, please try using a development version and report how it went. You can find pre-built wheels here:

https://github.com/mypyc/mypy_mypyc-wheels/releases

I'll probably cut the release branch around mid-March (but this is still very tentative).

@hauntsaninja
Copy link
Collaborator

@TheCleric
Copy link
Contributor

@JukkaL do we have a different timeframe for this now?

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 26, 2021

Sorry, things got delayed. Now it looks that we could have the release around Jun 4 to Jun 7.

It would be nice to fix these issues before the release:

Please let me know if you can help with one of the above. Otherwise I'll look at fixing them.

@TheCleric
Copy link
Contributor

I'll see if I can tackle #10283 . I'll post there if I have any questions.

@JukkaL
Copy link
Collaborator Author

JukkaL commented May 27, 2021

I'd like to also address #10538 (document security implications of --install-types).

@TheCleric
Copy link
Contributor

@JukkaL PR for #10283: #10546

@TheCleric
Copy link
Contributor

TheCleric commented May 30, 2021

@JukkaL PR for #10538 : #10555

Also I added a comment on #10529 because I tried to take a look at it, but am not sure if I'm understanding it correctly.

@hauntsaninja hauntsaninja added bug mypy got something wrong and removed bug mypy got something wrong labels May 30, 2021
@JukkaL
Copy link
Collaborator Author

JukkaL commented Jun 4, 2021

I think that all release blockers have now been addressed in master. I'll prepare the release branch on Monday. I'll probably cut the branch from a commit that is around 1-2 weeks old, and cherry-pick fixes that address release blockers or that seem low-risk. We've been testing 58aef05 internally at Dropbox.

My current estimate for the date of the release is Tue 8 Jun.

@JukkaL
Copy link
Collaborator Author

JukkaL commented Jun 8, 2021

The release is now out: https://mypy-lang.blogspot.com/2021/06/mypy-0900-released.html

Thanks to everyone who helped with the release! This was a big one.

@JukkaL JukkaL closed this as completed Jun 8, 2021
@JukkaL
Copy link
Collaborator Author

JukkaL commented Jun 8, 2021

I uploaded mypy 0.901 that fixes mypy --install-types with binary wheels (#10596).

@JukkaL
Copy link
Collaborator Author

JukkaL commented Jun 10, 2021

I uploaded mypy 0.902 that fixes a few more issues related to --install-types and stub packages.

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

No branches or pull requests

3 participants