-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
[3.13] gh-123880: Allow recursive import of single-phase-init modules (GH-123950) #124273
Conversation
…ythonGH-123950) (cherry picked from commit aee219f) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Shantanu <[email protected]> Co-authored-by: Brett Cannon <[email protected]>
FYI, pushing this to 3.13.1. |
@Yhg1s good to know, is that at all open for discussion? This means that most mypyc compiled projects (like mypy and black and charset_normalizer) will be broken on 3.13.0 when they ship 3.13 mypyc-compiled wheels. |
Sure, it's open for discussion. Given that this showed up all the way at the tail end of the release candidate phase, I'm assuming it must not be that pressing (or it would've shown up before :). It sounds like it is pressing, and the actual change is not that complicated (although slightly more complicated than I would've liked between the release candidate and the final release). Why didn't this show up before? How are we going to make similar issues show up earlier in the future? |
It didn't show up before primarily because there were other issues running mypyc with 3.13 that showed up before this one. It looks like there was also a period of 3 weeks where it was known but not acted on (following #121489 (comment) ) due to a combination of classic open source volunteer time and communication issues + also I think there was some misplaced suspicion that the issue was something specific to mypyc's test suite. Timeline on mypy's side is something like:
3.12 was easier, I think we had things green before first release candidate. Some things that could help:
|
FWIW, we discussed this at the sprint as well, and it's clear that this should go into 3.13.0. We should try not to break mypyc (and similar users) quite so much, to make it easier for mypyc to find these issues for us in the future :) |
(cherry picked from commit aee219f)
Co-authored-by: Petr Viktorin [email protected]
Co-authored-by: Shantanu [email protected]
Co-authored-by: Brett Cannon [email protected]