Commit Graph

9920 Commits

Author SHA1 Message Date
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
Stephen Morton
e7e9c13c1c clean inheritance for OrderedDict related classes (#12809)
Reversible is protocol-like, plus it subclasses dict which is itself
Reversible on all supported python versions now.
2024-10-14 16:05:04 -07:00
Stephen Morton
7b794ef343 remove unneeded fake base classes from mmap.mmap (#12807) 2024-10-14 23:38:35 +01:00
Sebastian Rittau
a2d6d5315b [stubsabot] Use common functions from ts_utils (#12772) 2024-10-14 15:41:28 +02:00
Sebastian Rittau
42f6a21a71 Bump gdb to 15.0.* (#12804)
Closes: #12777
2024-10-14 05:51:22 -07:00
Sebastian Rittau
ddf9d54dc1 Bump icalendar to 6.0.1 (#12802) 2024-10-14 05:50:52 -07:00
Stephen Morton
16bab543a3 make os._wrap_close not inherit from TextIOWrapper (#12774) 2024-10-14 11:39:30 +02:00
Avasam
4b5a7b09a4 Bump pywin32 to 308.* (#12799) 2024-10-14 10:10:56 +02:00
Thomas Grainger
cf9aa45d69 fix weakref.KeyedRef and weakref.ref constructor type (#12803) 2024-10-14 10:07:53 +02:00
Sebastian Rittau
1fa4986f71 Move common utility functions to a common library (#12773) 2024-10-14 08:00:02 +02:00
Max Muoto
407eeaa133 Correct types for setuptools.setup (#12791)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-10-13 14:38:31 -07:00
Brian Schubert
a5174d8150 Set literal default for bz2.BZ2Compressor.__init__ (#12798) 2024-10-13 07:54:34 -07:00
Brian Schubert
01036d2a5d Set literal default arguments for pickle.Pickler.__init__ and pickle.Unpickler.__init__ (#12797) 2024-10-13 16:28:16 +02:00
violetc
86e144b6d7 [peewee] Some methods return Self (#12788) 2024-10-13 15:38:07 +02:00
Brian Schubert
88a0f58c67 Reuse hashlib._Hash in hmac (#12793) 2024-10-13 14:50:11 +02:00
Max Muoto
5fcd375815 Set default for enumerate's start argument (#12796) 2024-10-13 06:01:00 +02:00
Avasam
352cfc9773 Add missing 3.13 source kw-only param to code.InteractiveInterpreter.showsyntaxerror (#12792) 2024-10-12 21:10:00 +01:00
github-actions[bot]
9f8ee528df [stubsabot] Bump flake8-typing-imports to 1.16.* (#12784)
Co-authored-by: stubsabot <>
2024-10-12 20:22:17 +01:00
github-actions[bot]
7ccc587afb [stubsabot] Mark pygit2 as obsolete since 1.16.0 (#12785) 2024-10-12 04:33:56 +02:00
Brian Schubert
28f0d6899b Add slice overload to traceback.FrameSummary.__getitem__ (#12783) 2024-10-11 23:42:49 +01:00
Trim21
f625e92ae5 memoryview: remove inheritance from Sequence (#12781)
It doesn't have `index`, `count` or `__reversed__` methods
2024-10-11 17:47:51 +01:00
David Salvisberg
2d31815232 Bump gevent to 24.10.* (#12779) 2024-10-11 07:24:41 -07:00