diff --git a/stubs/pycurl/METADATA.toml b/stubs/pycurl/METADATA.toml index 454b5b899..6a7699667 100644 --- a/stubs/pycurl/METADATA.toml +++ b/stubs/pycurl/METADATA.toml @@ -10,6 +10,6 @@ version = "7.45.2" # % pip install --compile --install-option="--with-openssl" pycurl # TODO: Test on Windows and/or MacOS once wheels are available. platforms = ["linux"] -apt_dependencies = ["libcurl4-openssl-dev"] +apt_dependencies = ["libcurl4-openssl-dev", "libssl-dev"] # No need to install on the CI. Leaving here as information for MacOS contributors. # brew_dependencies = ["openssl"] diff --git a/stubs/pycurl/pycurl.pyi b/stubs/pycurl/pycurl.pyi index 2a531b2b6..1fa0ce48e 100644 --- a/stubs/pycurl/pycurl.pyi +++ b/stubs/pycurl/pycurl.pyi @@ -39,7 +39,7 @@ class CurlMulti: def setopt(self, option: int, value: Incomplete) -> None: ... def perform(self) -> tuple[Incomplete, int]: ... def fdset(self) -> tuple[list[Incomplete], list[Incomplete], list[Incomplete]]: ... - def select(self, timeout: float = ...) -> int: ... + def select(self, timeout: float) -> int: ... def info_read(self, max_objects: int = ...) -> tuple[int, list[Incomplete], list[Incomplete]]: ... def socket_action(self, sockfd: int, ev_bitmask: int) -> tuple[int, int]: ... def assign(self, __sockfd: int, __socket: Incomplete) -> Incomplete: ...