From 07f587dc70f75b3137e279777fbe289416f4adf2 Mon Sep 17 00:00:00 2001 From: Avasam Date: Tue, 27 Dec 2022 23:07:12 -0500 Subject: [PATCH] Bump python-xlib to 0.33 (#9420) --- stubs/python-xlib/@tests/stubtest_allowlist.txt | 4 ---- stubs/python-xlib/METADATA.toml | 2 +- stubs/python-xlib/Xlib/support/unix_connect.pyi | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/stubs/python-xlib/@tests/stubtest_allowlist.txt b/stubs/python-xlib/@tests/stubtest_allowlist.txt index 7946240c8..90fabe566 100644 --- a/stubs/python-xlib/@tests/stubtest_allowlist.txt +++ b/stubs/python-xlib/@tests/stubtest_allowlist.txt @@ -12,8 +12,6 @@ Xlib.protocol.rq.DictWrapper.__lt__ Xlib.protocol.rq.Event.__gt__ Xlib.protocol.rq.Event.__lt__ -# Default values -Xlib.protocol.display.Display.send_and_recv # Can be None or str once instanciated Xlib.protocol.rq.*.structcode # Should only ever be str once instanciated @@ -24,8 +22,6 @@ Xlib.protocol.rq.Struct.__getattr__ # Iteration variable bleed into the global scope Xlib.protocol.rq.c -# Re-export from tkinter -Xlib.ext.randr.W # Re-exports from six Xlib.ext.xinput.integer_types Xlib.protocol.display.PY3 diff --git a/stubs/python-xlib/METADATA.toml b/stubs/python-xlib/METADATA.toml index c166ec76a..dcbf31f15 100644 --- a/stubs/python-xlib/METADATA.toml +++ b/stubs/python-xlib/METADATA.toml @@ -1,4 +1,4 @@ -version = "0.32.*" +version = "0.33.*" requires = ["types-Pillow"] [tool.stubtest] diff --git a/stubs/python-xlib/Xlib/support/unix_connect.pyi b/stubs/python-xlib/Xlib/support/unix_connect.pyi index dbfabd47c..4c2af3b6d 100644 --- a/stubs/python-xlib/Xlib/support/unix_connect.pyi +++ b/stubs/python-xlib/Xlib/support/unix_connect.pyi @@ -7,9 +7,6 @@ from typing_extensions import Literal, TypeAlias from Xlib._typing import Unused -F_SETFD: int -FD_CLOEXEC: int - if sys.platform == "darwin": SUPPORTED_PROTOCOLS: tuple[None, Literal["tcp"], Literal["unix"], Literal["darwin"]] _Protocol: TypeAlias = Literal[None, "tcp", "unix", "darwin"]