-
Notifications
You must be signed in to change notification settings - Fork 8
Maintenance: Update to mypy v1.13.0 #654
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
Conversation
a244142
to
ba76c5c
Compare
Hi. This patch needs a few adjustments to satisfy the type checker. Resolving them probably needs better insights into the code base than what I can provide. /cc @goat-ssh, @Taliik, @tomach https://github.com/crate/crate-operator/actions/runs/10958103493/job/30427634720?pr=654 |
ba76c5c
to
2fbdc79
Compare
d5ae08b
to
dfbe1ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. I've just updated this patch, and CI signals success, so I am handing it in for review. On a few spots it is obvious it needs more love. On others, I am not sure the right adjustment has been applied. On others again, I believe the updates are just right.
In other words, you need to diligently review and eventually take over this patch, to make it converge well. It aimed to make a start on this topic at least, in order to apprach upgrading to support more recent versions of Python.
dfbe1ca
to
7beaad8
Compare
7beaad8
to
59316c6
Compare
af30858
to
5d0ae35
Compare
5d0ae35
to
0f34067
Compare
Hi there. Resolving this would unlock a whole bunch of patches stacked upon this one. However, this particular patch needs a few dedicated cycles by authors more accustomed with the code base. Maybe you can afford to spend a few minutes on this, @tomach? 🙏 |
Hi @amotl! Thanks for the reminder. I’ll be taking a look at this today. Thanks for your effort and patience! 🙏 |
I tried to fix all mypy errors in There is still one issue with sphinx now... 🙈 |
You made it, thanks a stack! 💯 Unfortunately, I can't approve the PR because I created it, so we need to ask @juanpardo, @Taliik, or @plaharanne, or fall back to @surister or @kneth. Feel free to squash commits and merge at your disposal. |
Yes, thank you! I added it to the |
I think it's fine. The same thing happens in a future patch about another library that doesn't employ docs yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This patch intends to contribute to unlock upgrading to Python 3.11.
737a1b8
to
2e687fc
Compare
Problem
Trying to update to Python 3.11 makes mypy croak.
-- https://github.com/crate/crate-operator/actions/runs/10957798573/job/30426680335?pr=549#step:6:91
Solution
Let's update mypy first.