Skip to content
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 2025-01-04 #21487

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 6, 2025

No description provided.

@github-actions github-actions bot added the bot label Jan 6, 2025
@github-actions github-actions bot changed the title [no-test] cockpit-ci: Update container to 2025-01-04 cockpit-ci: Update container to 2025-01-04 Jan 6, 2025
allisonkarlitskaya pushed a commit that referenced this pull request Jan 6, 2025
@allisonkarlitskaya allisonkarlitskaya force-pushed the tasks-container-update-cockpit-ci-container-20250106-023028 branch from 97a16c5 to 51c066d Compare January 6, 2025 02:30
@martinpitt
Copy link
Member

mypy error

not ok 6 /static-code/test-mypy
src/cockpit/channels/filesystem.py:565: error: Argument 1 to "report_error" of "FsInfoChannel" has incompatible type "int | None"; expected "int" [arg-type]

martinpitt pushed a commit that referenced this pull request Jan 6, 2025
@martinpitt martinpitt force-pushed the tasks-container-update-cockpit-ci-container-20250106-023028 branch from 51c066d to 6f21032 Compare January 6, 2025 05:54
@martinpitt martinpitt self-assigned this Jan 6, 2025
@martinpitt
Copy link
Member

I'm not super happy about this, but I don't see a better way.

@martinpitt martinpitt requested review from mvollmer and jelly January 6, 2025 05:55
@martinpitt martinpitt force-pushed the tasks-container-update-cockpit-ci-container-20250106-023028 branch from 6f21032 to ce7d63b Compare January 7, 2025 06:07
@martinpitt
Copy link
Member

It seems the flatpak test now consistently fails. GitHub just switched "ubuntu-latest" to from 22.04 to 24.04. Let's figure this out separately. We have more pressing piloting/todo issues right after the holiday break, I added this to the pilot board.

martinpitt and others added 3 commits January 7, 2025 07:08
mypy 1.14 now complains about an `arg-type` issue:

> src/cockpit/channels/filesystem.py:565: error:
> Argument 1 to "report_error" of "FsInfoChannel" has incompatible type "int | None"; expected "int"

In our case we know that `Handle.open` will always fail with a valid
errno, so assert it. This requires an additional noqa marker, as
otherwise ruff complains about using `assert` in an `except` handler.
GitHub just switched "ubuntu-latest" from 22.04 to 24.04. The flatpak
test needs to be adjusted to that, but not as part of this PR.
@martinpitt martinpitt force-pushed the tasks-container-update-cockpit-ci-container-20250106-023028 branch from ce7d63b to e737ba7 Compare January 7, 2025 06:08
@martinpitt martinpitt added the .github-changes Set by a reviewer just before landing to acknowledge that a PR changes github workflows label Jan 7, 2025
Copy link
Member

@mvollmer mvollmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mvollmer mvollmer merged commit 6c1cf25 into main Jan 7, 2025
88 of 89 checks passed
mvollmer pushed a commit that referenced this pull request Jan 7, 2025
@mvollmer mvollmer deleted the tasks-container-update-cockpit-ci-container-20250106-023028 branch January 7, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot .github-changes Set by a reviewer just before landing to acknowledge that a PR changes github workflows
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants