Commit Graph

1106 Commits

Author SHA1 Message Date
Alex Waygood
4a692fc546 Fix stubtest for py312b3 (#10343) 2023-06-21 15:46:50 +01:00
Shantanu
9e86c6026a unittest.mock: use ParamSpec in patch (#10325)
Fixes #10324
2023-06-20 13:48:49 +02:00
Alex Waygood
c38fc45d9c Make CVE-2020-10735 allowlist entries Windows-only (#10318) 2023-06-14 10:36:24 -07:00
Jelle Zijlstra
5beddbe883 Add PEP 706 filters to tarfile (#10316)
Fixes #10315

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-06-14 15:08:32 +01:00
Sebastian Rittau
be925c0d3f Check that linters/type checkers are pinned to an exact version (#10311) 2023-06-12 20:12:14 +02:00
Sebastian Rittau
5092f52c45 Update description of test scripts (#10310) 2023-06-12 18:42:33 +01:00
Nikita Sobolev
75fc33d8d0 Update zoneinfo for Python3.12 (#10304) 2023-06-12 12:34:03 +03:00
Nikita Sobolev
0b98780c81 Add new http.HTTPStatus/__init__.pyi for Python3.12 (#10296) 2023-06-10 10:34:28 +01:00
Nikita Sobolev
0aa5dd57e5 Update ctypes stubs for Python 3.12 (#10290)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-09 19:55:03 +01:00
Nikita Sobolev
1851423519 Fix CI for Python 3.12.0b2 (#10291) 2023-06-09 18:17:30 +01:00
Nikita Sobolev
258cabe3a1 Update uuid.pyi for Python3.12 (#10289) 2023-06-09 09:33:08 +01:00
Nikita Sobolev
f0e9ec11e4 Add AsyncGeneratorType.ag_suspended (#10288)
New in Python 3.12
2023-06-09 08:40:23 +01:00
Nikita Sobolev
852ac3efb3 Update _thread.pyi for Python3.12 (#10285) 2023-06-08 15:23:57 +02:00
Shantanu
36efbf89ed ftplib: update for py312 (#10282) 2023-06-08 00:57:44 -07:00
Nikita Sobolev
0045299d43 Update token.pyi and tokenize.pyi for Python3.12 (#10283) 2023-06-08 08:38:36 +01:00
Nikita Sobolev
8528888691 Update multiprocessing.pyi for Python3.12 (#10279) 2023-06-08 08:37:44 +01:00
Nikita Sobolev
23bb0494ab Update pkgutil.pyi for Python3.12 (#10281) 2023-06-08 08:37:15 +01:00
Shantanu
d778855052 webbrowser: update for py312 (#10280) 2023-06-08 08:14:10 +01:00
Nikita Sobolev
8eb5751084 Module imp was removed in 3.12 (#10278) 2023-06-08 07:49:25 +01:00
Nikita Sobolev
b0a3917145 Update dis.pyi and opcode.pyi for Python3.12 (#10276) 2023-06-07 20:33:50 +01:00
Nikita Sobolev
f10b5fb9b6 Update locale.pyi for Python3.12 (#10274) 2023-06-07 19:41:07 +01:00
Shantanu
e1ab1ad2fb calendar: update for py312 (#10216) 2023-06-07 00:52:19 -07:00
Nikita Sobolev
e347af1d59 Update functools.pyi for Python3.12 (#10269) 2023-06-06 22:48:36 +01:00
Sebastian Rittau
70d8d059a0 Make all tests executable (#10267) 2023-06-06 15:42:07 +02:00
Shantanu
fceb3ae225 argparse: improve add_argument_group and add_mutually_exclusive_group (#10262) 2023-06-06 08:27:51 +02:00
Nikita Sobolev
9456f5501b Update socket stubs for Python3.12 (#10247)
Docs: https://github.com/python/cpython/blob/3.12/Doc/library/socket.rst
Source: https://github.com/python/cpython/blob/3.12/Modules/socketmodule.c#L8441
2023-06-05 09:32:02 +01:00
Nikita Sobolev
59d08c00d5 Update sys.pyi for Python3.12 (#10245)
Source: https://github.com/python/cpython/blob/3.12/Python/sysmodule.c
Docs: https://github.com/python/cpython/blob/3.12/Doc/library/sys.rst
2023-06-05 09:07:37 +01:00
Shantanu
a770216434 Make stubtest work better on macOS (#10263) 2023-06-04 16:10:15 -07:00
Shantanu
f8dfacb851 pathlib: more changes for py312 (#10261) 2023-06-05 00:04:59 +01:00
Shantanu
758afb35d4 Some light reorganisation of stubtest allowlists (#10260)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-04 15:40:45 -07:00
Shantanu
ef41a9ff1a Remove venv for stubtest stdlib (#10259) 2023-06-04 14:35:40 -07:00
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
Alex Waygood
d8ef303e00 Bump pycln and pathspec test dependencies (#10251) 2023-06-03 14:46:33 +01: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
Jelle Zijlstra
c0a0c34020 Use PEP 688 (#10225)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-27 19:55:30 -07:00
Shantanu
854c453910 fractions: remove _normalize, update for py312 (#10218) 2023-05-25 10:21:19 +01: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
Rebecca Chen
274f449edc Treat entries on pytype_exclude_list as missing modules for pytype_test. (#10187) 2023-05-17 00:38:49 +02:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Avasam
dfee77ef6b [openpyxl] Complete base descriptors (#10001) 2023-05-10 08:37:11 +02: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
Jun Komoda
05c0a1d8b2 move byref-related definitions from ctypes/__init__.pyi to _ctypes.pyi (#10137) 2023-05-03 16:50:47 +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
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
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
Jun Komoda
295a5c3e7a Move Structure and Union from ctypes/__init__.pyi to _ctypes.pyi (#10125) 2023-05-01 13:01:41 +01:00