update ansible collections sops, docker and debops
All checks were successful
/ build (pull_request) Successful in 28s
/ Ansible Lint (push) Successful in 2m36s
/ Ansible Lint (pull_request) Successful in 2m41s

This commit is contained in:
chris 2026-09-21 22:26:20 +02:00
commit e31ee5e39c
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
3 changed files with 27667 additions and 19786 deletions

View file

@ -388,7 +388,7 @@ class APIClient(_Session):
@t.overload
def _stream_helper(
self, response: Response, *, decode: t.Literal[False] = False
) -> t.Generator[bytes]: ...
) -> t.Generator[bytes | str]: ...
@t.overload
def _stream_helper(
@ -795,7 +795,7 @@ class APIClient(_Session):
data: t.Any = None,
headers: dict[str, str] | None = None,
**kwargs: t.Any,
) -> SocketLike:
) -> tuple[SocketLike, Response]:
headers = headers.copy() if headers else {}
headers.update(
{
@ -803,15 +803,14 @@ class APIClient(_Session):
"Upgrade": "tcp",
}
)
return self._get_raw_response_socket(
self._post_json(
self._url(pathfmt, *args, versioned_api=True),
data,
headers=headers,
stream=True,
**kwargs,
)
response = self._post_json(
self._url(pathfmt, *args, versioned_api=True),
data,
headers=headers,
stream=True,
**kwargs,
)
return self._get_raw_response_socket(response), response
@t.overload
def post_json_to_stream(

View file

@ -117,7 +117,9 @@ class UnixHTTPAdapter(BaseHTTPAdapter):
return pool
def request_url(self, request: PreparedRequest, proxies: Mapping[str, str]) -> str:
def request_url(
self, request: PreparedRequest, proxies: Mapping[str, str] | None
) -> str:
# The select_proxy utility in requests errors out when the provided URL
# does not have a hostname, like is the case when using a UNIX socket.
# Since proxies are an irrelevant notion in the case of UNIX sockets

View file

@ -127,7 +127,7 @@ def frames_iter_no_tty(socket: SocketLike) -> t.Generator[tuple[int, bytes]]:
not enabled.
"""
while True:
(stream, n) = next_frame_header(socket)
stream, n = next_frame_header(socket)
if n < 0:
break
while n > 0: