basedpyright 1.13.1 → 1.13.2

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 (148) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/VERSIONS +3 -1
  7. package/dist/typeshed-fallback/stdlib/_ast.pyi +1 -1
  8. package/dist/typeshed-fallback/stdlib/_bisect.pyi +221 -221
  9. package/dist/typeshed-fallback/stdlib/_csv.pyi +213 -213
  10. package/dist/typeshed-fallback/stdlib/_curses.pyi +1 -2
  11. package/dist/typeshed-fallback/stdlib/_heapq.pyi +67 -67
  12. package/dist/typeshed-fallback/stdlib/_interpchannels.pyi +84 -0
  13. package/dist/typeshed-fallback/stdlib/_json.pyi +92 -92
  14. package/dist/typeshed-fallback/stdlib/_lsprof.pyi +92 -92
  15. package/dist/typeshed-fallback/stdlib/_random.pyi +30 -30
  16. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +7 -0
  17. package/dist/typeshed-fallback/stdlib/_weakref.pyi +3 -2
  18. package/dist/typeshed-fallback/stdlib/argparse.pyi +6 -2
  19. package/dist/typeshed-fallback/stdlib/array.pyi +281 -281
  20. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +56 -37
  21. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +4 -1
  22. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +156 -134
  23. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +3 -2
  24. package/dist/typeshed-fallback/stdlib/audioop.pyi +95 -95
  25. package/dist/typeshed-fallback/stdlib/binascii.pyi +123 -123
  26. package/dist/typeshed-fallback/stdlib/cmath.pyi +112 -112
  27. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +1 -1
  28. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +2 -5
  29. package/dist/typeshed-fallback/stdlib/math.pyi +424 -424
  30. package/dist/typeshed-fallback/stdlib/mmap.pyi +160 -154
  31. package/dist/typeshed-fallback/stdlib/multiprocessing/context.pyi +10 -6
  32. package/dist/typeshed-fallback/stdlib/multiprocessing/sharedctypes.pyi +33 -12
  33. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +10 -10
  34. package/dist/typeshed-fallback/stdlib/posixpath.pyi +3 -13
  35. package/dist/typeshed-fallback/stdlib/spwd.pyi +9 -0
  36. package/dist/typeshed-fallback/stdlib/subprocess.pyi +8 -0
  37. package/dist/typeshed-fallback/stdlib/tarfile.pyi +23 -1
  38. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +1 -0
  39. package/dist/typeshed-fallback/stdlib/typing.pyi +21 -2
  40. package/dist/typeshed-fallback/stdlib/weakref.pyi +4 -1
  41. package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +1 -1
  42. package/dist/typeshed-fallback/stdlib/zlib.pyi +157 -157
  43. package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/__init__.pyi +4 -4
  44. package/dist/typeshed-fallback/stubs/aiofiles/METADATA.toml +1 -1
  45. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/base.pyi +6 -20
  46. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/os.pyi +2 -0
  47. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/ospath.pyi +5 -3
  48. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/__init__.pyi +143 -79
  49. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/threadpool/__init__.pyi +5 -5
  50. package/dist/typeshed-fallback/stubs/assertpy/assertpy/extracting.pyi +7 -1
  51. package/dist/typeshed-fallback/stubs/docker/docker/_types.pyi +8 -0
  52. package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +2 -2
  53. package/dist/typeshed-fallback/stubs/docker/docker/api/image.pyi +3 -2
  54. package/dist/typeshed-fallback/stubs/docker/docker/api/network.pyi +32 -15
  55. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +36 -7
  56. package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +67 -5
  57. package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +20 -3
  58. package/dist/typeshed-fallback/stubs/docker/docker/types/containers.pyi +78 -70
  59. package/dist/typeshed-fallback/stubs/docker/docker/utils/json_stream.pyi +4 -7
  60. package/dist/typeshed-fallback/stubs/flake8/METADATA.toml +1 -1
  61. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +16 -5
  62. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/image_datastructures.pyi +2 -1
  63. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +4 -2
  64. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/text_region.pyi +7 -7
  65. package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
  66. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +1 -0
  67. package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
  68. package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/raft.pyi +9 -0
  69. package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/wrapping.pyi +1 -0
  70. package/dist/typeshed-fallback/stubs/influxdb-client/METADATA.toml +1 -1
  71. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/_pages.pyi +37 -0
  72. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/bucket_api.pyi +5 -1
  73. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/tasks_api.pyi +4 -3
  74. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/domain/bucket.pyi +6 -6
  75. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/domain/task.pyi +6 -6
  76. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +3 -1
  77. package/dist/typeshed-fallback/stubs/olefile/olefile/olefile.pyi +41 -31
  78. package/dist/typeshed-fallback/stubs/openpyxl/METADATA.toml +1 -1
  79. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/rich_text.pyi +3 -0
  80. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/trendline.pyi +1 -2
  81. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/base.pyi +1 -1
  82. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/container.pyi +18 -0
  83. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/sequence.pyi +20 -12
  84. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/custom.pyi +1 -1
  85. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/extended.pyi +2 -2
  86. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/relationship.pyi +6 -11
  87. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/pivot/cache.pyi +66 -135
  88. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/pivot/fields.pyi +2 -2
  89. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/alignment.pyi +0 -1
  90. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/borders.pyi +0 -2
  91. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/fills.pyi +3 -3
  92. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/named_styles.pyi +5 -10
  93. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/utils/cell.pyi +2 -2
  94. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/utils/indexed_list.pyi +2 -2
  95. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/defined_name.pyi +2 -2
  96. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +11 -3
  97. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/datavalidation.pyi +2 -2
  98. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/dimensions.pyi +6 -3
  99. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/filters.pyi +26 -22
  100. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/hyperlink.pyi +3 -5
  101. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/views.pyi +5 -2
  102. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +4 -2
  103. package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +1 -1
  104. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +6 -1
  105. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  106. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +84 -15
  107. package/dist/typeshed-fallback/stubs/psutil/METADATA.toml +1 -1
  108. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +3 -1
  109. package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +0 -2
  110. package/dist/typeshed-fallback/stubs/psutil/psutil/_compat.pyi +0 -1
  111. package/dist/typeshed-fallback/stubs/psutil/psutil/_psaix.pyi +1 -1
  112. package/dist/typeshed-fallback/stubs/psutil/psutil/_psbsd.pyi +1 -1
  113. package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +2 -2
  114. package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +1 -1
  115. package/dist/typeshed-fallback/stubs/psutil/psutil/_pssunos.pyi +1 -1
  116. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_osx.pyi +1 -1
  117. package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +1 -1
  118. package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
  119. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/__main__.pyi +1 -0
  120. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +0 -2
  121. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/compat.pyi +2 -3
  122. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +3 -2
  123. package/dist/typeshed-fallback/stubs/requests/requests/models.pyi +2 -2
  124. package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +2 -1
  125. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  126. package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +80 -50
  127. package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +2 -4
  128. package/dist/typeshed-fallback/stubs/setuptools/setuptools/build_meta.pyi +6 -3
  129. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_egg.pyi +3 -9
  130. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_wheel.pyi +61 -0
  131. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_ext.pyi +2 -2
  132. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_py.pyi +12 -1
  133. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/easy_install.pyi +1 -1
  134. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/egg_info.pyi +4 -4
  135. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/install_lib.pyi +3 -4
  136. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +1 -1
  137. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/expand.pyi +0 -1
  138. package/dist/typeshed-fallback/stubs/shapely/METADATA.toml +2 -1
  139. package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +3 -3
  140. package/dist/typeshed-fallback/stubs/shapely/shapely/constructive.pyi +6 -6
  141. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +3 -3
  142. package/dist/typeshed-fallback/stubs/shapely/shapely/io.pyi +2 -2
  143. package/dist/typeshed-fallback/stubs/shapely/shapely/strtree.pyi +9 -9
  144. package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +1 -1
  145. package/package.json +1 -1
  146. package/dist/typeshed-fallback/stubs/tree-sitter/METADATA.toml +0 -7
  147. package/dist/typeshed-fallback/stubs/tree-sitter/tree_sitter/__init__.pyi +0 -17
  148. package/dist/typeshed-fallback/stubs/tree-sitter/tree_sitter/binding.pyi +0 -115
@@ -2,6 +2,7 @@ from _typeshed import Incomplete
2
2
  from typing import ClassVar, Literal
3
3
 
4
4
  from openpyxl.descriptors.base import String
5
+ from openpyxl.descriptors.sequence import Sequence
5
6
  from openpyxl.descriptors.serialisable import Serialisable
6
7
 
7
8
  class Hyperlink(Serialisable):
@@ -25,8 +26,5 @@ class Hyperlink(Serialisable):
25
26
 
26
27
  class HyperlinkList(Serialisable):
27
28
  tagname: ClassVar[str]
28
- hyperlink: Incomplete
29
- def __init__(self, hyperlink=()) -> None: ...
30
- def __bool__(self) -> bool: ...
31
- def __len__(self) -> int: ...
32
- def append(self, value) -> None: ...
29
+ hyperlink: Sequence[list[Hyperlink]]
30
+ def __init__(self, hyperlink: list[Hyperlink] | tuple[Hyperlink, ...] = ()) -> None: ...
@@ -4,6 +4,7 @@ from typing_extensions import TypeAlias
4
4
 
5
5
  from openpyxl.descriptors.base import Bool, Float, Integer, NoneSet, Set, String, Typed, _ConvertibleToBool
6
6
  from openpyxl.descriptors.excel import ExtensionList
7
+ from openpyxl.descriptors.sequence import Sequence
7
8
  from openpyxl.descriptors.serialisable import Serialisable
8
9
 
9
10
  _Pane: TypeAlias = Literal["bottomRight", "topRight", "bottomLeft", "topLeft"]
@@ -90,7 +91,9 @@ class SheetView(Serialisable):
90
91
 
91
92
  class SheetViewList(Serialisable):
92
93
  tagname: ClassVar[str]
93
- sheetView: Incomplete
94
+ sheetView: Sequence[list[SheetView]]
94
95
  extLst: Typed[ExtensionList, Literal[True]]
95
96
  __elements__: ClassVar[tuple[str, ...]]
96
- def __init__(self, sheetView: Incomplete | None = None, extLst: Unused = None) -> None: ...
97
+ def __init__(self, sheetView: SheetView | None = None, extLst: Unused = None) -> None: ...
98
+ @property
99
+ def active(self) -> SheetView: ...
@@ -51,8 +51,8 @@ class Worksheet(_WorkbookChild):
51
51
  ORIENTATION_PORTRAIT: Final = "portrait"
52
52
  ORIENTATION_LANDSCAPE: Final = "landscape"
53
53
 
54
- row_dimensions: DimensionHolder[RowDimension]
55
- column_dimensions: DimensionHolder[ColumnDimension]
54
+ row_dimensions: DimensionHolder[int, RowDimension]
55
+ column_dimensions: DimensionHolder[str, ColumnDimension]
56
56
  row_breaks: RowBreak
57
57
  col_breaks: ColBreak
58
58
  merged_cells: MultiCellRange
@@ -190,6 +190,8 @@ class Worksheet(_WorkbookChild):
190
190
  ) -> Generator[tuple[Cell, ...], None, None] | Generator[tuple[str | float | datetime | None, ...], None, None]: ...
191
191
  @property
192
192
  def columns(self) -> Generator[tuple[Cell, ...], None, None]: ...
193
+ @property
194
+ def column_groups(self) -> list[str]: ...
193
195
  def set_printer_settings(
194
196
  self, paper_size: int | None, orientation: Literal["default", "portrait", "landscape"] | None
195
197
  ) -> None: ...
@@ -1,4 +1,4 @@
1
- version = "3.17.3"
1
+ version = "3.17.5"
2
2
  upstream_repository = "https://github.com/coleifer/peewee"
3
3
  # We're not providing stubs for all playhouse modules right now
4
4
  # https://github.com/python/typeshed/pull/11731#issuecomment-2065729058
@@ -459,7 +459,12 @@ class ForUpdate(Node):
459
459
  def __init__(self, expr, of: Incomplete | None = ..., nowait: Incomplete | None = ...) -> None: ...
460
460
  def __sql__(self, ctx): ...
461
461
 
462
- def Case(predicate, expression_tuples, default: Incomplete | None = ...): ...
462
+ class Case(ColumnBase):
463
+ predicate: Incomplete
464
+ expression_tuples: Incomplete
465
+ default: Incomplete | None
466
+ def __init__(self, predicate, expression_tuples, default: Incomplete | None = None) -> None: ...
467
+ def __sql__(self, ctx): ...
463
468
 
464
469
  class NodeList(ColumnBase):
465
470
  nodes: Incomplete
@@ -1,8 +1,8 @@
1
1
  # Whenever you update version here, PROTOBUF_VERSION should be updated
2
2
  # in scripts/generate_proto_stubs.sh and vice-versa.
3
- version = "5.26.*"
3
+ version = "5.27.*"
4
4
  upstream_repository = "https://github.com/protocolbuffers/protobuf"
5
- extra_description = "Generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 25.1 on [protobuf v26.1](https://github.com/protocolbuffers/protobuf/releases/tag/v26.1) (python protobuf==5.26.1)"
5
+ extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on [protobuf v27.1](https://github.com/protocolbuffers/protobuf/releases/tag/v27.1) (python protobuf==5.27.1)."
6
6
  partial_stub = true
7
7
 
8
8
  [tool.stubtest]
@@ -35,6 +35,10 @@ class _EditionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTy
35
35
  DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
36
36
  EDITION_UNKNOWN: _Edition.ValueType # 0
37
37
  """A placeholder for an unknown edition value."""
38
+ EDITION_LEGACY: _Edition.ValueType # 900
39
+ """A placeholder edition for specifying default behaviors *before* a feature
40
+ was first introduced. This is effectively an "infinite past".
41
+ """
38
42
  EDITION_PROTO2: _Edition.ValueType # 998
39
43
  """Legacy syntax "editions". These pre-date editions, but behave much like
40
44
  distinct editions. These can't be used to specify the edition of proto
@@ -67,6 +71,10 @@ class Edition(_Edition, metaclass=_EditionEnumTypeWrapper):
67
71
 
68
72
  EDITION_UNKNOWN: Edition.ValueType # 0
69
73
  """A placeholder for an unknown edition value."""
74
+ EDITION_LEGACY: Edition.ValueType # 900
75
+ """A placeholder edition for specifying default behaviors *before* a feature
76
+ was first introduced. This is effectively an "infinite past".
77
+ """
70
78
  EDITION_PROTO2: Edition.ValueType # 998
71
79
  """Legacy syntax "editions". These pre-date editions, but behave much like
72
80
  distinct editions. These can't be used to specify the edition of proto
@@ -898,12 +906,16 @@ class FileOptions(google.protobuf.message.Message):
898
906
  java_generate_equals_and_hash: builtins.bool
899
907
  """This option does nothing."""
900
908
  java_string_check_utf8: builtins.bool
901
- """If set true, then the Java2 code generator will generate code that
902
- throws an exception whenever an attempt is made to assign a non-UTF-8
903
- byte sequence to a string field.
904
- Message reflection will do the same.
905
- However, an extension field still accepts non-UTF-8 byte sequences.
906
- This option has no effect on when used with the lite runtime.
909
+ """A proto2 file can set this to true to opt in to UTF-8 checking for Java,
910
+ which will throw an exception if invalid UTF-8 is parsed from the wire or
911
+ assigned to a string field.
912
+
913
+ TODO: clarify exactly what kinds of field types this option
914
+ applies to, and update these docs accordingly.
915
+
916
+ Proto3 files already perform these checks. Setting the option explicitly to
917
+ false has no effect: it cannot be used to opt proto3 files out of UTF-8
918
+ checks.
907
919
  """
908
920
  optimize_for: global___FileOptions.OptimizeMode.ValueType
909
921
  go_package: builtins.str
@@ -1238,6 +1250,45 @@ class FieldOptions(google.protobuf.message.Message):
1238
1250
  def HasField(self, field_name: typing.Literal["edition", b"edition", "value", b"value"]) -> builtins.bool: ...
1239
1251
  def ClearField(self, field_name: typing.Literal["edition", b"edition", "value", b"value"]) -> None: ...
1240
1252
 
1253
+ @typing.final
1254
+ class FeatureSupport(google.protobuf.message.Message):
1255
+ """Information about the support window of a feature."""
1256
+
1257
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1258
+
1259
+ EDITION_INTRODUCED_FIELD_NUMBER: builtins.int
1260
+ EDITION_DEPRECATED_FIELD_NUMBER: builtins.int
1261
+ DEPRECATION_WARNING_FIELD_NUMBER: builtins.int
1262
+ EDITION_REMOVED_FIELD_NUMBER: builtins.int
1263
+ edition_introduced: global___Edition.ValueType
1264
+ """The edition that this feature was first available in. In editions
1265
+ earlier than this one, the default assigned to EDITION_LEGACY will be
1266
+ used, and proto files will not be able to override it.
1267
+ """
1268
+ edition_deprecated: global___Edition.ValueType
1269
+ """The edition this feature becomes deprecated in. Using this after this
1270
+ edition may trigger warnings.
1271
+ """
1272
+ deprecation_warning: builtins.str
1273
+ """The deprecation warning text if this feature is used after the edition it
1274
+ was marked deprecated in.
1275
+ """
1276
+ edition_removed: global___Edition.ValueType
1277
+ """The edition this feature is no longer available in. In editions after
1278
+ this one, the last default assigned will be used, and proto files will
1279
+ not be able to override it.
1280
+ """
1281
+ def __init__(
1282
+ self,
1283
+ *,
1284
+ edition_introduced: global___Edition.ValueType | None = ...,
1285
+ edition_deprecated: global___Edition.ValueType | None = ...,
1286
+ deprecation_warning: builtins.str | None = ...,
1287
+ edition_removed: global___Edition.ValueType | None = ...,
1288
+ ) -> None: ...
1289
+ def HasField(self, field_name: typing.Literal["deprecation_warning", b"deprecation_warning", "edition_deprecated", b"edition_deprecated", "edition_introduced", b"edition_introduced", "edition_removed", b"edition_removed"]) -> builtins.bool: ...
1290
+ def ClearField(self, field_name: typing.Literal["deprecation_warning", b"deprecation_warning", "edition_deprecated", b"edition_deprecated", "edition_introduced", b"edition_introduced", "edition_removed", b"edition_removed"]) -> None: ...
1291
+
1241
1292
  CTYPE_FIELD_NUMBER: builtins.int
1242
1293
  PACKED_FIELD_NUMBER: builtins.int
1243
1294
  JSTYPE_FIELD_NUMBER: builtins.int
@@ -1250,6 +1301,7 @@ class FieldOptions(google.protobuf.message.Message):
1250
1301
  TARGETS_FIELD_NUMBER: builtins.int
1251
1302
  EDITION_DEFAULTS_FIELD_NUMBER: builtins.int
1252
1303
  FEATURES_FIELD_NUMBER: builtins.int
1304
+ FEATURE_SUPPORT_FIELD_NUMBER: builtins.int
1253
1305
  UNINTERPRETED_OPTION_FIELD_NUMBER: builtins.int
1254
1306
  ctype: global___FieldOptions.CType.ValueType
1255
1307
  """The ctype option instructs the C++ code generator to use a different
@@ -1331,6 +1383,8 @@ class FieldOptions(google.protobuf.message.Message):
1331
1383
  def features(self) -> global___FeatureSet:
1332
1384
  """Any features defined in the specific edition."""
1333
1385
 
1386
+ @property
1387
+ def feature_support(self) -> global___FieldOptions.FeatureSupport: ...
1334
1388
  @property
1335
1389
  def uninterpreted_option(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UninterpretedOption]:
1336
1390
  """The parser stores options it doesn't recognize here. See above."""
@@ -1350,10 +1404,11 @@ class FieldOptions(google.protobuf.message.Message):
1350
1404
  targets: collections.abc.Iterable[global___FieldOptions.OptionTargetType.ValueType] | None = ...,
1351
1405
  edition_defaults: collections.abc.Iterable[global___FieldOptions.EditionDefault] | None = ...,
1352
1406
  features: global___FeatureSet | None = ...,
1407
+ feature_support: global___FieldOptions.FeatureSupport | None = ...,
1353
1408
  uninterpreted_option: collections.abc.Iterable[global___UninterpretedOption] | None = ...,
1354
1409
  ) -> None: ...
1355
- def HasField(self, field_name: typing.Literal["ctype", b"ctype", "debug_redact", b"debug_redact", "deprecated", b"deprecated", "features", b"features", "jstype", b"jstype", "lazy", b"lazy", "packed", b"packed", "retention", b"retention", "unverified_lazy", b"unverified_lazy", "weak", b"weak"]) -> builtins.bool: ...
1356
- def ClearField(self, field_name: typing.Literal["ctype", b"ctype", "debug_redact", b"debug_redact", "deprecated", b"deprecated", "edition_defaults", b"edition_defaults", "features", b"features", "jstype", b"jstype", "lazy", b"lazy", "packed", b"packed", "retention", b"retention", "targets", b"targets", "uninterpreted_option", b"uninterpreted_option", "unverified_lazy", b"unverified_lazy", "weak", b"weak"]) -> None: ...
1410
+ def HasField(self, field_name: typing.Literal["ctype", b"ctype", "debug_redact", b"debug_redact", "deprecated", b"deprecated", "feature_support", b"feature_support", "features", b"features", "jstype", b"jstype", "lazy", b"lazy", "packed", b"packed", "retention", b"retention", "unverified_lazy", b"unverified_lazy", "weak", b"weak"]) -> builtins.bool: ...
1411
+ def ClearField(self, field_name: typing.Literal["ctype", b"ctype", "debug_redact", b"debug_redact", "deprecated", b"deprecated", "edition_defaults", b"edition_defaults", "feature_support", b"feature_support", "features", b"features", "jstype", b"jstype", "lazy", b"lazy", "packed", b"packed", "retention", b"retention", "targets", b"targets", "uninterpreted_option", b"uninterpreted_option", "unverified_lazy", b"unverified_lazy", "weak", b"weak"]) -> None: ...
1357
1412
 
1358
1413
  global___FieldOptions = FieldOptions
1359
1414
 
@@ -1438,6 +1493,7 @@ class EnumValueOptions(google.protobuf.message.Message):
1438
1493
  DEPRECATED_FIELD_NUMBER: builtins.int
1439
1494
  FEATURES_FIELD_NUMBER: builtins.int
1440
1495
  DEBUG_REDACT_FIELD_NUMBER: builtins.int
1496
+ FEATURE_SUPPORT_FIELD_NUMBER: builtins.int
1441
1497
  UNINTERPRETED_OPTION_FIELD_NUMBER: builtins.int
1442
1498
  deprecated: builtins.bool
1443
1499
  """Is this enum value deprecated?
@@ -1454,6 +1510,10 @@ class EnumValueOptions(google.protobuf.message.Message):
1454
1510
  def features(self) -> global___FeatureSet:
1455
1511
  """Any features defined in the specific edition."""
1456
1512
 
1513
+ @property
1514
+ def feature_support(self) -> global___FieldOptions.FeatureSupport:
1515
+ """Information about the support window of a feature value."""
1516
+
1457
1517
  @property
1458
1518
  def uninterpreted_option(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UninterpretedOption]:
1459
1519
  """The parser stores options it doesn't recognize here. See above."""
@@ -1464,10 +1524,11 @@ class EnumValueOptions(google.protobuf.message.Message):
1464
1524
  deprecated: builtins.bool | None = ...,
1465
1525
  features: global___FeatureSet | None = ...,
1466
1526
  debug_redact: builtins.bool | None = ...,
1527
+ feature_support: global___FieldOptions.FeatureSupport | None = ...,
1467
1528
  uninterpreted_option: collections.abc.Iterable[global___UninterpretedOption] | None = ...,
1468
1529
  ) -> None: ...
1469
- def HasField(self, field_name: typing.Literal["debug_redact", b"debug_redact", "deprecated", b"deprecated", "features", b"features"]) -> builtins.bool: ...
1470
- def ClearField(self, field_name: typing.Literal["debug_redact", b"debug_redact", "deprecated", b"deprecated", "features", b"features", "uninterpreted_option", b"uninterpreted_option"]) -> None: ...
1530
+ def HasField(self, field_name: typing.Literal["debug_redact", b"debug_redact", "deprecated", b"deprecated", "feature_support", b"feature_support", "features", b"features"]) -> builtins.bool: ...
1531
+ def ClearField(self, field_name: typing.Literal["debug_redact", b"debug_redact", "deprecated", b"deprecated", "feature_support", b"feature_support", "features", b"features", "uninterpreted_option", b"uninterpreted_option"]) -> None: ...
1471
1532
 
1472
1533
  global___EnumValueOptions = EnumValueOptions
1473
1534
 
@@ -1799,18 +1860,26 @@ class FeatureSetDefaults(google.protobuf.message.Message):
1799
1860
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
1800
1861
 
1801
1862
  EDITION_FIELD_NUMBER: builtins.int
1802
- FEATURES_FIELD_NUMBER: builtins.int
1863
+ OVERRIDABLE_FEATURES_FIELD_NUMBER: builtins.int
1864
+ FIXED_FEATURES_FIELD_NUMBER: builtins.int
1803
1865
  edition: global___Edition.ValueType
1804
1866
  @property
1805
- def features(self) -> global___FeatureSet: ...
1867
+ def overridable_features(self) -> global___FeatureSet:
1868
+ """Defaults of features that can be overridden in this edition."""
1869
+
1870
+ @property
1871
+ def fixed_features(self) -> global___FeatureSet:
1872
+ """Defaults of features that can't be overridden in this edition."""
1873
+
1806
1874
  def __init__(
1807
1875
  self,
1808
1876
  *,
1809
1877
  edition: global___Edition.ValueType | None = ...,
1810
- features: global___FeatureSet | None = ...,
1878
+ overridable_features: global___FeatureSet | None = ...,
1879
+ fixed_features: global___FeatureSet | None = ...,
1811
1880
  ) -> None: ...
1812
- def HasField(self, field_name: typing.Literal["edition", b"edition", "features", b"features"]) -> builtins.bool: ...
1813
- def ClearField(self, field_name: typing.Literal["edition", b"edition", "features", b"features"]) -> None: ...
1881
+ def HasField(self, field_name: typing.Literal["edition", b"edition", "fixed_features", b"fixed_features", "overridable_features", b"overridable_features"]) -> builtins.bool: ...
1882
+ def ClearField(self, field_name: typing.Literal["edition", b"edition", "fixed_features", b"fixed_features", "overridable_features", b"overridable_features"]) -> None: ...
1814
1883
 
1815
1884
  DEFAULTS_FIELD_NUMBER: builtins.int
1816
1885
  MINIMUM_EDITION_FIELD_NUMBER: builtins.int
@@ -1,4 +1,4 @@
1
- version = "5.9.*"
1
+ version = "6.0.*"
2
2
  upstream_repository = "https://github.com/giampaolo/psutil"
3
3
 
4
4
  [tool.stubtest]
@@ -3,7 +3,7 @@ from _typeshed import Incomplete
3
3
  from collections.abc import Callable, Iterable, Iterator
4
4
  from contextlib import AbstractContextManager
5
5
  from typing import Any, Literal, overload
6
- from typing_extensions import Self, TypeAlias
6
+ from typing_extensions import Self, TypeAlias, deprecated
7
7
 
