Commit Graph

973 Commits

Author SHA1 Message Date
Amin Alaee
96eaa767dd Update os on Windows, Python3.12+ (#10749)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-22 16:12:50 +01:00
Amin Alaee
6dfa285230 Add os.EX_OK on Windows, Python 3.11+ (#10748) 2023-09-22 12:51:22 +01:00
Alex Waygood
53422f8918 pytype_test.py: Handle non-typeshed requirements that are stub-only packages (#10723) 2023-09-20 20:03:01 +01:00
Alex Waygood
8597724ac1 Update typing_extensions stubs for v4.8.0 (#10726) 2023-09-18 11:30:28 +01:00
Alex Waygood
487e33112e Bump various test dependencies (#10693) 2023-09-11 14:18:48 +01:00
Alex Waygood
23249c07a9 Update enum for py312 (#10670) 2023-09-11 11:26:18 +01:00
Alex Waygood
a570fb6ced Fix various stubtest complaints on Python 3.12 (#10691) 2023-09-10 14:54:43 -07:00
Alex Waygood
6dda2fe9c8 Fix stubtest complaints for various .get() methods (#10690) 2023-09-10 14:48:09 -07:00
Alex Waygood
c50a708818 Update poplib and smtplib for py312 (#10685) 2023-09-08 18:42:03 +01:00
Nikita Sobolev
53144ca572 Update importlib.metadata to 3.12 (#10665) 2023-09-08 12:42:56 +01:00
Alex Waygood
35a9ed40da Delete unused allowlist entries (#10676)
3.12.0rc2 was just released
2023-09-07 02:30:54 +01:00
Alex Waygood
fecb84eb05 Update asyncio.tasks for py312 (#10669)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-09-06 12:35:48 +01:00
Alex Waygood
af97a12a87 Add a lint forbidding PEP-570 syntax (#10660) 2023-09-04 15:37:50 -07:00
Alex Waygood
433204fb8f py312: Fix stubtest nits in typing/typing_extensions (#10659) 2023-09-04 15:39:11 +01:00
Nikita Sobolev
d868dad76b Update importlib.metadata to 3.12 (#10654) 2023-09-03 09:47:19 +01:00
Nikita Sobolev
d13d9859f6 Update zipfile to 3.12 (#10647)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 16:01:41 +01:00
Nikita Sobolev
f0ba5ba2a2 Update unittest.mock to 3.12 (#10650)
And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 15:03:39 +01:00
Nikita Sobolev
454438e4db Update importlib.resources to 3.12 (#10649) 2023-09-02 00:03:08 -07:00
Nikita Sobolev
e04c440571 Update pathlib to 3.12 (#10646) 2023-09-01 14:53:58 +02:00
Alex Waygood
75da5de5c2 Many importlib removals in py312 (#10644) 2023-09-01 13:43:36 +02:00
Nikita Sobolev
f28cb8b856 Update os.DirEntry to 3.12 (#10643) 2023-08-31 14:29:21 +01:00
Nikita Sobolev
8a2019aa7f Add isjunction and splitroot functions (#10642) 2023-08-31 13:14:22 +01:00
Alex Waygood
4ae6d38f96 Use latest Python for stubtest in CI (#10641) 2023-08-30 18:50:11 +02:00
Nikita Sobolev
6c2c164de2 unittest: py312 updates for load_tests and loadTestsFromModule (#10640) 2023-08-30 12:27:40 +01:00
Nikita Sobolev
c9583d9f14 Add durations to unittest in 3.12 (#10636) 2023-08-30 11:35:25 +01:00
Nikita Sobolev
8888ac0d6d Update configparser to 3.12 (#10635) 2023-08-30 11:07:50 +02:00
Nikita Sobolev
95974369af Update gzip for py312 (#10634) 2023-08-30 08:29:53 +01:00
Alex Waygood
7e34ca5b71 runtests.py: note that stdlib stubtest might fail (#10628) 2023-08-30 08:48:44 +02:00
Nikita Sobolev
03e65e1f1a Update genericpath to 3.12 (#10623) 2023-08-28 11:19:09 +02:00
Alex Waygood
a094aa09c2 Minor improvements to stubtest_third_party.py (#10605)
(1) Give a nicer error message if you try to run stubtest on non-existent stubs.
(2) Print the Python version to the terminal if there's an error, as well as the output of pip freeze.
2023-08-22 19:57:14 +01:00
Alex Waygood
6a8d653a67 Deduplicate stdlib stubtest allowlist entries (#10594) 2023-08-16 16:11:59 -07:00
Alex Waygood
ef758b66c0 Bump mypy to 1.5.1 (#10559) 2023-08-16 12:18:31 -07:00
Sebastian Rittau
31ae7b13c7 Add _typeshed.sentinel (#10582) 2023-08-16 11:31:05 +02:00
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