Use Python 3.11 for third-party stubtest in CI (#11562)

This commit is contained in:
Alex Waygood
2024-03-10 15:01:38 +00:00
committed by GitHub
parent 1a942aa36d
commit 24d39de94b
5 changed files with 5 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ jobs:
with:
# TODO: Use Python 3.12. As of 2024-03-08, several third-party
# packages fail to install with Python 3.12.
python-version: "3.10"
python-version: "3.11"
cache: pip
cache-dependency-path: |
requirements-tests.txt

View File

@@ -43,7 +43,7 @@ jobs:
with:
# TODO: Use Python 3.12. As of 2024-03-08, several third-party
# packages fail to install with Python 3.12.
python-version: "3.10"
python-version: "3.11"
cache: pip
cache-dependency-path: |
requirements-tests.txt

View File

@@ -132,5 +132,7 @@ def history(
def heads(directory: str | None = None, verbose: bool = False, resolve_dependencies: bool = False) -> None: ...
def branches(directory: str | None = None, verbose: bool = False) -> None: ...
def current(directory: str | None = None, verbose: bool = False) -> None: ...
def stamp(directory: str | None = None, revision: str = "head", sql: bool = False, tag: str | None = None) -> None: ...
def stamp(
directory: str | None = None, revision: str = "head", sql: bool = False, tag: str | None = None, purge: bool = False
) -> None: ...
def check(directory: str | None = None) -> None: ...

View File

@@ -167,7 +167,6 @@ gevent.socket.SocketType.setblocking
gevent.socket.SocketType.settimeout
gevent.socket.SocketType.shutdown
gevent.socket.cancel_wait
gevent.socket.create_connection
gevent.socket.gethostbyaddr
gevent.socket.gethostbyname
gevent.socket.gethostbyname_ex

View File

@@ -1,11 +1,6 @@
# These __init__ methods have *args, **kwargs arguments on some platforms, but not others
pynput.mouse.Controller.__init__
# stubtest issues with non-`type` metaclasses, see https://github.com/python/mypy/issues/13316
pynput.keyboard.Controller._Key
pynput.keyboard._base.Controller._Key
pynput.keyboard._dummy.Controller._Key
# Platform specific private utils:
pynput._util.xorg_keysyms
pynput._util.xorg