types-python-xlib 0.33.0.14__tar.gz → 0.33.0.15__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/CHANGELOG.md +6 -0
  2. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/PKG-INFO +4 -4
  3. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/xinput.pyi +5 -6
  4. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/protocol/rq.pyi +3 -4
  5. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/setup.py +4 -4
  6. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/types_python_xlib.egg-info/PKG-INFO +4 -4
  7. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/MANIFEST.in +0 -0
  8. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/METADATA.toml +0 -0
  9. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/X.pyi +0 -0
  10. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/XK.pyi +0 -0
  11. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/Xatom.pyi +0 -0
  12. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/Xcursorfont.pyi +0 -0
  13. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/Xutil.pyi +0 -0
  14. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/__init__.pyi +0 -0
  15. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/_typing.pyi +0 -0
  16. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/display.pyi +0 -0
  17. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/error.pyi +0 -0
  18. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/__init__.pyi +0 -0
  19. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/composite.pyi +0 -0
  20. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/damage.pyi +0 -0
  21. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/dpms.pyi +0 -0
  22. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/ge.pyi +0 -0
  23. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/nvcontrol.pyi +0 -0
  24. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/randr.pyi +0 -0
  25. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/record.pyi +0 -0
  26. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/res.pyi +0 -0
  27. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/screensaver.pyi +0 -0
  28. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/security.pyi +0 -0
  29. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/shape.pyi +0 -0
  30. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/xfixes.pyi +0 -0
  31. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/xinerama.pyi +0 -0
  32. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/ext/xtest.pyi +0 -0
  33. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/__init__.pyi +0 -0
  34. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/apl.pyi +0 -0
  35. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/arabic.pyi +0 -0
  36. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/cyrillic.pyi +0 -0
  37. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/greek.pyi +0 -0
  38. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/hebrew.pyi +0 -0
  39. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/katakana.pyi +0 -0
  40. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/korean.pyi +0 -0
  41. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/latin1.pyi +0 -0
  42. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/latin2.pyi +0 -0
  43. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/latin3.pyi +0 -0
  44. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/latin4.pyi +0 -0
  45. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/miscellany.pyi +0 -0
  46. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/publishing.pyi +0 -0
  47. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/special.pyi +0 -0
  48. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/technical.pyi +0 -0
  49. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/thai.pyi +0 -0
  50. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/xf86.pyi +0 -0
  51. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/xk3270.pyi +0 -0
  52. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/keysymdef/xkb.pyi +0 -0
  53. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/protocol/__init__.pyi +0 -0
  54. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/protocol/display.pyi +0 -0
  55. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/protocol/event.pyi +0 -0
  56. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/protocol/request.pyi +0 -0
  57. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/protocol/structs.pyi +0 -0
  58. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/rdb.pyi +0 -0
  59. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/support/__init__.pyi +0 -0
  60. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/support/connect.pyi +0 -0
  61. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/support/lock.pyi +0 -0
  62. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/support/unix_connect.pyi +0 -0
  63. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/support/vms_connect.pyi +0 -0
  64. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/threaded.pyi +0 -0
  65. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xauth.pyi +0 -0
  66. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/__init__.pyi +0 -0
  67. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/colormap.pyi +0 -0
  68. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/cursor.pyi +0 -0
  69. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/drawable.pyi +0 -0
  70. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/fontable.pyi +0 -0
  71. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/icccm.pyi +0 -0
  72. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/Xlib-stubs/xobject/resource.pyi +0 -0
  73. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/setup.cfg +0 -0
  74. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/types_python_xlib.egg-info/SOURCES.txt +0 -0
  75. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/types_python_xlib.egg-info/dependency_links.txt +0 -0
  76. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/types_python_xlib.egg-info/requires.txt +0 -0
  77. {types-python-xlib-0.33.0.14 → types-python-xlib-0.33.0.15}/types_python_xlib.egg-info/top_level.txt +0 -0
