Uh oh!
There was an error while loading. Please reload this page.
Update fpdf2 stubs to 2.6.1 - #9546
Conversation
| # The following definition crashes stubtest. | ||
| # def set_encryption( | ||
| # self, | ||
| # owner_password: str, | ||
| # user_password: str | None = None, | ||
| # encryption_method: EncryptionMethod | str = ..., | ||
| # permissions: AccessPermission = ..., | ||
| # encrypt_metadata: bool = False, | ||
| # ) -> None: ... |
There was a problem hiding this comment.
This needs further investigation for which I didn't have time yet.
There was a problem hiding this comment.
I just ran this against stubtest HEAD and this seems to fix it. I'll update the comment.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
AlexWaygood
commented
Jan 16, 2023
I think we'll need a pytype release that includes google/pytype@829c589 if you want to keep the string default values — or you could take them out for now, and add them back when we have the new pytype release |
This comment has been minimized.
This comment has been minimized.
srittau
commented
Jan 16, 2023
@rchen152 Is there a timeline for the next pytype release? This is non-critical, since we can easily work around the issue, but if a release is due soon, I would rather wait. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
AlexWaygood
left a comment
There was a problem hiding this comment.
Looks good, just a few points
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
rchen152
commented
Jan 17, 2023
Sorry for the delay! (Yesterday was MLK day here.) We usually aim to do one pytype release a week. It's a manual process, so there's no fixed schedule. Yesterday's nightly tests were clean, so I can cut a release right now, actually. |
AlexWaygood
commented
Jan 17, 2023
That would be great, if possible! It would help unblock #9501 |
rchen152
commented
Jan 18, 2023
Done! The new pytype version is 2023.01.17. |
AlexWaygood
commented
Jan 18, 2023
Amazing, thank you! |
Closes#9542