Commit Graph

7914 Commits

Author SHA1 Message Date
Rebecca Chen
274f449edc Treat entries on pytype_exclude_list as missing modules for pytype_test. (#10187) 2023-05-17 00:38:49 +02:00
Nikita Sobolev
f143f47b11 Mark invoke as obsolete since 2.1.2 (#10100) 2023-05-16 09:21:31 +01:00
Nikita Sobolev
c98e43b2bb Bump tzlocal to 5.0.1 (#10188) 2023-05-16 08:40:54 +01:00
Avasam
2d5dafadb7 openpyxl: Type MetaSerialisable dunders (#10170)
Typed `Serialisable.__attrs__`, `Serialisable.__nested__`, `Serialisable.__elements__`, and `Serialisable.__namespaced__` ClassVars.
2023-05-15 13:48:15 +02:00
Nikita Sobolev
f7d7bb53ca Change asyncio.Task.__init__ signature for Python 3.12 (#10184) 2023-05-15 13:34:45 +02:00
Nikita Sobolev
b25a5b6aef Use _AwaitableLike in EventLoop.run_until_complete (#10181) 2023-05-15 09:34:50 +01:00
Nikita Sobolev
3032e88595 Bump tzlocal to 5.0 (#10183) 2023-05-15 01:01:59 -07:00
Nikita Sobolev
15a0c28530 Use _CoroutineLike in asyncio.taskgroups (#10180) 2023-05-14 13:32:27 +01:00
Nikita Sobolev
1d8a199582 [asyncio] Make create_task work with coroutines only in 3.12 (#10177)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-14 12:16:26 +01:00
Nikita Sobolev
aa36289684 Bump PyInstaller to 5.11.* (#10179)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-14 11:52:19 +01:00
Sam Bull
9c212cdf5c Update _SSLProtocolTransport._ssl_protocol (#10176)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-05-12 17:56:58 -07:00
Nikita Sobolev
6c54c74a84 Bump mypy to 1.3.0 (#10173)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-05-11 19:03:39 +01:00
Alex Waygood
ecf4e708bf Revert "[stubsabot] Mark pyvmomi as obsolete since 8.0.1.0 (#10148)" (#10171)
This reverts commit 853d01d55e.
2023-05-10 17:28:19 +01:00
Alex Waygood
d1bfd08b4b Allow passing multiprocessing.Queues to QueueListener/QueueHandler (#10169) 2023-05-10 17:06:41 +02:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Sebastian Rittau
ff700e1b95 Fix return type of FPDF.output() (#10166) 2023-05-10 07:05:48 -07:00
Nikita Sobolev
adddc4f24a Bump docutils to 0.20.* (#10167) 2023-05-10 12:40:27 +03:00
Alex Waygood
1221b47118 Improve how we run mypy on the py312 stubs (#10152) 2023-05-10 10:05:45 +02:00
Avasam
dfee77ef6b [openpyxl] Complete base descriptors (#10001) 2023-05-10 08:37:11 +02:00
Avasam
a584b43769 [Pillow] Add all missing items (#10114) 2023-05-10 08:34:26 +02:00
Ali Hamdan
3add7f0d76 Reference the stub_uploader issue discussing externals deps in the contributing guide (#10156)
Closes #10150
2023-05-10 08:32:00 +02:00
github-actions[bot]
7113c35a67 [stubsabot] Bump flake8-bugbear to 23.5.9 (#10165)
Release: https://pypi.org/pypi/flake8-bugbear/23.5.9
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `tests/b033.py`, `tests/b908.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 190.
 - Total lines of Python code deleted: 26.
2023-05-10 06:31:47 +01:00
Nikita Sobolev
caceaca974 [redis] Add new methods to RedisClusterCommands (#10162) 2023-05-09 14:43:35 +01:00
Nikita Sobolev
0f96850532 Update redis to 4.5.5 (#10161) 2023-05-09 14:18:50 +01:00
github-actions[bot]
b48d1b9caf [stubsabot] Bump protobuf to 4.23.* (#10158)
Release: https://pypi.org/pypi/protobuf/4.23.0
Homepage: https://developers.google.com/protocol-buffers/
2023-05-09 09:42:01 +01:00
Nikita Sobolev
a2457367d0 Remove emoji stubs (#10160)
Remove `emoji` stubs, refs #8760
2023-05-09 09:28:11 +01:00
Jun Komoda
9457de310a update constructor args of the CFuncPtr to expand acceptable types (#10155)
* allow the second element of `_PF` to be `None`

* allow `__paramflags` to be `None`

* allow `__iid` to be `None` or `_CData`

* remove unused symbols
2023-05-07 07:32:58 -07:00
github-actions[bot]
38a11b2f06 [stubsabot] Bump flake8-2020 to 1.8.* (#10153)
Release: https://pypi.org/pypi/flake8-2020/1.8.0
Homepage: https://github.com/asottile/flake8-2020
Diff: https://github.com/asottile/flake8-2020/compare/v1.7.0...v1.8.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `flake8_2020.py`.
 - Total lines of Python code added: 9.
 - Total lines of Python code deleted: 7.
2023-05-07 08:03:26 +01:00
Jun Komoda
1d69fb3675 fix _ctypes.CFuncPtr constructor args (#10154)
* add a conditional branch for Windows only

* fix argname spelling
`vtlb_index` -> `vtbl_index`

* add an overload
for the case where no arguments are passed to the constructor

* mark all of the arguments as positional-only
2023-05-06 20:04:16 -07:00
Martijn Pieters
03e3955037 Redis: Add missing exported names (#10151) 2023-05-06 22:24:44 +01:00
Jun Komoda
a6ecf564b5 move and rename from ctypes._FuncPointer to _ctypes.CFuncPtr (#10140)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-06 10:17:34 -07:00
github-actions[bot]
853d01d55e [stubsabot] Mark pyvmomi as obsolete since 8.0.1.0 (#10148)
Release: https://pypi.org/pypi/pyvmomi/8.0.1.0
Homepage: https://github.com/vmware/pyvmomi
Diff: https://github.com/vmware/pyvmomi/compare/v8.0.0.1.2...v8.0.1.0
2023-05-06 01:56:54 +01:00
Alex Waygood
9ac44fb8a6 Pin pyvmomi more tightly (#10147)
Fixes #10146
2023-05-06 01:34:25 +01:00
Alex Waygood
348f46452f flake8: Enable F822 (#10144) 2023-05-05 10:27:41 -07:00
Alex Waygood
99375e1b4c Bump flake8-pyi to 23.5.0; re-enable F821 (#10143) 2023-05-05 18:06:10 +02:00
Sebastian Rittau
5fdbf37c1f [requests] Update stubs to 2.30 (#10141) 2023-05-05 11:01:21 +01:00
github-actions[bot]
f9551c4fea [stubsabot] Bump regex to 2023.5.5 (#10138)
Release: https://pypi.org/pypi/regex/2023.5.5
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.4...2023.5.5

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 2.
 - Total lines of Python code deleted: 2.
2023-05-04 06:06:45 +01:00
Sebastian Rittau
f1c419e816 [fpdf2] Update stubs for fpdf 2.7.4 (#10136)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-03 16:52:43 +01:00
Jun Komoda
05c0a1d8b2 move byref-related definitions from ctypes/__init__.pyi to _ctypes.pyi (#10137) 2023-05-03 16:50:47 +01:00
Sebastian Rittau
ec1130adcc [fpdf2] Update to 2.7.1 (#9978) 2023-05-03 17:06:12 +02:00
Sebastian Rittau
81f6beda9e Document sys.std* typing (#10135) 2023-05-03 16:30:37 +02:00
Jelle Zijlstra
8e24885da7 paramiko: Improve various bytes-related types (#10109) 2023-05-03 15:53:54 +02:00
danieleades
6b5ca0b238 [docutils] Add items to docutils.node (#10102)
* Add class paragraph
* Add class TextElement
* Add Element.index(), .remove(), and .insert()
2023-05-03 12:45:08 +02:00
Victor Westerhuis
0b60e7fac5 Add Markdown.ESCAPED_CHARS to Markdown stubs (#10134) 2023-05-03 10:24:57 +01:00
Jun Komoda
01b09d4371 Move some pointer-related definitions from ctypes/__init__.pyi to _ctypes.pyi (#10133) 2023-05-03 10:04:13 +01:00
github-actions[bot]
06878a98be [stubsabot] Bump regex to 2023.5.4 (#10131)
Release: https://pypi.org/pypi/regex/2023.5.4
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.3.23...2023.5.4

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 8.
 - Total lines of Python code deleted: 3.
2023-05-03 01:28:29 +01:00
Jun Komoda
ce531f897f move some non-pointer-related definitions from ctypes/__init__.pyi to _ctypes.pyi (#10130)
- `ArgumentError`
- `addressof`
- `alignment`
- `get_errno`
- `resize`
- `set_errno`
- `sizeof`
2023-05-02 16:54:42 +01:00
Avasam
1caac913ea Add stubdefaulter to create_baseline_stubs.py (#10127) 2023-05-02 11:31:34 +01:00
Jun Komoda
bbeec7cbbf Move some Windows-specific things from ctypes/__init__.pyi to _ctypes.pyi (#10128)
- `FormatError`
- `get_last_error`
- `set_last_error`
2023-05-02 11:21:55 +01:00
Alex Waygood
d208d5a833 Pyright: create a more isolated environment in CI for testing stubs (#10121) 2023-05-01 19:02:45 +01:00