Skip to content

Commit

Permalink
cockpit-ci: Update container to 2024-04-25
Browse files Browse the repository at this point in the history
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
  • Loading branch information
allisonkarlitskaya committed Apr 30, 2024
1 parent c434850 commit 86788b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cockpit-ci/container
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/cockpit-project/tasks:2024-04-08
ghcr.io/cockpit-project/tasks:2024-04-25
3 changes: 2 additions & 1 deletion src/cockpit/transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ def preexec_fn() -> None:

super().__init__(loop, protocol, in_fd, out_fd)

self._get_watcher(loop).add_child_handler(self._process.pid, self._exited)
# https://github.com/python/typeshed/pull/11548
self._get_watcher(loop).add_child_handler(self._process.pid, self._exited) # type: ignore[arg-type]

def set_window_size(self, size: WindowSize) -> None:
assert self._pty_fd is not None
Expand Down

0 comments on commit 86788b8

Please sign in to comment.