Commit Graph

9741 Commits

Author SHA1 Message Date
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
Avasam
559ae9730b Restore os.path methods overload workaround (#12837)
Revert "Remove obsolete mypy bug workaround in `abspath()` (#12208)"

This reverts commit 271df8ef04.
2024-10-17 13:51:50 -07:00
Mike Fiedler
e646d446f5 Add a return to html5lib.HTMLSerializer.serialize() (#12838)
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2024-10-17 13:10:23 -07:00
Jelle Zijlstra
a2ee32ba5d unittest: make protocol parameter positional-only (#12834) 2024-10-17 16:55:50 +02:00
bersbersbers
b78b3f10ba slice is hashable starting with Python 3.12 (#12832) 2024-10-17 09:17:38 +02:00
Sebastian Rittau
2d0f6d8277 Bundle path handling in ts_utils.paths (#12805) 2024-10-17 08:16:10 +02:00
Sebastian Rittau
36fb63ebc8 Support compatible version specifiers (#12771) 2024-10-17 08:15:30 +02:00
Stephen Morton
56078f574f csv.Dialect doesn't actually subclass _csv.Dialect (#12808)
It does a weird wrapping thing instead:
2a5cdb2516/Lib/csv.py (L114)
2024-10-16 22:12:47 -07:00
Stephen Morton
2412c7cea6 Remove unneeded Iterable base class from asyncio.Future (#12827) 2024-10-16 22:11:05 -07:00
github-actions[bot]
1993e251f7 [stubsabot] Bump setuptools to 75.2.* (#12829)
Release: https://pypi.org/pypi/setuptools/75.2.0
Repository: https://github.com/pypa/setuptools
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v75.1.1...v75.2.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: `setuptools/build_meta.py`, `setuptools/dist.py`.
 - Total lines of Python code added: 103.
 - Total lines of Python code deleted: 41.
2024-10-16 19:58:28 -07:00
Alex Waygood
c9d3ca6f48 Touchups to tests/REGRESSION.md (#12826) 2024-10-17 00:43:39 +02:00
Jelle Zijlstra
2370b8b9d1 memoryview: re-add inheritance from Sequence, set index and count to None (#12800)
This reverts commit f625e92ae5.
2024-10-16 07:27:56 -07:00
renovate[bot]
6feca18868 Update dependency pyright to v1.1.385 (#12764) 2024-10-16 12:38:34 +02:00
github-actions[bot]
3187bc5b7e [stubsabot] Bump peewee to 3.17.7 (#12820) 2024-10-16 08:53:55 +02:00
Brian Schubert
ab8e0e1ca1 Fix return type of logging.config.BaseConfigurator.as_tuple (#12817) 2024-10-15 19:54:48 +01:00
Stephen Morton
aedf65abe9 remove unneeded AsyncIterator base class from asyncio.StreamReader (#12815) 2024-10-15 11:25:40 -07:00
Stephen Morton
816b47c231 remove unneeded Interator base class from sqlite3.Cursor (#12813) 2024-10-15 11:25:21 -07:00
Stephen Morton
1fb6ebf62b Remove redundant inheritances from Iterator (#12814) 2024-10-15 19:17:34 +01:00
Stephen Morton
f08d769f7c remove unneeded Iterable base class from CookieJar (#12812) 2024-10-15 19:47:56 +02:00
Stephen Morton
a871efd90c remove unecessary Iterable base classes (#12810) 2024-10-15 00:53:35 +01:00