Commit Graph

9760 Commits

Author SHA1 Message Date
Tamir Duberstein
fc8bff1b26 Add os.process_cpu_count() for 3.13 (#12905) 2024-10-25 06:51:38 -07:00
renovate[bot]
b954cd705c Update most test/lint dependencies (#12903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-25 10:51:41 +01:00
Sebastian Rittau
701cd065b8 [CI] Switch to macos-latest (#12897)
macos-12 is deprecated and will be removed:
https://github.com/actions/runner-images/issues/10721
2024-10-24 11:00:11 -07:00
Randolf Scholz
10183237c7 Make all params positional-only in slice.__new__ (#12900)
positional only __new__
2024-10-24 18:02:33 +01:00
Thanos
65405e9ef2 Make slice generic (#11637) 2024-10-24 17:40:29 +02:00
Alex Waygood
9ed47fa8ec Fix linting issues (#12898)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-24 14:26:37 +01:00
AlbertXingZhang
783171b9f7 correct memoryview __setitem__ method signature (#12876) 2024-10-24 12:09:38 +02:00
David Salvisberg
f27d40fee7 WTForms: Form errors no longer use None as a special key (#12877)
This also fixes incorrect `error` attributes on `FieldList`/`FormField`
2024-10-24 11:46:59 +02:00
Avasam
df499768cb setuptools & distutils: Add more recent MSVCCompiler from _msvccompiler (#12887) 2024-10-24 11:44:55 +02:00
Avasam
fc1e51f76b Allow pywin32 to use pywin.mfc.DocTemplate in lieu of PyCDocTemplate (#12888) 2024-10-24 11:40:24 +02:00
Avasam
78e4e036c4 Add install_data in distutils-stubs from setuptools (#12889) 2024-10-24 11:39:08 +02:00
Brian Schubert
27a8967896 Add missing parameter to email.policy.EmailPolicy.__init__ (#12890) 2024-10-24 11:35:26 +02:00
renovate[bot]
c417573eb6 Update dependency pyright to v1.1.386 (#12891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 05:48:09 +01:00
Brian Schubert
27325a255e Add email.policy.EmailPolicy.clone (#12879) 2024-10-23 07:17:13 -07:00
Stephen Morton
494e832a74 fix up blake2b/blake2s classes (#12878) 2024-10-23 07:14:37 -07:00
Stephen Morton
c64f9d065b unnecessary inheritance from ad-hoc protocol (#12882) 2024-10-23 07:11:51 -07:00
Stephen Morton
d5fff13c9b add contextlib._GeneratorContextManagerBase (#12885)
Actually putting methods on it may be currently infeasible, but
I don't see why it shouldn't exist at all.
2024-10-23 07:11:06 -07:00
Stephen Morton
4c38695dfd fix inheritance for _interpreters.NotShareableError (#12880)
related to https://github.com/python/typeshed/issues/3968
2024-10-23 06:58:46 -07:00
Stephen Morton
d7aa851552 correct inheritance of io.BufferedRandom (#12883) 2024-10-23 06:52:22 -07:00
Stephen Morton
0d95bad46a correct inheritance for io.StringIO (#12884) 2024-10-23 06:48:30 -07:00
David Salvisberg
ca65e087f1 WTForms: Fix incorrect Form constructor return type for pyright (#12875) 2024-10-22 14:38:30 +01:00
Jelle Zijlstra
17794ccb5d netifaces: apply stright pyright settings (#12874)
Fixes AlexWaygood/typeshed-stats#274.
2024-10-22 06:09:30 -07:00
Stephen Morton
7417c373ab Remove false inheritance from io.IncrementalNewlineDecoder (#12871) 2024-10-22 11:07:44 +02:00
Stephen Morton
e74d9cf9c7 remove unneeded use of AbstractContextManager from multiprocessing.synchronize (#12872) 2024-10-22 10:20:15 +02:00
Stephen Morton
e8c2e5bb20 remove redundant inheritance from Iterator for typing.IO (#12870) 2024-10-22 01:29:03 +01:00
Stephen Morton
b62579b0d2 swap inheritance order for typing.Sequence (#12869)
This matches the order at runtime.
2024-10-21 22:37:02 +01:00
sobolevn
8b32739f13 Bump psutil to 6.1.* (#12868) 2024-10-21 17:22:44 +01:00
Delgan
0d7c6dab40 Add stubs for "netifaces" package (#12854) 2024-10-21 14:47:23 +02:00
David Salvisberg
841a037c3f Bump WTForms to ~= 3.2.1 (#12867) 2024-10-21 14:43:22 +02:00
Stephen Morton
925b3a3713 Remove redundant inheritances from Iterator in builtins (#12851) 2024-10-21 14:40:07 +02:00
Aaron Z.
3a48a1298f Fix warnings.filters type (#12866)
Fixes #12828
2024-10-21 05:11:22 -07:00
Christoph Tyralla
8d02c2a6df Use @deprecated for those visit methods of class NodeVisitor that deal with classes that have already been marked with @deprecated and add type: ignore[deprecated] comments. (#12864) 2024-10-21 13:44:57 +02:00
Sebastian Rittau
b0ac25e7bd Use compatible version marker for icalendar (#12831) 2024-10-21 04:36:05 -07:00
Sebastian Rittau
c020ccc821 Print gdb version to ease debugging (#12836) 2024-10-21 04:35:55 -07:00
Sebastian Rittau
a6fb689ff1 Update third-party removal policy (#12858) 2024-10-21 13:10:27 +02:00
David Salvisberg
38fbbe71d4 Bump WTForms to 3.2.* (#12865)
Add missing `__all__` declarations
2024-10-21 12:50:41 +02:00
Peter Bierma
b208235219 Add deprecation annotation for zipimport.zipimporter.load_module (#12862) 2024-10-20 18:59:00 -07:00
Sebastian Rittau
b0d57cc03c Remove boto stubs (#12856)
Closes: #12848
2024-10-19 18:07:28 +02:00
Sebastian Rittau
a22e35814e [boto] Set the no_longer_updated flag (#12860) 2024-10-19 17:56:05 +02:00
Sebastian Rittau
d1c1675b20 Remove playsound stubs (#12857)
Closes: #12856
2024-10-19 17:52:54 +02:00
Sebastian Rittau
ebdd2c528d Update mypy to 1.12.0 (#12859) 2024-10-19 16:45:38 +01:00
Sebastian Rittau
890a38f424 [playsound] Set the no_longer_updated flag (#12861) 2024-10-19 17:39:01 +02:00
Kevin Mustelier
7043ec23db Improve typing for BS4 element.Tag's get and get_attribute_list. (#12840) 2024-10-19 16:46:45 +02:00
Oleh Prypin
b2f68ec2fe Use MaybeNone (alias to Any) when applicable (#12855) 2024-10-18 14:07:52 -07:00
Sebastian Rittau
7fb84668fc [psycopg2] Bump to 2.9.10 (#12835)
Mark all error codes as `Final`
2024-10-18 10:34:55 -07:00
Avasam
de4842db26 Replace Any with Incomplete in distutils (#12842) 2024-10-18 17:26:08 +02:00
Stephen Morton
281dd351a2 Remove redundant inheritances from Iterator in itertools (#12816) 2024-10-18 12:24:01 +02:00
Avasam
81138321d9 distutils: Add some return types for setuptools to pass ANN201 (#12841) 2024-10-18 12:09:34 +02:00
Sebastian Rittau
c6affbb804 [CI] Pin Ubuntu in third party stubtest (#12846)
This fixes a problem with gdb changing between the Ubuntu versions.
2024-10-18 12:09:05 +02:00
Avasam
3b0ce50352 Add missing defaults to setuptools/_distutils (#12839) 2024-10-18 12:02:39 +02:00