mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Use Python 3.11 for third-party stubtest in CI (#11562)
This commit is contained in:
2
.github/workflows/daily.yml
vendored
2
.github/workflows/daily.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/stubtest_third_party.yml
vendored
2
.github/workflows/stubtest_third_party.yml
vendored
@@ -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
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user