Commit Graph

7937 Commits

Author SHA1 Message Date
Shantanu
cf6fb07f2f math: updates for py312 (#10213) 2023-05-25 20:21:40 +01:00
Shantanu
b7d927a53f random: update for py312 (#10214)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-25 18:49:51 +01:00
Shantanu
9a0d1e9bb9 statistics: update for py312 (#10217)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-25 18:48:01 +01:00
Alex Waygood
bb701b09db Improve NamedTuple stubs (#10220) 2023-05-25 08:37:52 -07:00
Alex Waygood
4190dbca10 Add __orig_bases__ to TypedDict classes (#10221) 2023-05-25 08:34:31 -07:00
Shantanu
7994f165da json: add AttrDict in py312 (#10212) 2023-05-25 13:31:30 +01:00
Shantanu
854c453910 fractions: remove _normalize, update for py312 (#10218) 2023-05-25 10:21:19 +01:00
Shantanu
a4e33d4053 shutil.unpack_archive: update for py312 (#10215)
Add the new "filter" parameter
2023-05-25 09:53:25 +01:00
Shantanu
1eeab77254 Update VERSIONS for the death of smptd (#10210) 2023-05-25 09:49:18 +01:00
Jelle Zijlstra
4817408103 Update pyautogui (#10209)
Fixes #10207
2023-05-25 00:44:23 -07:00
Nikita Korolev
7ffb7cef69 SysLogHandler facility could be a string (#10206)
It is possible to pass syslog facility as string to __init__ too
2023-05-24 19:46:37 -07:00
Rebecca Chen
e98a87ff14 Trim pytype_exclude_list. (#10208)
* Updates pytype to latest version.
* Removes files from pytype_exclude_list that can now be parsed.
2023-05-24 19:35:19 -07:00
Jelle Zijlstra
185adf01a9 Clean up stubtest allowlist for typing (#10205) 2023-05-24 20:33:46 +01:00
Jelle Zijlstra
e4dcfccbd5 Update typing-extensions; some 3.12 updates (#10200)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-24 11:06:55 -07:00
Nikita Sobolev
e666602d14 asyncore and asynchat will be removed in 3.12 (#9033) 2023-05-23 19:16:25 +02:00
github-actions[bot]
e821090926 [stubsabot] Bump requests to 2.31.* (#10199)
Release: https://pypi.org/pypi/requests/2.31.0
Homepage: https://requests.readthedocs.io
Diff: https://github.com/psf/requests/compare/v2.30.0...v2.31.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.
 - 2 files included in typeshed's stubs have been modified or renamed: `requests/__version__.py`, `requests/sessions.py`.
 - Total lines of Python code added: 26.
 - Total lines of Python code deleted: 4.
2023-05-23 07:21:52 +01:00
github-actions[bot]
560aaa1645 [stubsabot] Bump braintree to 4.20.* (#10198)
Release: https://pypi.org/pypi/braintree/4.20.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
2023-05-23 07:20:53 +01:00
Mehdi Drissi
510547ef3c Add core tensorflow.data stubs (#10122)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-05-22 08:00:27 -07:00
Abtin
31f4b8cf80 add typing support to more aiofiles wrapped functions (#10175)
add stubs for missing functions:

- renames
- unlink
- link
- listdir
2023-05-22 07:44:00 -07:00
Sebastian Rittau
15df17098a [PyYAML] Improve dump/serialize types (#10196)
* Add overloads to return `str` or `bytes`, instead of `Any`.
* Mark some arguments as keyword-only.
* Add missing default values.
2023-05-22 16:40:04 +02:00
Ali Hamdan
ca701f0ef3 Type argparse.HelpFormatter._Section (#10191)
The python type system doesn't provide a way to fully express the type of
`self.NestedClass` with inheritance but this change is still an improvement
over the `Any` annotations. The usage of `_Section` is rare and subclassing
it is even rarer so this shouldn't cause trouble.
2023-05-22 07:39:46 -07:00
github-actions[bot]
35450d9c0d [stubsabot] Bump setuptools to 67.8.* (#10194)
Release: https://pypi.org/pypi/setuptools/67.8.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.7.2...v67.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.
 - 2 files included in typeshed's stubs have been modified or renamed: `setuptools/command/easy_install.py`, `setuptools/version.py`.
 - Total lines of Python code added: 425.
 - Total lines of Python code deleted: 215.

---------

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-20 09:46:05 +01:00
Avasam
b5c9d8d677 Don't ignore missing stubs in setuptools (#10058) 2023-05-19 07:03:34 +01:00
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