@@ -1,3 +1,9 @@
1
+ ## 0.33.0.15 (2023-11-30)
2
+
3
+ Use `ConvertibleToInt`/`ConvertibleToFloat` in many third-party stubs (#11022)
4
+
5
+ Note: this may make the latest version of certain stubs packages incompatible with older versions of mypy and pyright.
6
+
1
7
  ## 0.33.0.14 (2023-11-09)
2
8
 
3
9
  Bump flake8-pyi to 23.11.0 (#10997)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-python-xlib
3
- Version: 0.33.0.14
3
+ Version: 0.33.0.15
4
4
  Summary: Typing stubs for python-xlib
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0 license
@@ -32,6 +32,6 @@ https://github.com/python/typeshed/tree/main/stubs/python-xlib. All fixes for
32
32
  types and metadata should be contributed there.
33
33
 
34
34
  See https://github.com/python/typeshed/blob/main/README.md for more details.
35
- This package was generated from typeshed commit `d6403b14aa300f40abfe91dc8d092734b56fa570` and was tested
36
- with mypy 1.6.1, pyright 1.1.334, and
37
- pytype 2023.10.17.
35
+ This package was generated from typeshed commit `78052791df327b716406f3f78962c4247cfe381f` and was tested
36
+ with mypy 1.7.1, pyright 1.1.334, and
37
+ pytype 2023.11.21.
@@ -1,7 +1,7 @@
1
- from _typeshed import ReadableBuffer, SliceableBuffer
1
+ from _typeshed import ConvertibleToFloat, SliceableBuffer
2
2
  from collections.abc import Iterable, Sequence
3
- from typing import SupportsFloat, TypeVar
4
- from typing_extensions import Final, SupportsIndex, TypeAlias
3
+ from typing import TypeVar
4
+ from typing_extensions import Final
5
5
 
6
6
  from Xlib._typing import Unused
7
7
  from Xlib.display import Display
@@ -9,7 +9,6 @@ from Xlib.protocol import display, request, rq
9
9
  from Xlib.xobject import drawable, resource
10
10
 
11
11
  _T = TypeVar("_T")
12
- _Floatable: TypeAlias = SupportsFloat | SupportsIndex | str | ReadableBuffer
13
12
 
14
13
  extname: Final = "XInputExtension"
15
14
  PropertyDeleted: Final = 0
@@ -119,12 +118,12 @@ PROPERTY_TYPE_FLOAT: Final = "FLOAT"
119
118
  # ignore[override] because of Liskov substitution principle violations
120
119
  class FP1616(rq.Int32):
121
120
  def check_value(self, value: float) -> int: ... # type: ignore[override]
122
- def parse_value(self, value: _Floatable, display: Unused) -> float: ... # type: ignore[override]
121
+ def parse_value(self, value: ConvertibleToFloat, display: Unused) -> float: ... # type: ignore[override]
123
122
 
124
123
  class FP3232(rq.ValueField):
125
124
  structcode: str
126
125
  def check_value(self, value: _T) -> _T: ... # type: ignore[override]
127
- def parse_value(self, value: tuple[_Floatable, _Floatable], display: Unused) -> float: ... # type: ignore[override]
126
+ def parse_value(self, value: tuple[ConvertibleToFloat, ConvertibleToFloat], display: Unused) -> float: ... # type: ignore[override]
128
127
 
129
128
  class XIQueryVersion(rq.ReplyRequest): ...
130
129
 
@@ -1,10 +1,10 @@
1
- from _typeshed import ReadableBuffer, SliceableBuffer, SupportsTrunc
1
+ from _typeshed import ConvertibleToInt, SliceableBuffer
2
2
  from array import array
3
3
 
4
4
  # Avoid name collision with List.type
5
5
  from builtins import type as Type
6
6
  from collections.abc import Callable, Iterable, Sequence
7
- from typing import Any, SupportsInt, TypeVar, overload, type_check_only
7
+ from typing import Any, TypeVar, overload, type_check_only
8
8
  from typing_extensions import Final, Literal, LiteralString, SupportsIndex, TypeAlias
9
9
 
10
10
  from Xlib._typing import ErrorHandler, Unused
@@ -14,7 +14,6 @@ from Xlib.ext.xinput import ClassInfoClass
14
14
  from Xlib.protocol import display
15
15
 
16
16
  _T = TypeVar("_T")
17
- _IntNew: TypeAlias = str | ReadableBuffer | SupportsInt | SupportsIndex | SupportsTrunc
18
17
  _ModifierMappingList8Elements: TypeAlias = Sequence[Sequence[int]]
19
18
 
20
19
  def decode_string(bs: bytes | bytearray) -> str: ...
@@ -237,7 +236,7 @@ class Object(ValueField):
237
236
  class PropertyData(ValueField):
238
237
  structcode: None
239
238
  def parse_binary_value(
240
- self, data: SliceableBuffer, display: Unused, length: _IntNew | None, format: int
239
+ self, data: SliceableBuffer, display: Unused, length: ConvertibleToInt | None, format: int
241
240
  ) -> tuple[tuple[int, SliceableBuffer] | None, SliceableBuffer]: ...
242
241
  def pack_value( # type: ignore[override] # Override Callable
243
242
  self, value: tuple[int, Sequence[float] | Sequence[str]]
@@ -21,13 +21,13 @@ https://github.com/python/typeshed/tree/main/stubs/python-xlib. All fixes for
21
21
  types and metadata should be contributed there.
22
22
 
23
23
  See https://github.com/python/typeshed/blob/main/README.md for more details.
24
- This package was generated from typeshed commit `d6403b14aa300f40abfe91dc8d092734b56fa570` and was tested
25
- with mypy 1.6.1, pyright 1.1.334, and
26
- pytype 2023.10.17.
24
+ This package was generated from typeshed commit `78052791df327b716406f3f78962c4247cfe381f` and was tested
25
+ with mypy 1.7.1, pyright 1.1.334, and
26
+ pytype 2023.11.21.
27
27
  '''.lstrip()
28
28
 
29
29
  setup(name=name,
30
- version="0.33.0.14",
30
+ version="0.33.0.15",
31
31
  description=description,
32
32
  long_description=long_description,
33
33
  long_description_content_type="text/markdown",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-python-xlib
3
- Version: 0.33.0.14
3
+ Version: 0.33.0.15
4
4
  Summary: Typing stubs for python-xlib
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0 license
@@ -32,6 +32,6 @@ https://github.com/python/typeshed/tree/main/stubs/python-xlib. All fixes for
32
32
  types and metadata should be contributed there.
33
33
 
34
34
  See https://github.com/python/typeshed/blob/main/README.md for more details.
35
- This package was generated from typeshed commit `d6403b14aa300f40abfe91dc8d092734b56fa570` and was tested
36
- with mypy 1.6.1, pyright 1.1.334, and
37
- pytype 2023.10.17.
35
+ This package was generated from typeshed commit `78052791df327b716406f3f78962c4247cfe381f` and was tested
36
+ with mypy 1.7.1, pyright 1.1.334, and
37
+ pytype 2023.11.21.