-
-
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
More flexible bugfix releases #13752
Comments
Yes, this sounds good and I'd like to help with this. I'm https://pypi.org/user/hauntsaninja/ I think things we should allow backporting are a) fixes for regressions or low risk fixes for bugs that make a new feature less usable, b) select low risk bug fixes that are individually worth releasing for, c) documentation changes relevant to the release, d) fixes for wheel builds. Recent examples of things I'd have made a release for are the fixes for sys.path regressions in 0.970 #13089 (comment) and the fix for stub parsing issues surfaced by Python 3.10.7 #13627. I could try making a release for #13385 (comment) Signs of the process not being used as intended include: more than a handful of changes are backported, running into merge conflicts when backporting, backported changes cause new mypy_primer errors, backported changes need their own documentation, backported changes not corresponding directly to new issues filed by users, including a typeshed sync, etc. The wiki sounds good for documenting the process! We shouldn't release bug fixes to older versions. That way lies madness. (It's also not that hard for users to just update to latest mypy; users typically have more control over updating dev tools than updating libraries) |
I think yes, as soon it is a low risk fix. |
@hauntsaninja I just invited you to the mypy PyPI project. About bug fixes to older releases: I think that we can reserve this for very serious issues (e.g. some use case is completely broken, lots of false negatives). I still need to document the release process. |
Thank you for the trust! Just accepted the invitation :-) |
Here's my first attempt at documenting the release process, including making bugfix releases: https://github.com/python/mypy/wiki/Release-Process All feedback is welcome! |
Looks like Jukka's proposal was adopted and documented. Is there anything remaining with this issue, or can it be closed? |
Currently the release manager for a feature release is expected to decide if one or more bugfix releases should be released and to publish them (e.g. 0.982 if 0.981 is the initial feature release). It was suggested in the 1.0 release planning meeting earlier this week that there's no compelling reason why this needs to be always performed by the release manager.
My proposal is that we could have at least one or two additional people (who already have commit access) who can publish bugfix releases. The minimal requirements to make this feasible would be to give them upload access to our PyPI project and to document the process.
Here's a suggested process:
Open questions:
Rationale:
Please let me know what you think about this, and if you'd like to help with making bugfix releases.
cc @hauntsaninja
The text was updated successfully, but these errors were encountered: