Commit Graph

8117 Commits

Author SHA1 Message Date
Alex Waygood
cf25698325 tempfile: more updates for py312 (#10256) 2023-06-04 12:13:12 -07:00
Alex Waygood
c3791d024a pathlib: is_mount() is implemented on Windows on py312+ (#10257) 2023-06-04 12:09:06 -07:00
Shantanu
7df870f452 Run stubtest for Python 3.12 (#10253) 2023-06-04 05:53:03 -07:00
Shantanu
03f1577607 Update pyright to 1.1.311 (#10254) 2023-06-04 10:02:34 +01:00
Nikita Sobolev
c1a857a41a distutils package was removed in 3.12 (#10249) 2023-06-03 22:08:09 -07:00
github-actions[bot]
d5555b1018 [stubsabot] Bump regex to 2023.6.3 (#10252)
Release: https://pypi.org/pypi/regex/2023.6.3
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.5...2023.6.3

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 8.
 - Total lines of Python code deleted: 2.
2023-06-04 01:42:36 +01:00
Shantanu
be85cc7121 builtins: updates for py312 (#10211)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-06-04 01:05:40 +01:00
Alex Waygood
d8ef303e00 Bump pycln and pathspec test dependencies (#10251) 2023-06-03 14:46:33 +01:00
Nikita Sobolev
b25150aa30 py312: Add delete=True parameter to tempfile.TemporaryDirectory (#10244)
Source: https://github.com/python/cpython/blob/3.12/Lib/tempfile.py#L864
2023-06-03 14:30:30 +01:00
Nikita Sobolev
e5651db430 Update socketserver for Python3.12 (#10246)
Source: https://github.com/python/cpython/blob/3.12/Lib/socketserver.py
2023-06-03 13:53:51 +01:00
Nikita Sobolev
c85f7de957 Update csv stubs for Python3.12 (#10250) 2023-06-03 13:45:43 +01:00
Jelle Zijlstra
628c88d995 Update ast for 3.12 (#10201) 2023-06-02 17:11:13 -07:00
Jelle Zijlstra
7bc4be08d8 Update some dependencies (#10243) 2023-06-02 16:54:52 -07:00
Nikita Sobolev
185faf00cd Update threading for py312 (#10241)
Add `setprofile_all_threads` and `settrace_all_threads`
2023-06-02 16:27:54 +01:00
Nikita Sobolev
178184c949 Update zipimport for python3.12 (#10240)
The `find_loader` and `find_module` methods were removed: https://github.com/python/cpython/blob/3.12/Lib/zipimport.py
2023-06-02 16:11:13 +01:00
Nikita Sobolev
6de0aa0c70 CI: Unpin micro-versions (#10239) 2023-06-02 11:23:33 +01:00
Jungkook Park
f6279c7122 [psutil] Fix cpu_percent return type when percpu is True (#10238) 2023-06-01 15:08:31 +02:00
Nikita Sobolev
7595478998 Bump paramiko to 3.2.* (#10237) 2023-06-01 12:21:55 +02:00
Kyle Benesch
cbd51e544d Make sys.UnraisableHookArgs a Protocol (#10227) 2023-06-01 09:57:59 +02:00
github-actions[bot]
d7a2b8b7fd [stubsabot] Bump pyOpenSSL to 23.2.* (#10235)
Release: https://pypi.org/pypi/pyOpenSSL/23.2.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/23.1.1...23.2.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 149.
 - Total lines of Python code deleted: 25.
2023-05-31 18:17:02 -07:00
Nikita Sobolev
877e06ad1c Remove chardet stubs (#10234) 2023-05-31 14:19:47 -07:00
github-actions[bot]
2ec6ba979f [stubsabot] Mark pyvmomi as obsolete since 8.0.1.0.1 (#10172) 2023-05-30 13:53:15 +02:00
Jason Rensburger
9641c6c9cc weakref.WeakMethod callback arg type (#10197)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-05-29 06:31:56 -07:00
Jelle Zijlstra
0d0cbb6b97 Allowlist requests.compat.bytes.__buffer__ (#10231) 2023-05-28 21:23:00 -07:00
Shantanu
d6a85e2c48 Attempt to clarify the ByteString situation (#9783)
See https://github.com/python/cpython/issues/102092

This makes the behaviour of typing.ByteString better match its
documentation.
2023-05-27 21:37:38 -07:00
Glyph
82ea677495 pywin32: add HANDLEType class (#10032)
per http://timgolden.me.uk/pywin32-docs/PyHANDLE.html these objects actually have methods, they are not ints

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-27 20:44:01 -07:00
Jelle Zijlstra
c0a0c34020 Use PEP 688 (#10225)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-27 19:55:30 -07:00
Ali Hamdan
56aeeb677f Fix groups type in argparse.HelpFormatter (#10226) 2023-05-27 14:44:04 +02:00
Jelle Zijlstra
2f65ca5cd4 Update pyscreeze stubs (#10223) 2023-05-26 15:11:56 +02:00
Alex Waygood
a4856c5650 shutil.rmtree: Add onexc parameter; add parameter defaults (#10219) 2023-05-25 23:38:21 -07:00
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