Commit Graph

11336 Commits

Author SHA1 Message Date
Alex Waygood a4eeb5c05b Make self and cls positional-only in dict constructor methods (#15262) 2026-01-11 19:21:07 +01:00
Semyon Moroz 5a45a9a5bc [inspect] Deprecate getcallargs function (#15258)
Docs: https://docs.python.org/dev/library/inspect.html#inspect.getcallargs
2026-01-11 08:00:44 -08:00
Ali Hamdan 4092415812 statistics: relax linear_regression input types (#15249) 2026-01-10 22:00:53 -08:00
Semyon Moroz 9d40875925 [http.client] Update HTTPResponse.info (#15248) 2026-01-11 00:28:44 +01:00
Semyon Moroz 98d6327550 [pydoc] Update ErrorDuringImport (#15251) 2026-01-11 00:22:53 +01:00
Semyon Moroz bf0f0a56a8 [gc] Add default values (#15253) 2026-01-11 00:20:50 +01:00
Semyon Moroz 9840c58451 [sre_compile] Use TypeGuard for isstring (#15250) 2026-01-11 00:20:27 +01:00
Semyon Moroz e213e04a84 Update pathspec to >=1.0.3 (#15244) 2026-01-09 17:05:43 +00:00
Semyon Moroz 2e67ef8362 [fileinput] Deprecate hook_encoded (#15240) 2026-01-09 17:24:41 +01:00
Semyon Moroz 41c18afd59 [http.client] Deprecate HTTPResponse methods (#15241) 2026-01-09 17:23:41 +01:00
Emmanuel Ferdman f30821cf01 [functools] Allow method override with @cache decorator (#15238) 2026-01-09 16:18:58 +01:00
Semyon Moroz 63ea326f8c [zstd] Update to ~=1.5.7.3 (#15242)
Closes: #15239
Diff: https://github.com/sergey-dryabzhinsky/python-zstd/compare/v1.5.7.1...v1.5.7.3
2026-01-09 02:02:28 -08:00
Emmanuel Ferdman 9a175299c4 [docker] Fix Container.attach() return type (#15155) 2026-01-08 19:01:24 +01:00
renovate[bot] f8b61f65d4 Update dependency uv to v0.9.22 (#15200) 2026-01-08 12:24:11 +01:00
Sebastian Rittau 7b3d25dcac Update mypy to 1.19.1 (#15235)
Skip gdb stubtest for now
2026-01-08 11:47:35 +01:00
Sebastian Rittau dc0acad81a Install grpcio-tools when using Python 3.14 (#15233)
grpcio-tools wheels are now available for Python 3.14.
2026-01-08 11:25:24 +01:00
Semyon Moroz b20bcf7f07 [xml.etree] Deprecate parser parameter in iterparse function (#15227) 2026-01-08 11:06:18 +01:00
Semyon Moroz aebc71d959 [importlib] Deprecate ResourceReader (#15229) 2026-01-08 11:05:08 +01:00
Sebastian Rittau 2886dc66e1 Update pyright to 1.1.408 (#15232) 2026-01-08 10:50:09 +01:00
Sebastian Rittau a99e8e42d5 Update pathspec to 1.0.0 (#15234) 2026-01-08 10:47:43 +01:00
github-actions[bot] 9eb6c14846 [stubsabot] Bump jsonschema to ~=4.26.0 (#15231)
Release: https://pypi.org/pypi/jsonschema/4.26.0
Homepage: https://github.com/python-jsonschema/jsonschema
Repository: https://github.com/python-jsonschema/jsonschema
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/jsonschema
Changelog: https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst
Diff: https://github.com/python-jsonschema/jsonschema/compare/v4.25.1...v4.26.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `jsonschema/benchmarks/import_benchmark.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 4 files included in typeshed's stubs have been modified or renamed: `jsonschema/_format.py`, `jsonschema/_types.py`, `jsonschema/_typing.py`, `jsonschema/validators.py`.
 - Total lines of Python code added: 48.
 - Total lines of Python code deleted: 26.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2026-01-08 07:47:43 +00:00
github-actions[bot] 99c241b728 [stubsabot] Bump peewee to 3.19.0 (#15230)
Release: https://pypi.org/pypi/peewee/3.19.0
Repository: https://github.com/coleifer/peewee
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/peewee
Changelog: https://github.com/coleifer/peewee/blob/master/CHANGELOG.md
Diff: https://github.com/coleifer/peewee/compare/3.18.3...3.19.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `playhouse/_pysqlite/__init__.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `peewee.py`.
 - Total lines of Python code added: 86.
 - Total lines of Python code deleted: 121.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2026-01-08 07:46:50 +00:00
Kevin de Ruijter 2245b8bc64 fix: add eager_start as an argument. (#15211)
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2026-01-07 19:24:41 -08:00
Semyon Moroz 645c7d2d41 [importlib] Deprecate debug_override parameter in cache_from_source (#15225)
Docs: https://docs.python.org/3.14/library/importlib.html#importlib.util.cache_from_source
Source: https://github.com/python/cpython/blob/9f91278412e30ca3daaa427614176b2891bd230a/Lib/importlib/_bootstrap_external.py#L239
2026-01-07 19:23:21 -08:00
Semyon Moroz 3705dd3d8e [random] Deprecate random parameter in shuffle function (#15226)
Docs: https://docs.python.org/3.10/library/random.html#random.shuffle
2026-01-07 19:22:12 -08:00
Semyon Moroz a564787bf2 [flake8-simplify] Update to 0.30.* (#15212) 2026-01-07 19:48:41 +01:00
Semyon Moroz 3bf7f35646 [pathlib] Deprecate additional arguments (#15228) 2026-01-07 18:14:49 +01:00
Guo Ci a68aa254d9 [tarfile] Fix pax_headers type annotation in tarfile.pyi (#15215) 2026-01-06 18:22:22 +01:00
Guo Ci 6b01bd4b54 [sys.monitoring] Change return type of set_local_events to None (#15216) 2026-01-06 17:55:49 +01:00
Guo Ci 831b6a402a [sys.monitoring] Change ignored Callable return type to object (#15217) 2026-01-06 17:54:30 +01:00
Ilya Egorov 934b047ee8 [types] fix *_frame type (may be None) (#15219) 2026-01-06 17:35:01 +01:00
Semyon Moroz dc9234333d [CI] Lock pathspec major version (#15223) 2026-01-06 09:46:57 +00:00
renovate[bot] bcda31821d Update dependency aiohttp to v3.13.3 [SECURITY] (#15222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-05 23:58:36 -08:00
jceresini 9b5f5151d2 [requests] requests.exceptions.JSONDecodeError inherits from json.JSONDecodeError (#15168) 2026-01-05 19:46:19 -08:00
jceresini e4f8258330 Minor fix for documentation link (#15221) 2026-01-05 19:43:57 -08:00
Daniel Enesi eb347f3a1c Improve type annotations for ttk.Widget (#15189)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-02 12:18:17 +02:00
renovate[bot] d1d5fe5866 Update most test/lint dependencies (#15199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2026-01-01 01:47:27 +00:00
renovate[bot] bdfdd3296c Update GitHub Actions (#15198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-01 01:23:33 +00:00
RasmusNygren 91756673d9 Allow default as keyword arg to os.environ.{get,pop} (#15194) 2025-12-31 16:49:50 +00:00
github-actions[bot] 3714af2b84 [stubsabot] Bump psutil to 7.2.1 (#15192)
Release: https://pypi.org/pypi/psutil/7.2.1
Homepage: https://github.com/giampaolo/psutil
Repository: https://github.com/giampaolo/psutil
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/psutil

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2025-12-30 09:51:15 +00:00
Semyon Moroz bbddfee87c [optparse] Add missing type annotation (#15185) 2025-12-28 15:33:53 +01:00
Max Muoto a566aee8cb [sysconfig] Add deprecation for check_home arg of sysconfig.is_python_build (#15181) 2025-12-28 13:58:47 +01:00
Max Muoto 11e703e755 [pathlib] Deprecate PurePath.as_uri (#15178) 2025-12-28 13:57:39 +01:00
Max Muoto 0338df4571 [asyncio] Add asyncio 3.14 deprecations (#15176) 2025-12-28 13:53:57 +01:00
savanto 1662831023 [imaplib] IMAP4.append returns a tuple (status, [data]) (#15183) 2025-12-28 13:52:26 +01:00
Ned Batchelder 6b4691d044 [threading] trace functions can be None (#15182) 2025-12-27 14:44:51 +01:00
Noam 564e6e8f37 [django-filter] Fix BaseFilterSet.filter_for_lookup return type (#15171) 2025-12-27 11:39:21 +01:00
Semyon Moroz 35fa2c83c5 [psutil] Update to 7.2.0 (#15173) 2025-12-27 11:28:34 +01:00
Max Muoto 019a38fdbd [pdb] Deprecate curframe_locals (#15177) 2025-12-27 11:24:39 +01:00
Max Muoto bc7fba07bc [os] Add 3.14 os module deprecations (#15179) 2025-12-27 11:21:57 +01:00