-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
cockpit-ci: Update container to 2024-04-25 #20372
cockpit-ci: Update container to 2024-04-25 #20372
Conversation
d8c5262
to
8229d67
Compare
@allisonkarlitskaya do you want to take a look?
|
The |
Pillow upstream added a `py.typed` file in their last release, which is causing us problems because: - we `from PIL import Image`, which kinda looks like the class `Image` in the `PIL` module, but is actually a submodule. In particular, `PIL.Image.open()` is not a static method, but a function call, and it doesn't return `PIL.Image`, but rather `PIL.Image.Image`. Fix a couple of annotations. - our hacks for setting `Image = None` if the import is missing are no longer working (since the import now has a better type than `Any`). Let's make the import unconditional. `dnf install python3-pillow`. - several methods are unannotated in the upstream code, leading to warnings about "untyped call from typed code". We use an #ignore for those; cf. python-pillow/Pillow#8029
This brings in a buggy definition in the version of the typeshed included in the new container image. Add an #ignore. See python/typeshed#11548 Closes #20372
8229d67
to
7d72a1f
Compare
This brings in a buggy definition in the version of the typeshed included in the new container image. Add an #ignore. See python/typeshed#11548 Closes #20372
7d72a1f
to
ea18726
Compare
This is turning into quite the adventure...
|
Runs fine locally in the tasks container, so it's some Github issue?
|
I also couldn't get it locally, and I basically copy-pasted the workflow... it's also hard to imagine what the issue here might be... |
7711497
to
5faab49
Compare
For some reason this starts causing trouble with `make distcheck` in Fedora 40.
This brings in a buggy definition in the version of the typeshed included in the new container image. Add an #ignore. See python/typeshed#11548 Closes #20372
5faab49
to
86788b8
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.
Fine by me, but someone else should review this by now...
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.
Cheers! Happy bots → happy pitti
No description provided.