8
8
  from psutil._common import (
9
9
  AIX as AIX,
@@ -216,6 +216,7 @@ class Process:
216
216
  def memory_full_info(self) -> pfullmem: ...
217
217
  def memory_percent(self, memtype: str = "rss") -> float: ...
218
218
  def open_files(self) -> list[popenfile]: ...
219
+ @deprecated('use "net_connections" method instead')
219
220
  def connections(self, kind: str = "inet") -> list[pconn]: ...
220
221
  def send_signal(self, sig: int) -> None: ...
221
222
  def suspend(self) -> None: ...
@@ -223,6 +224,7 @@ class Process:
223
224
  def terminate(self) -> None: ...
224
225
  def kill(self) -> None: ...
225
226
  def wait(self, timeout: float | None = None) -> int: ...
227
+ def net_connections(self, kind: str = "inet") -> list[pconn]: ...
226
228
 
227
229
  class Popen(Process):
228
230
  def __init__(self, *args, **kwargs) -> None: ...
@@ -89,8 +89,6 @@ class sdiskpart(NamedTuple):
89
89
  mountpoint: str
90
90
  fstype: str
91
91
  opts: str
92
- maxfile: int
93
- maxpath: int
94
92
 
95
93
  class snetio(NamedTuple):
96
94
  bytes_sent: int
@@ -20,7 +20,6 @@ xrange = range
20
20
  unicode = str
21
21
  basestring = str
22
22
 
23
- def u(s): ...
24
23
  def b(s): ...
25
24
 
26
25
  SubprocessTimeoutExpired = TimeoutExpired
@@ -85,7 +85,7 @@ class Process:
85
85
  def create_time(self): ...
86
86
  def num_threads(self): ...
87
87
  def threads(self): ...
88
- def connections(self, kind: str = ...): ...
88
+ def net_connections(self, kind: str = ...): ...
89
89
  def nice_get(self): ...
90
90
  def nice_set(self, value): ...
91
91
  def ppid(self): ...
@@ -136,7 +136,7 @@ class Process:
136
136
  def num_threads(self): ...
137
137
  def num_ctx_switches(self): ...
138
138
  def threads(self): ...
139
- def connections(self, kind: str = ...): ...
139
+ def net_connections(self, kind: str = ...): ...
140
140
  def wait(self, timeout: Incomplete | None = ...): ...
141
141
  def nice_get(self): ...
142
142
  def nice_set(self, value): ...
@@ -148,7 +148,7 @@ net_if_addrs: Any
148
148
 
149
149
  class _Ipv6UnsupportedError(Exception): ...
150
150
 
151
- class Connections:
151
+ class NetConnections:
152
152
  tmap: Any
153
153
  def __init__(self) -> None: ...
154
154
  def get_proc_inodes(self, pid): ...
@@ -220,7 +220,7 @@ class Process:
220
220
  def rlimit(self, resource_, limits: Incomplete | None = ...): ...
221
221
  def status(self): ...
222
222
  def open_files(self): ...
223
- def connections(self, kind: str = ...): ...
223
+ def net_connections(self, kind: str = ...): ...
224
224
  def num_fds(self): ...
225
225
  def ppid(self): ...
226
226
  def uids(self, _uids_re=...): ...
@@ -99,7 +99,7 @@ class Process:
99
99
  def num_ctx_switches(self): ...
100
100
  def num_threads(self): ...
101
101
  def open_files(self): ...
102
- def connections(self, kind: str = ...): ...
102
+ def net_connections(self, kind: str = ...): ...
103
103
  def num_fds(self): ...
104
104
  def wait(self, timeout: Incomplete | None = ...): ...
105
105
  def nice_get(self): ...
@@ -114,7 +114,7 @@ class Process:
114
114
  def status(self): ...
115
115
  def threads(self): ...
116
116
  def open_files(self): ...
117
- def connections(self, kind: str = ...): ...
117
+ def net_connections(self, kind: str = ...): ...
118
118
 
119
119
  class nt_mmap_grouped(NamedTuple):
120
120
  path: Incomplete
@@ -33,7 +33,7 @@ def net_io_counters(*args, **kwargs) -> Any: ...
33
33
  def per_cpu_times(*args, **kwargs) -> Any: ...
34
34
  def pids(*args, **kwargs) -> Any: ...
35
35
  def proc_cmdline(*args, **kwargs) -> Any: ...
36
- def proc_connections(*args, **kwargs) -> Any: ...
36
+ def proc_net_connections(*args, **kwargs) -> Any: ...
37
37
  def proc_cwd(*args, **kwargs) -> Any: ...
38
38
  def proc_environ(*args, **kwargs) -> Any: ...
39
39
  def proc_exe(*args, **kwargs) -> Any: ...
@@ -190,7 +190,7 @@ class Process:
190
190
  def resume(self) -> None: ...
191
191
  def cwd(self): ...
192
192
  def open_files(self): ...
193
- def connections(self, kind: str = "inet"): ...
193
+ def net_connections(self, kind: str = "inet"): ...
194
194
  def nice_get(self): ...
195
195
  def nice_set(self, value): ...
196
196
  def ionice_get(self): ...
@@ -1,4 +1,4 @@
1
- version = "6.6.*"
1
+ version = "6.8.*"
2
2
  upstream_repository = "https://github.com/pyinstaller/pyinstaller"
3
3
  requires = ["types-setuptools"]
4
4
 
@@ -9,3 +9,4 @@ _PyIConfig: TypeAlias = (
9
9
 
10
10
  # https://pyinstaller.org/en/stable/usage.html#running-pyinstaller-from-python-code
11
11
  def run(pyi_args: Iterable[str] | None = None, pyi_config: _PyIConfig | None = None) -> None: ...
12
+ def check_unsafe_privileges() -> None: ...
@@ -12,7 +12,6 @@ class Splash(Target):
12
12
  name: Incomplete
13
13
  script_name: Incomplete
14
14
  minify_script: Incomplete
15
- rundir: Incomplete
16
15
  max_img_size: Incomplete
17
16
  text_pos: Incomplete
18
17
  text_size: Incomplete
@@ -37,7 +36,6 @@ class Splash(Target):
37
36
  text_default: str = "Initializing",
38
37
  full_tk: bool = False,
39
38
  minify_script: bool = True,
40
- rundir: str = "__splash",
41
39
  name: str = ...,
42
40
  script_name: str = ...,
43
41
  max_img_size: tuple[int, int] | None = (760, 480),
@@ -1,8 +1,8 @@
1
1
  # https://pyinstaller.org/en/stable/hooks.html#module-PyInstaller.compat
2
- from _typeshed import FileDescriptorOrPath, GenericPath
2
+ from _typeshed import FileDescriptorOrPath
3
3
  from collections.abc import Iterable
4
4
  from types import ModuleType
5
- from typing import AnyStr, Final, Literal, overload
5
+ from typing import Final, Literal, overload
6
6
 
7
7
  strict_collect_mode: bool
8
8
  is_64bits: Final[bool]
@@ -65,7 +65,6 @@ def exec_command_all(
65
65
  ) -> tuple[int, str, str]: ...
66
66
  def exec_python(*args: str, **kwargs: str | None) -> str: ...
67
67
  def exec_python_rc(*args: str, **kwargs: str | None) -> int: ...
68
- def expand_path(path: GenericPath[AnyStr]) -> AnyStr: ...
69
68
  def getsitepackages(prefixes: Iterable[str] | None = None) -> list[str]: ...
70
69
  def importlib_load_source(name: str, pathname: str) -> ModuleType: ...
71
70
 
@@ -1,5 +1,6 @@
1
- version = "4.2.*"
2
- # NOTE: There is no public upstream repository
1
+ version = "4.2.0"
2
+ # GitHub mirror of https://hg.reportlab.com/hg-public/reportlab/file
3
+ upstream_repository = "https://github.com/MrBitBucket/reportlab-mirror"
3
4
 
4
5
  [tool.stubtest]
5
6
  apt_dependencies = ["libcairo2-dev"]
@@ -1,5 +1,5 @@
1
1
  import datetime
2
- from _typeshed import Incomplete, Unused
2
+ from _typeshed import Incomplete, MaybeNone, Unused
3
3
  from collections.abc import Callable, Iterator
4
4
  from json import JSONDecoder
5
5
  from typing import Any
@@ -144,7 +144,7 @@ class Response:
144
144
  self, chunk_size: int | None = 512, decode_unicode: bool = False, delimiter: str | bytes | None = None
145
145
  ) -> Iterator[Incomplete]: ...
146
146
  @property
147
- def content(self) -> bytes: ...
147
+ def content(self) -> bytes | MaybeNone: ...
148
148
  @property
149
149
  def text(self) -> str: ...
150
150
  def json(
@@ -1,6 +1,7 @@
1
1
  version = "0.13.2"
2
2
  # Requires a version of numpy and matplotlib with a `py.typed` file
3
- requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
3
+ # TODO: stubtest errors when using numpy 2
4
+ requires = ["matplotlib>=3.8", "numpy>=1.20,<2", "pandas-stubs"]
4
5
  # matplotlib>=3.8 requires Python >=3.9
5
6
  requires_python = ">=3.9"
6
7
  upstream_repository = "https://github.com/mwaskom/seaborn"
@@ -1,4 +1,4 @@
1
- version = "70.0.*"
1
+ version = "70.1.*"
2
2
  upstream_repository = "https://github.com/pypa/setuptools"
3
3
 
4
4
  [tool.stubtest]