Commit Graph

940 Commits

Author SHA1 Message Date
Avasam
22b055a147 Fill in all missing upstream_repository fields (#10571)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-13 22:03:33 +01:00
Alex Waygood
df08fcec5f Improve __(r)or__ signatures for TypedDict classes (#10565) 2023-08-12 18:27:35 +01:00
Nikita Sobolev
1ad381d713 Update sre_parse to 3.12 (#10556) 2023-08-10 12:48:12 +01:00
Nikita Sobolev
19ed22ea60 Update turtle to 3.12 (#10548) 2023-08-10 11:44:14 +01:00
Nikita Sobolev
9d0ed1571f Update ssl to 3.12 (#10547) 2023-08-09 09:18:33 +02:00
Nikita Sobolev
4990da6c60 Update asyncio.base_events for py312 (#10543) 2023-08-08 15:28:36 +01:00
Nikita Sobolev
a5783555e8 asyncio.streams: py312 updates (#10542) 2023-08-08 08:33:37 +01:00
Nikita Sobolev
161dd4b34f Update logging for 3.12 (#10538) 2023-08-07 12:02:44 +01:00
Nikita Sobolev
3968308e74 Update asyncio.constants module for python3.12 (#10535) 2023-08-06 15:30:55 +01:00
Nikita Sobolev
86218a52b7 Add get_context methods to asyncio in 3.12 (#10534) 2023-08-06 12:02:48 +01:00
Alex Waygood
0d8a6bc200 Add more checks in parse_metadata.py for the upstream_repository field (#10513) 2023-07-28 14:04:58 +01:00
Alex Waygood
f08b87ff18 Fix typechecking of our own test suite following change to dict.get (#10511) 2023-07-26 17:10:40 +01:00
David Salvisberg
21cb2cb546 Adds stubs for uWSGI (#10432)
This adds stubs for the uWSGI Python API.

Similarly to GDB the Python API is only accessible within a uWSGI process, some parts of the API also only exist if certain configuration options are enabled. This makes running stubtest a bit of pain.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-07-24 14:32:52 +03:00
Jelle Zijlstra
f577c4c133 Update typing_extensions for 4.7.* (#10344) 2023-07-22 12:51:22 +01:00
Alex Waygood
2887f60196 Use ruff, not pycln, for removing unused imports (#10498) 2023-07-22 12:14:27 +01:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex Waygood
79e092e133 Add some ruff autofixes to CI (#10458) 2023-07-20 14:41:52 +02:00
Nikita Sobolev
d5c137c0fc py312 updates for array (#10483) 2023-07-20 09:38:58 +01:00
Nikita Sobolev
95b268999c pdb: py312 updates (#10471) 2023-07-18 17:33:27 +01:00
Nikita Sobolev
4a643318ea sqlite3 updates for py312 (#10469) 2023-07-17 12:44:49 +01:00
Nikita Sobolev
57c435cd7e Update pydoc for 3.12 (#10467) 2023-07-16 11:28:56 +01:00
Nikita Sobolev
17c0421c29 Adds py3.12 constants to sqlite3 (#10453) 2023-07-13 16:49:34 +01:00
Nikita Sobolev
f843922df8 datetime: Remove unused stubtest allowlist entry for py312 (#10277) 2023-07-12 21:06:06 +01:00
Sebastian Rittau
19992e6212 Mark some errnos as darwin- or solaris-only (#10440)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-11 17:09:40 +01:00
Nikita Sobolev
e7ba0327e1 Remove SQLAlchemy stubs (#10389)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-07-08 10:24:59 +01:00
Nikita Sobolev
702226e1fd Add missing TCP_CONNECTION_INFO to socket module (#10402) 2023-07-04 12:32:38 +02:00
Nikita Sobolev
31dca1d660 Update inspect for Python3.12 (#10398) 2023-07-03 14:54:19 +02:00
Nikita Sobolev
8162faa934 Fix signature of http.client.HTTPSConnection for Python 3.12 (#10392) 2023-07-01 18:31:47 +01:00
Nikita Sobolev
a8051fb2c4 Add _generate_next_value_ to StrEnum (#10390)
Fixes https://github.com/python/typeshed/issues/10384

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-01 18:28:09 +01:00
Alex Waygood
39fd112f3e Further improve non-types dependency handling in pytype_test.py (#10393) 2023-07-01 00:24:38 +01:00
Alex Waygood
7fdd05003a pytype_test.py: Use importlib.metadata instead of pkg_resources (#10391) 2023-06-30 21:37:06 +01:00
Sebastian Rittau
1e25866b23 Improve pytype compatibility handling (#10377) 2023-06-28 12:29:13 +02:00
Alex Waygood
1b2e4091db Bump mypy to 1.4.1 (#10351) 2023-06-25 16:45:09 -07:00
Nikita Sobolev
d492efeaea email.utils.localtime: py312 updates (#10358) 2023-06-25 12:02:11 +01:00
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