chore(deps): update all dependencies #31

Open
renovate-forgejo wants to merge 1 commit from renovate/all into main
Collaborator

This PR contains the following updates:

Package Type Update Change
black (changelog) project.optional-dependencies minor 26.5.1 → 26.10.1
black (changelog) dependency-groups minor 26.5.1 → 26.10.1
https://code.forgejo.org/actions/checkout action digest fbc6f39 → de0fac2
mypy (changelog) project.optional-dependencies minor 2.3.1 → 2.4.0
mypy (changelog) dependency-groups minor 2.3.1 → 2.4.0
node container digest 64af381 → 3d27e5c
python (source) patch 3.14.7 → 3.14.8
python final digest 7c61056 → 70729b4
ty (changelog) dependency-groups patch 0.0.84 → 0.0.86
typer (changelog) project.dependencies patch 0.27.2 → 0.27.3
types-requests (changelog) project.optional-dependencies patch 2.33.0.20260906 → 2.33.0.20261006

Release Notes

psf/black (black)

v26.10.1

Compare Source

Highlights

This release fixes a security issue in Black's bundled GitHub Action. Repositories that
use the action are encouraged to update to the latest version of Black immediately. This
update is received automatically when using psf/black@stable, and is independent of
the version of Black installed by the action.

When the GitHub Action reads version specifiers from tool.black.required-version, it
now only accepts released versions of Black, as it already did for black requirements
in dependency lists. Other values, such as URL references, are now rejected. This issue
has been registered as GHSA-cg8m-r9f2-5wm2; a CVE identifier is pending.

Stable style
  • Fix a long Jupyter notebook assignment magic (for example x = !ls -la) being wrapped
    in parentheses, which IPython can no longer run; such cells are now left unchanged
    (#​5481)
  • Keep repeated lines outside the selected --line-ranges unchanged (#​5436)
  • Fix --line-ranges formatting lines that follow a statement when formatting joins or
    re-indents that statement (#​5484)
  • Fix --line-ranges crashing with an internal error when an unselected statement has a
    # fmt: skip comment on the last line before a closing bracket (#​5477)
  • Prevent moving an encoding declaration (for example # -*- coding: latin-1 -*-) onto
    the first two lines of a file (#​5487)
  • Fix adding an extra trailing blank line inside a multi-line module docstring when its
    last line is near the line length limit (#​5494)
Preview style
  • Do not split short expressions on delimiters (such as binary operators, comparisons,
    or comprehensions) inside brackets when preceded by a standalone comment (#​5455)
  • Fix the unstable string_processing feature removing backslash-newline sequences from
    raw strings, which changed their value (#​5482)
  • Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in
    assignments (such as annotated assignments or subscript targets) (#​5473)
  • Parenthesize expressions with parameter comments when they exceed the line length
    under --preview (#​5442)
  • Fix wrap_long_dict_values_in_parens dropping the parentheses around a right-hand
    side that contains a dictionary, leaving a line over the length limit (#​5492)
  • Fix the unstable string_processing feature adding a space after * or ** in a PEP
    695 type parameter (* Ts = ...) when it splits a string in the parameter's default
    (#​5504)
  • Avoid unnecessary line splits of trailers (such as indexing/subscripts) when an
    earlier bracket split exceeds the line length only due to a trailing comment (#​5498)
Configuration
  • Add --cache-dir to configure the cache directory from the command line (#​5433)
  • Don't cache a file as formatted after formatting or checking it with --line-ranges,
    which made a later full black --check pass and black skip the unformatted lines
    (#​5476)
  • Respect a .gitignore that starts with a UTF-8 byte order mark. The mark became part
    of the first pattern, so that pattern never matched and Black formatted files that git
    ignores (#​5497)
Performance
  • Avoid quadratic runtime when splitting very long lines with many trailing bracket
    pairs (such as consecutive subscripts) (#​5475)
Integrations
  • Fix the GitHub Action crashing on dependency-group includes when use_pyproject is
    enabled (#​5479)
  • When the GitHub Action reads version specifiers from tool.black.required-version, it
    now only accepts released versions of Black, as it already did for black
    requirements in dependency lists. Other values, such as URL references, are now
    rejected. (#​5510)

v26.10.0

Compare Source

Stable style
  • --line-ranges no longer inserts an empty line after a docstring when the range
    covers only the docstring itself (#​5312)
  • Fix # fmt: skip on a bracketed ternary turning the surrounding tuple into a call
    (#​5464)
  • Fix crash when # fmt: skip is placed on a one-line function or class with PEP 695
    type parameters (#​5429)
  • Fix an inline comment after the closing bracket of optional parentheses being moved
    inside the parentheses when the parenthesized expression contains own-line comments
    (#​5395)
  • Fix unparseable output when # fmt: skip is placed on a bracket of an if, while,
    for, or with header (#​5401, #​5405)
  • Fix crash when formatting parenthesized expressions with multiple inline comments and
    # fmt: skip (#​5414)
  • Fix parsing Jupyter notebook assignment magics when non-ASCII characters appear
    earlier on the line (#​5381)
  • Preserve blank lines that come immediately before a # fmt: on comment (#​5300)
  • Keep the parentheses around the target of an annotated assignment (e.g.
    (x): int = 5), which prevent CPython from including the name in __annotations__
    (#​5321)
  • Stop treating a t-string in docstring position as a docstring (e.g. t" spam " as
    the first statement of a module, class or function) (#​5287)
  • Fix unparseable output for a t-string whose replacement field contains a quote (e.g.
    t'\'{a["b"]}\'') (#​5265)
  • Fix unparseable output for a triple-quoted string whose body ends in an
    already-escaped double quote (e.g. '''\'''\"''') (#​5262)
  • Fix --skip-magic-trailing-comma dropping the trailing comma from a split
    single-element tuple used as a lambda parameter default (#​5246)
  • Fix unstable formatting when an inline comment sits on optional parentheses (e.g. a
    parenthesized assert message) (#​5241)
  • Fix --skip-magic-trailing-comma dropping the trailing comma of a one-element
    subscript (a[x,]) when the line is long enough to be split and contains a power
    operator (#​5272)
  • Fix crash when a standalone comment sits between tokens of a comprehension or lambda
    (#​5144)
  • Fix inline comments on a bracket inside a comprehension being dropped (#​5330)
  • Respect the magic trailing comma in a PEP 695 type parameter list containing a
    *TypeVarTuple or **ParamSpec (#​5244)
  • Fix crash when a comment-only # fmt: off/# fmt: on block is followed by a with
    statement after another standalone comment (#​5189)
  • Fix a crash when splitting case case if ... match patterns at very small line
    lengths (#​5147)
  • Fix multiline docstring indentation when leading tabs are used inside indented
    docstrings (#​5148)
  • Respect # fmt: skip on a line that opens a bracket (e.g.
    from x import ( # fmt: skip) when a standalone comment is among the bracket's
    contents (#​5161)
  • Fix an AST safety error when separate # type: ignore comments in a parenthesized
    attribute chain were merged onto one physical line (#​5297)
  • Preserve comments and blank lines outside requested ranges when formatting with
    --line-ranges (#​5175)
  • Fix crash when # fmt: skip is used on one-line async def, async with, and
    async for statements containing a semicolon (#​5311)
  • Stop converting form feeds or other similar characters in docstrings into newlines
    (#​5461)
  • Fix --skip-source-first-line turning the skipped line's CRLF ending into \r\r\n
    when reformatting a file with CRLF line endings (#​5438)
Preview style
New preview features
  • Add missing blank lines after classes whose last method has an ellipsis body (#​5439)
  • Split only the brackets holding a magic trailing comma when more trailers follow them
    (e.g. stop splitting inside the [2] of [1,][2](3)) (#​5448)
  • Keep dictionary keys containing operators together on one line when the value can be
    wrapped onto a new line instead (#​5435)
  • Remove redundant parentheses around individual variables in unpacking targets (e.g.
    for (x), (y) in points: becomes for x, y in points:) (#​5416)
  • Normalize uppercase T prefixes on t-strings to lowercase (#​5425)
  • Remove redundant parentheses around generator expressions (#​5304, #​5369)
  • Preserve two blank lines before a top-level class starting inside a # fmt: off block
    after an import (#​5238)
  • Fix unnecessary parentheses around short right-hand expressions in indexed assignments
    (e.g. x[key] = expr) (#​5095)
  • Parenthesize tuple expressions in yield statements for consistency with function
    calls and returns (#​5170)
  • Stop splitting between a variable and its operator (not in, ==, is, ...) when
    the right-hand side is a bracketed expression, and instead split inside the brackets
    (#​5135)
  • In .pyi stub files, enforce a blank line after a function or method that has a
    docstring-only body when another comment or statement follows it (#​5158)
Updates to existing preview features
  • Fix crash in stub files when # fmt: skip is placed on a function in a group of
    same-name decorated functions (e.g. @overloads or a property setter) (#​5430)
  • Keep the parentheses around a lambda used as the iterable of a comprehension (e.g.
    [x for x in (lambda: 0) if x]) (#​5176, #​5200)
Updates to existing unstable features
  • Do not treat multi-line expressions with merged strings and trailing # type: ignore
    comments as single-line unsplittable expressions (#​5466)
  • Fix duplicated inline comment when stripping the parentheses around a string or
    merging a backslash-continued string on the same line (#​5449)
  • Split long stringified return annotations even when the function has parameters
    (#​5427)
  • Don't hug brackets when doing so would join two # type: ignore comments onto one
    line (#​5271)
  • Fix a crash when # type: ignore is lost during formatting of a long parenthesized
    string (#​5329)
  • Fix only the first part of an implicitly concatenated unmergeable string (e.g.
    r"..." r"...") being wrapped in parentheses (#​5434)
Configuration
  • Add support for NO_COLOR environment variable to disable ANSI output (#​5129)
  • Remove spurious target version warning when runtime version is included in a
    --target-version flag (#​5167)
  • Fix --force-exclude not excluding files whose path contains .. (e.g.
    black ../generated/file.py run from a subdirectory) (#​5471)
  • Fall back to the default configuration, with a warning, when the given sources share
    no common project root (e.g. they are on different drives on Windows) instead of
    crashing (#​5386)
  • Fix loading a stale cached pyproject.toml path when --code is used from different
    working directories in the same process (#​5152)
  • Add validation for --line-ranges values (#​5107)
  • Ignore empty cache files instead of raising an EOFError (#​5192)
  • Reject non-string include and force-exclude values in pyproject.toml (#​5193)
  • Validate BLACK_NUM_WORKERS values and report invalid values as usage errors instead
    of crashing (#​5211)
  • Ignore permission errors when reading cache (#​5258)
Packaging
  • Reduce the size of Linux standalone binaries by stripping debug symbols during the
    PyInstaller release build (#​5223)
  • Black is now released using GitHub
    Immutable Releases
    (#​5296)
Performance
  • Fix superlinear runtime growth with the number of input files (#​5450)
  • Improve performance on strings containing many consecutive backslashes (#​5163)
  • Improve performance on files with many # fmt: skip/# fmt: off/# fmt: on comments
    (#​5169, #​5190, #​5232)
  • Improve performance on long calls and collections (#​5177)
  • Improve performance on multiline strings inside large collections (e.g. a dict literal
    with triple-quoted strings as values) (#​5188)
  • Improve performance on files with many soft keywords (e.g. match/case blocks)
    (#​5186)
  • Improve performance on long semicolon-separated statements (in the stable style) and
    large dict literals (in --preview) (#​5184)
  • Improve performance of --line-ranges on files with many sibling blocks (a long
    if/elif chain, a match with many cases, or many top-level definitions) (#​5213)
  • Improve performance on deeply nested bracketed expressions (#​5171, #​5242)
  • Improve performance on lists and subscripts holding one long expression without
    operators (e.g. a long run of implicitly concatenated strings inside []) (#​5239)
  • Improve performance on deeply chained operations (e.g. a long a ** b ** c ** ...
    chain) (#​5235)
  • Improve performance on long if/elif chains and other compound statements with many
    clauses (#​5322)
  • Improve performance of string_processing:
    • when merging implicitly concatenated f-strings containing long string literals
      (#​5165)
    • when merging long implicitly concatenated strings (#​5173, #​5194)
    • when rewriting large nodes (e.g. "%s ..." % (a, b, c, ...)) (#​5178, #​5199, #​5220)
    • when splitting long string literals (#​5183)
Output
  • Report parser failures using editor-friendly path:line:column locations (#​5237)
  • Fix crash when writing formatted code or diffs to a sys.stdout that has no buffer
    attribute (e.g. in Jupyter notebooks) (#​5411)
  • Report parse failures on Black's own output as internal errors (#​5383)
Blackd
  • Return HTTP 400 instead of 500 when the X-Python-Variant header is empty or has an
    empty entry (e.g. a trailing comma) (#​5428)
  • Allow optional whitespace around comma-separated versions and pyi in the
    X-Python-Variant header (#​5441)
Integrations
  • Remove unused migrate-black script (#​5319)
  • Support PEP 440 version specifiers in tool.black.required-version for the GitHub
    Action (#​5399)
  • Add outputs (is_formatted, change_count, same_count, failure_count) to GitHub
    Action runs (#​5408)
Documentation
  • Document vim-python-pep8-indent, which provides an indentexpr for Black-style
    insert-mode indentation (#​5288)
python/mypy (mypy)

v2.4.0

Compare Source

astral-sh/ty (ty)

v0.0.86

Compare Source

Released on 2026-10-09.

The executables in our macOS and Windows release archives and ty wheels are now code-signed.
macOS executables are signed with an Apple Developer ID certificate and notarized by Apple. Windows
executables have timestamped Authenticode signatures from Azure Artifact Signing. This enables
verification of the release publisher and binary integrity, supports publisher-based allowlisting,
and should reduce security warnings and antivirus false positives.

Bug fixes
  • Infer empty collection branches from nonempty literals (#​29131)
  • Invalidate dependency metadata when environments change (#​29126)
  • Preserve final attribute restrictions on composite types (#​29135)
  • Preserve recursive structure in Annotated values (#​29058)
  • Specialize inherited dataclass field converters (#​29192)
LSP server
  • Show documentation for annotation operators on hover (#​29185)
Core type checking
  • Check attribute and property override types (#​28556)
  • Narrow tuple unions through truthiness and type checks (#​29125)
  • Preserve literal types when consuming dictionary literals (#​29145)
  • Preserve non-boolean comparison results for intersections (#​28045)
  • Preserve receiver specializations when calling unions of bound methods (#​29015)
  • Represent uninhabited truthiness explicitly (#​28843)
  • Solve validity type context through constraint sets (#​28909)
Performance
  • Avoid recursion guards for non-generic nominal targets (#​29202)
  • Check exact exclusions before intersection positives (#​29195)
Memory usage improvements
  • Share constraints in retained sequent maps (#​28966)
Other changes
Contributors

v0.0.85

Compare Source

Released on 2026-10-06.

Preview features
  • Refresh uv project metadata when uv files change (#​28529)
Bug fixes
  • Avoid recursive lambda class decorator panics (#​28984)
  • Compare observable notebook state for equality (#​28874)
  • Detect recursive alias cycles through intersections (#​28916)
  • Fix anchoring of include and exclude patterns after the project's root changed (#​28995)
  • Fix stack overflow when inferring dynamic class metaclasses (#​28917)
  • Normalize recursive dataclass transform metadata (#​28920)
  • Normalize recursive TypedDicts during cycle recovery (#​28918)
  • Preserve cycle markers in ParamSpec specialization (#​29024)
CLI
  • Prefer existing @​ paths over response files in Ruff and ty (#​28877)
LSP server
  • Add namespace package support to import completions. (#​28202)
  • Avoid stale I/O diagnostics when closing deleted files (#​28988)
  • Contain rendered code within Markdown fences (#​28869)
  • Refresh Python settings when virtual environments change (#​28650)
Diagnostic improvements
  • Add opt-in truthiness-test-of-none-union rule (#​28889)
  • Avoid disjoint-cast diagnostics in situations where the value could have been inferred as being compatible with the casted type if it had only been inferred with the right type context (#​28851)
  • Bound nested callable signature display (#​29049)
  • Explain outdated uv versions in metadata errors (#​28959)
  • Improve display of string literal types that include unicode characters or double quotes (#​29089)
  • Improve uv metadata diagnostics (#​28990)
  • Preserve constrained type-variable failure diagnostics (#​28768)
  • Preserve generic inference errors during diagnostic recovery (#​28811)
  • Report deprecated overloads in decorator applications (#​28999)
Core type checking
  • Bound methods without a receiver are not callable (#​28981)
  • Fix member lookup on union-bounded type variables (#​29018)
  • Fix type variable inference for final class objects (#​29097)
  • Freshen ParamSpec identities consistently (#​28826)
  • Honor generic property setters in protocol compatibility (#​28562)
  • Infer nominal generic specializations from bounded type variables (#​28812)
  • Inherit annotations for unannotated subclass defaults (#​28575)
  • Keep unresolved TypeIs targets provisional (#​29066)
  • Limit wildcard exports using literal __all__ (#​28972)
  • Narrow later match cases after always-true guards (#​28960)
  • Pass generic context to call inference solver (#​29065)
  • Preserve captured variables in ParamSpec comparisons (#​28827)
  • Preserve intersection receivers in implicit dunder calls (#​28833)
  • Preserve literal unpacking during call analysis (#​28821)
  • Preserve recursive type context during constructor inference (#​28903)
  • Preserve tuple shapes when slicing NewTypes (#​29091)
  • Preserve tuple subclass identity during type expansion (#​29090)
  • Promote bounded type variables to declared constraints (#​28814)
  • Propagate outer type context through cast calls (#​28855)
  • Recognize bare TypeVarTuples in materialization checks (#​28815)
  • Retain individual overload argument expansion outcomes (#​28825)
  • Specialize instance members once (#​29043)
  • Specialize Self bounds through generic type aliases (#​28890)
  • Support slots_default in dataclass_transform (#​28885)
  • Sync vendored typeshed stubs (#​29032). Typeshed diff
  • Sync vendored typeshed stubs (#​29042). Typeshed diff
  • Validate call arguments once after inference (#​28824)
  • Validate union operands involving None (#​28931)
Performance
  • Avoid expanding recursive protocol materializations (#​29026)
  • Avoid repeated work in nested match patterns (#​28926)
  • Cache the flattened module list (#​28932)
  • Index nonlocal bindings when sweeping snapshots (#​28935)
  • Skip descendant searches for leaf modules (#​28845)
  • Skip independent constraint-pair derivation (#​28950)
  • Skip storing default definition states (#​28934)
Memory usage improvements
  • Avoid caching empty sequent maps (#​28949)
  • Avoid retaining docstring literal types (#​28944)
  • Compact bound-method receivers (#​28969)
  • Move ParamSpec signature metadata to extras (#​28970)
  • Release closed module ASTs synchronously during auto-import discovery (#​28714)
  • Skip caching trivially assignable types (#​28936)
Contributors
fastapi/typer (typer)

v0.27.3

Compare Source

Fixes
Internal

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | project.optional-dependencies | minor | `26.5.1` → `26.10.1` | | [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | dependency-groups | minor | `26.5.1` → `26.10.1` | | https://code.forgejo.org/actions/checkout | action | digest | `fbc6f39` → `de0fac2` | | [mypy](https://github.com/python/mypy) ([changelog](https://mypy.readthedocs.io/en/latest/changelog.html)) | project.optional-dependencies | minor | `2.3.1` → `2.4.0` | | [mypy](https://github.com/python/mypy) ([changelog](https://mypy.readthedocs.io/en/latest/changelog.html)) | dependency-groups | minor | `2.3.1` → `2.4.0` | | node | container | digest | `64af381` → `3d27e5c` | | [python](https://hub.docker.com/_/python) ([source](https://github.com/docker-library/python)) | | patch | `3.14.7` → `3.14.8` | | python | final | digest | `7c61056` → `70729b4` | | [ty](https://github.com/astral-sh/ty) ([changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)) | dependency-groups | patch | `0.0.84` → `0.0.86` | | [typer](https://github.com/fastapi/typer) ([changelog](https://typer.tiangolo.com/release-notes/)) | project.dependencies | patch | `0.27.2` → `0.27.3` | | [types-requests](https://github.com/python/typeshed) ([changelog](https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/requests.md)) | project.optional-dependencies | patch | `2.33.0.20260906` → `2.33.0.20261006` | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v26.10.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#Version-26101) [Compare Source](https://github.com/psf/black/compare/26.10.0...26.10.1) ##### Highlights This release fixes a security issue in Black's bundled GitHub Action. Repositories that use the action are encouraged to update to the latest version of Black immediately. This update is received automatically when using `psf/black@stable`, and is independent of the version of Black installed by the action. When the GitHub Action reads version specifiers from `tool.black.required-version`, it now only accepts released versions of Black, as it already did for `black` requirements in dependency lists. Other values, such as URL references, are now rejected. This issue has been registered as `GHSA-cg8m-r9f2-5wm2`; a CVE identifier is pending. ##### Stable style - Fix a long Jupyter notebook assignment magic (for example `x = !ls -la`) being wrapped in parentheses, which IPython can no longer run; such cells are now left unchanged ([#&#8203;5481](https://github.com/psf/black/issues/5481)) - Keep repeated lines outside the selected `--line-ranges` unchanged ([#&#8203;5436](https://github.com/psf/black/issues/5436)) - Fix `--line-ranges` formatting lines that follow a statement when formatting joins or re-indents that statement ([#&#8203;5484](https://github.com/psf/black/issues/5484)) - Fix `--line-ranges` crashing with an internal error when an unselected statement has a `# fmt: skip` comment on the last line before a closing bracket ([#&#8203;5477](https://github.com/psf/black/issues/5477)) - Prevent moving an encoding declaration (for example `# -*- coding: latin-1 -*-`) onto the first two lines of a file ([#&#8203;5487](https://github.com/psf/black/issues/5487)) - Fix adding an extra trailing blank line inside a multi-line module docstring when its last line is near the line length limit ([#&#8203;5494](https://github.com/psf/black/issues/5494)) ##### Preview style - Do not split short expressions on delimiters (such as binary operators, comparisons, or comprehensions) inside brackets when preceded by a standalone comment ([#&#8203;5455](https://github.com/psf/black/issues/5455)) - Fix the unstable `string_processing` feature removing backslash-newline sequences from raw strings, which changed their value ([#&#8203;5482](https://github.com/psf/black/issues/5482)) - Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in assignments (such as annotated assignments or subscript targets) ([#&#8203;5473](https://github.com/psf/black/issues/5473)) - Parenthesize expressions with parameter comments when they exceed the line length under `--preview` ([#&#8203;5442](https://github.com/psf/black/issues/5442)) - Fix `wrap_long_dict_values_in_parens` dropping the parentheses around a right-hand side that contains a dictionary, leaving a line over the length limit ([#&#8203;5492](https://github.com/psf/black/issues/5492)) - Fix the unstable `string_processing` feature adding a space after `*` or `**` in a PEP 695 type parameter (`* Ts = ...`) when it splits a string in the parameter's default ([#&#8203;5504](https://github.com/psf/black/issues/5504)) - Avoid unnecessary line splits of trailers (such as indexing/subscripts) when an earlier bracket split exceeds the line length only due to a trailing comment ([#&#8203;5498](https://github.com/psf/black/issues/5498)) ##### Configuration - Add `--cache-dir` to configure the cache directory from the command line ([#&#8203;5433](https://github.com/psf/black/issues/5433)) - Don't cache a file as formatted after formatting or checking it with `--line-ranges`, which made a later full `black --check` pass and `black` skip the unformatted lines ([#&#8203;5476](https://github.com/psf/black/issues/5476)) - Respect a `.gitignore` that starts with a UTF-8 byte order mark. The mark became part of the first pattern, so that pattern never matched and Black formatted files that git ignores ([#&#8203;5497](https://github.com/psf/black/issues/5497)) ##### Performance - Avoid quadratic runtime when splitting very long lines with many trailing bracket pairs (such as consecutive subscripts) ([#&#8203;5475](https://github.com/psf/black/issues/5475)) ##### Integrations - Fix the GitHub Action crashing on dependency-group includes when `use_pyproject` is enabled ([#&#8203;5479](https://github.com/psf/black/issues/5479)) - When the GitHub Action reads version specifiers from `tool.black.required-version`, it now only accepts released versions of Black, as it already did for `black` requirements in dependency lists. Other values, such as URL references, are now rejected. ([#&#8203;5510](https://github.com/psf/black/issues/5510)) ### [`v26.10.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#Version-26100) [Compare Source](https://github.com/psf/black/compare/26.5.1...26.10.0) ##### Stable style - `--line-ranges` no longer inserts an empty line after a docstring when the range covers only the docstring itself ([#&#8203;5312](https://github.com/psf/black/issues/5312)) - Fix `# fmt: skip` on a bracketed ternary turning the surrounding tuple into a call ([#&#8203;5464](https://github.com/psf/black/issues/5464)) - Fix crash when `# fmt: skip` is placed on a one-line function or class with PEP 695 type parameters ([#&#8203;5429](https://github.com/psf/black/issues/5429)) - Fix an inline comment after the closing bracket of optional parentheses being moved inside the parentheses when the parenthesized expression contains own-line comments ([#&#8203;5395](https://github.com/psf/black/issues/5395)) - Fix unparseable output when `# fmt: skip` is placed on a bracket of an `if`, `while`, `for`, or `with` header ([#&#8203;5401](https://github.com/psf/black/issues/5401), [#&#8203;5405](https://github.com/psf/black/issues/5405)) - Fix crash when formatting parenthesized expressions with multiple inline comments and `# fmt: skip` ([#&#8203;5414](https://github.com/psf/black/issues/5414)) - Fix parsing Jupyter notebook assignment magics when non-ASCII characters appear earlier on the line ([#&#8203;5381](https://github.com/psf/black/issues/5381)) - Preserve blank lines that come immediately before a `# fmt: on` comment ([#&#8203;5300](https://github.com/psf/black/issues/5300)) - Keep the parentheses around the target of an annotated assignment (e.g. `(x): int = 5`), which prevent CPython from including the name in `__annotations__` ([#&#8203;5321](https://github.com/psf/black/issues/5321)) - Stop treating a t-string in docstring position as a docstring (e.g. `t" spam "` as the first statement of a module, class or function) ([#&#8203;5287](https://github.com/psf/black/issues/5287)) - Fix unparseable output for a t-string whose replacement field contains a quote (e.g. `t'\'{a["b"]}\''`) ([#&#8203;5265](https://github.com/psf/black/issues/5265)) - Fix unparseable output for a triple-quoted string whose body ends in an already-escaped double quote (e.g. `'''\'''\"'''`) ([#&#8203;5262](https://github.com/psf/black/issues/5262)) - Fix `--skip-magic-trailing-comma` dropping the trailing comma from a split single-element tuple used as a lambda parameter default ([#&#8203;5246](https://github.com/psf/black/issues/5246)) - Fix unstable formatting when an inline comment sits on optional parentheses (e.g. a parenthesized assert message) ([#&#8203;5241](https://github.com/psf/black/issues/5241)) - Fix `--skip-magic-trailing-comma` dropping the trailing comma of a one-element subscript (`a[x,]`) when the line is long enough to be split and contains a power operator ([#&#8203;5272](https://github.com/psf/black/issues/5272)) - Fix crash when a standalone comment sits between tokens of a comprehension or lambda ([#&#8203;5144](https://github.com/psf/black/issues/5144)) - Fix inline comments on a bracket inside a comprehension being dropped ([#&#8203;5330](https://github.com/psf/black/issues/5330)) - Respect the magic trailing comma in a PEP 695 type parameter list containing a `*TypeVarTuple` or `**ParamSpec` ([#&#8203;5244](https://github.com/psf/black/issues/5244)) - Fix crash when a comment-only `# fmt: off`/`# fmt: on` block is followed by a `with` statement after another standalone comment ([#&#8203;5189](https://github.com/psf/black/issues/5189)) - Fix a crash when splitting `case case if ...` match patterns at very small line lengths ([#&#8203;5147](https://github.com/psf/black/issues/5147)) - Fix multiline docstring indentation when leading tabs are used inside indented docstrings ([#&#8203;5148](https://github.com/psf/black/issues/5148)) - Respect `# fmt: skip` on a line that opens a bracket (e.g. `from x import ( # fmt: skip`) when a standalone comment is among the bracket's contents ([#&#8203;5161](https://github.com/psf/black/issues/5161)) - Fix an AST safety error when separate `# type: ignore` comments in a parenthesized attribute chain were merged onto one physical line ([#&#8203;5297](https://github.com/psf/black/issues/5297)) - Preserve comments and blank lines outside requested ranges when formatting with `--line-ranges` ([#&#8203;5175](https://github.com/psf/black/issues/5175)) - Fix crash when `# fmt: skip` is used on one-line `async def`, `async with`, and `async for` statements containing a semicolon ([#&#8203;5311](https://github.com/psf/black/issues/5311)) - Stop converting form feeds or other similar characters in docstrings into newlines ([#&#8203;5461](https://github.com/psf/black/issues/5461)) - Fix `--skip-source-first-line` turning the skipped line's CRLF ending into `\r\r\n` when reformatting a file with CRLF line endings ([#&#8203;5438](https://github.com/psf/black/issues/5438)) ##### Preview style ##### New preview features - Add missing blank lines after classes whose last method has an ellipsis body ([#&#8203;5439](https://github.com/psf/black/issues/5439)) - Split only the brackets holding a magic trailing comma when more trailers follow them (e.g. stop splitting inside the `[2]` of `[1,][2](3)`) ([#&#8203;5448](https://github.com/psf/black/issues/5448)) - Keep dictionary keys containing operators together on one line when the value can be wrapped onto a new line instead ([#&#8203;5435](https://github.com/psf/black/issues/5435)) - Remove redundant parentheses around individual variables in unpacking targets (e.g. `for (x), (y) in points:` becomes `for x, y in points:`) ([#&#8203;5416](https://github.com/psf/black/issues/5416)) - Normalize uppercase `T` prefixes on t-strings to lowercase ([#&#8203;5425](https://github.com/psf/black/issues/5425)) - Remove redundant parentheses around generator expressions ([#&#8203;5304](https://github.com/psf/black/issues/5304), [#&#8203;5369](https://github.com/psf/black/issues/5369)) - Preserve two blank lines before a top-level class starting inside a `# fmt: off` block after an import ([#&#8203;5238](https://github.com/psf/black/issues/5238)) - Fix unnecessary parentheses around short right-hand expressions in indexed assignments (e.g. `x[key] = expr`) ([#&#8203;5095](https://github.com/psf/black/issues/5095)) - Parenthesize tuple expressions in `yield` statements for consistency with function calls and returns ([#&#8203;5170](https://github.com/psf/black/issues/5170)) - Stop splitting between a variable and its operator (`not in`, `==`, `is`, ...) when the right-hand side is a bracketed expression, and instead split inside the brackets ([#&#8203;5135](https://github.com/psf/black/issues/5135)) - In `.pyi` stub files, enforce a blank line after a function or method that has a docstring-only body when another comment or statement follows it ([#&#8203;5158](https://github.com/psf/black/issues/5158)) ##### Updates to existing preview features - Fix crash in stub files when `# fmt: skip` is placed on a function in a group of same-name decorated functions (e.g. `@overload`s or a property setter) ([#&#8203;5430](https://github.com/psf/black/issues/5430)) - Keep the parentheses around a lambda used as the iterable of a comprehension (e.g. `[x for x in (lambda: 0) if x]`) ([#&#8203;5176](https://github.com/psf/black/issues/5176), [#&#8203;5200](https://github.com/psf/black/issues/5200)) ##### Updates to existing unstable features - Do not treat multi-line expressions with merged strings and trailing `# type: ignore` comments as single-line unsplittable expressions ([#&#8203;5466](https://github.com/psf/black/issues/5466)) - Fix duplicated inline comment when stripping the parentheses around a string or merging a backslash-continued string on the same line ([#&#8203;5449](https://github.com/psf/black/issues/5449)) - Split long stringified return annotations even when the function has parameters ([#&#8203;5427](https://github.com/psf/black/issues/5427)) - Don't hug brackets when doing so would join two `# type: ignore` comments onto one line ([#&#8203;5271](https://github.com/psf/black/issues/5271)) - Fix a crash when `# type: ignore` is lost during formatting of a long parenthesized string ([#&#8203;5329](https://github.com/psf/black/issues/5329)) - Fix only the first part of an implicitly concatenated unmergeable string (e.g. `r"..." r"..."`) being wrapped in parentheses ([#&#8203;5434](https://github.com/psf/black/issues/5434)) ##### Configuration - Add support for `NO_COLOR` environment variable to disable ANSI output ([#&#8203;5129](https://github.com/psf/black/issues/5129)) - Remove spurious target version warning when runtime version is included in a `--target-version` flag ([#&#8203;5167](https://github.com/psf/black/issues/5167)) - Fix `--force-exclude` not excluding files whose path contains `..` (e.g. `black ../generated/file.py` run from a subdirectory) ([#&#8203;5471](https://github.com/psf/black/issues/5471)) - Fall back to the default configuration, with a warning, when the given sources share no common project root (e.g. they are on different drives on Windows) instead of crashing ([#&#8203;5386](https://github.com/psf/black/issues/5386)) - Fix loading a stale cached `pyproject.toml` path when `--code` is used from different working directories in the same process ([#&#8203;5152](https://github.com/psf/black/issues/5152)) - Add validation for `--line-ranges` values ([#&#8203;5107](https://github.com/psf/black/issues/5107)) - Ignore empty cache files instead of raising an `EOFError` ([#&#8203;5192](https://github.com/psf/black/issues/5192)) - Reject non-string `include` and `force-exclude` values in `pyproject.toml` ([#&#8203;5193](https://github.com/psf/black/issues/5193)) - Validate `BLACK_NUM_WORKERS` values and report invalid values as usage errors instead of crashing ([#&#8203;5211](https://github.com/psf/black/issues/5211)) - Ignore permission errors when reading cache ([#&#8203;5258](https://github.com/psf/black/issues/5258)) ##### Packaging - Reduce the size of Linux standalone binaries by stripping debug symbols during the PyInstaller release build ([#&#8203;5223](https://github.com/psf/black/issues/5223)) - Black is now released using GitHub [Immutable Releases](https://docs.github.com/code-security/concepts/supply-chain-security/immutable-releases) ([#&#8203;5296](https://github.com/psf/black/issues/5296)) ##### Performance - Fix superlinear runtime growth with the number of input files ([#&#8203;5450](https://github.com/psf/black/issues/5450)) - Improve performance on strings containing many consecutive backslashes ([#&#8203;5163](https://github.com/psf/black/issues/5163)) - Improve performance on files with many `# fmt: skip`/`# fmt: off`/`# fmt: on` comments ([#&#8203;5169](https://github.com/psf/black/issues/5169), [#&#8203;5190](https://github.com/psf/black/issues/5190), [#&#8203;5232](https://github.com/psf/black/issues/5232)) - Improve performance on long calls and collections ([#&#8203;5177](https://github.com/psf/black/issues/5177)) - Improve performance on multiline strings inside large collections (e.g. a dict literal with triple-quoted strings as values) ([#&#8203;5188](https://github.com/psf/black/issues/5188)) - Improve performance on files with many soft keywords (e.g. `match`/`case` blocks) ([#&#8203;5186](https://github.com/psf/black/issues/5186)) - Improve performance on long semicolon-separated statements (in the stable style) and large dict literals (in `--preview`) ([#&#8203;5184](https://github.com/psf/black/issues/5184)) - Improve performance of `--line-ranges` on files with many sibling blocks (a long `if`/`elif` chain, a `match` with many cases, or many top-level definitions) ([#&#8203;5213](https://github.com/psf/black/issues/5213)) - Improve performance on deeply nested bracketed expressions ([#&#8203;5171](https://github.com/psf/black/issues/5171), [#&#8203;5242](https://github.com/psf/black/issues/5242)) - Improve performance on lists and subscripts holding one long expression without operators (e.g. a long run of implicitly concatenated strings inside `[]`) ([#&#8203;5239](https://github.com/psf/black/issues/5239)) - Improve performance on deeply chained operations (e.g. a long `a ** b ** c ** ...` chain) ([#&#8203;5235](https://github.com/psf/black/issues/5235)) - Improve performance on long `if`/`elif` chains and other compound statements with many clauses ([#&#8203;5322](https://github.com/psf/black/issues/5322)) - Improve performance of `string_processing`: - when merging implicitly concatenated f-strings containing long string literals ([#&#8203;5165](https://github.com/psf/black/issues/5165)) - when merging long implicitly concatenated strings ([#&#8203;5173](https://github.com/psf/black/issues/5173), [#&#8203;5194](https://github.com/psf/black/issues/5194)) - when rewriting large nodes (e.g. `"%s ..." % (a, b, c, ...)`) ([#&#8203;5178](https://github.com/psf/black/issues/5178), [#&#8203;5199](https://github.com/psf/black/issues/5199), [#&#8203;5220](https://github.com/psf/black/issues/5220)) - when splitting long string literals ([#&#8203;5183](https://github.com/psf/black/issues/5183)) ##### Output - Report parser failures using editor-friendly `path:line:column` locations ([#&#8203;5237](https://github.com/psf/black/issues/5237)) - Fix crash when writing formatted code or diffs to a `sys.stdout` that has no `buffer` attribute (e.g. in Jupyter notebooks) ([#&#8203;5411](https://github.com/psf/black/issues/5411)) - Report parse failures on Black's own output as internal errors ([#&#8203;5383](https://github.com/psf/black/issues/5383)) ##### *Blackd* - Return HTTP 400 instead of 500 when the `X-Python-Variant` header is empty or has an empty entry (e.g. a trailing comma) ([#&#8203;5428](https://github.com/psf/black/issues/5428)) - Allow optional whitespace around comma-separated versions and `pyi` in the `X-Python-Variant` header ([#&#8203;5441](https://github.com/psf/black/issues/5441)) ##### Integrations - Remove unused `migrate-black` script ([#&#8203;5319](https://github.com/psf/black/issues/5319)) - Support PEP 440 version specifiers in `tool.black.required-version` for the GitHub Action ([#&#8203;5399](https://github.com/psf/black/issues/5399)) - Add outputs (`is_formatted`, `change_count`, `same_count`, `failure_count`) to GitHub Action runs ([#&#8203;5408](https://github.com/psf/black/issues/5408)) ##### Documentation - Document `vim-python-pep8-indent`, which provides an `indentexpr` for Black-style insert-mode indentation ([#&#8203;5288](https://github.com/psf/black/issues/5288)) </details> <details> <summary>python/mypy (mypy)</summary> ### [`v2.4.0`](https://github.com/python/mypy/compare/v2.3.1...v2.4.0) [Compare Source](https://github.com/python/mypy/compare/v2.3.1...v2.4.0) </details> <details> <summary>astral-sh/ty (ty)</summary> ### [`v0.0.86`](https://github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0086) [Compare Source](https://github.com/astral-sh/ty/compare/0.0.85...0.0.86) Released on 2026-10-09. The executables in our macOS and Windows release archives and `ty` wheels are now code-signed. macOS executables are signed with an Apple Developer ID certificate and notarized by Apple. Windows executables have timestamped Authenticode signatures from Azure Artifact Signing. This enables verification of the release publisher and binary integrity, supports publisher-based allowlisting, and should reduce security warnings and antivirus false positives. ##### Bug fixes - Infer empty collection branches from nonempty literals ([#&#8203;29131](https://github.com/astral-sh/ruff/pull/29131)) - Invalidate dependency metadata when environments change ([#&#8203;29126](https://github.com/astral-sh/ruff/pull/29126)) - Preserve final attribute restrictions on composite types ([#&#8203;29135](https://github.com/astral-sh/ruff/pull/29135)) - Preserve recursive structure in `Annotated` values ([#&#8203;29058](https://github.com/astral-sh/ruff/pull/29058)) - Specialize inherited dataclass field converters ([#&#8203;29192](https://github.com/astral-sh/ruff/pull/29192)) ##### LSP server - Show documentation for annotation operators on hover ([#&#8203;29185](https://github.com/astral-sh/ruff/pull/29185)) ##### Core type checking - Check attribute and property override types ([#&#8203;28556](https://github.com/astral-sh/ruff/pull/28556)) - Narrow tuple unions through truthiness and type checks ([#&#8203;29125](https://github.com/astral-sh/ruff/pull/29125)) - Preserve literal types when consuming dictionary literals ([#&#8203;29145](https://github.com/astral-sh/ruff/pull/29145)) - Preserve non-boolean comparison results for intersections ([#&#8203;28045](https://github.com/astral-sh/ruff/pull/28045)) - Preserve receiver specializations when calling unions of bound methods ([#&#8203;29015](https://github.com/astral-sh/ruff/pull/29015)) - Represent uninhabited truthiness explicitly ([#&#8203;28843](https://github.com/astral-sh/ruff/pull/28843)) - Solve validity type context through constraint sets ([#&#8203;28909](https://github.com/astral-sh/ruff/pull/28909)) ##### Performance - Avoid recursion guards for non-generic nominal targets ([#&#8203;29202](https://github.com/astral-sh/ruff/pull/29202)) - Check exact exclusions before intersection positives ([#&#8203;29195](https://github.com/astral-sh/ruff/pull/29195)) ##### Memory usage improvements - Share constraints in retained sequent maps ([#&#8203;28966](https://github.com/astral-sh/ruff/pull/28966)) ##### Other changes - Update the default Python version to 3.15 ([#&#8203;28792](https://github.com/astral-sh/ruff/pull/28792)) - Update to Unicode 17 ([#&#8203;21229](https://github.com/astral-sh/ruff/pull/21229), [#&#8203;28784](https://github.com/astral-sh/ruff/pull/28784)) - Always show fixes in the CLI ([#&#8203;27810](https://github.com/astral-sh/ruff/pull/27810)) ##### Contributors - [@&#8203;gorewilliams](https://github.com/gorewilliams) - [@&#8203;carljm](https://github.com/carljm) - [@&#8203;AlexWaygood](https://github.com/AlexWaygood) - [@&#8203;ibraheemdev](https://github.com/ibraheemdev) - [@&#8203;zsol](https://github.com/zsol) - [@&#8203;charliermarsh](https://github.com/charliermarsh) ### [`v0.0.85`](https://github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0085) [Compare Source](https://github.com/astral-sh/ty/compare/0.0.84...0.0.85) Released on 2026-10-06. ##### Preview features - Refresh uv project metadata when uv files change ([#&#8203;28529](https://github.com/astral-sh/ruff/pull/28529)) ##### Bug fixes - Avoid recursive lambda class decorator panics ([#&#8203;28984](https://github.com/astral-sh/ruff/pull/28984)) - Compare observable notebook state for equality ([#&#8203;28874](https://github.com/astral-sh/ruff/pull/28874)) - Detect recursive alias cycles through intersections ([#&#8203;28916](https://github.com/astral-sh/ruff/pull/28916)) - Fix anchoring of include and exclude patterns after the project's root changed ([#&#8203;28995](https://github.com/astral-sh/ruff/pull/28995)) - Fix stack overflow when inferring dynamic class metaclasses ([#&#8203;28917](https://github.com/astral-sh/ruff/pull/28917)) - Normalize recursive dataclass transform metadata ([#&#8203;28920](https://github.com/astral-sh/ruff/pull/28920)) - Normalize recursive TypedDicts during cycle recovery ([#&#8203;28918](https://github.com/astral-sh/ruff/pull/28918)) - Preserve cycle markers in ParamSpec specialization ([#&#8203;29024](https://github.com/astral-sh/ruff/pull/29024)) ##### CLI - Prefer existing @&#8203; paths over response files in Ruff and ty ([#&#8203;28877](https://github.com/astral-sh/ruff/pull/28877)) ##### LSP server - Add namespace package support to import completions. ([#&#8203;28202](https://github.com/astral-sh/ruff/pull/28202)) - Avoid stale I/O diagnostics when closing deleted files ([#&#8203;28988](https://github.com/astral-sh/ruff/pull/28988)) - Contain rendered code within Markdown fences ([#&#8203;28869](https://github.com/astral-sh/ruff/pull/28869)) - Refresh Python settings when virtual environments change ([#&#8203;28650](https://github.com/astral-sh/ruff/pull/28650)) ##### Diagnostic improvements - Add opt-in `truthiness-test-of-none-union` rule ([#&#8203;28889](https://github.com/astral-sh/ruff/pull/28889)) - Avoid `disjoint-cast` diagnostics in situations where the value could have been inferred as being compatible with the casted type if it had only been inferred with the right type context ([#&#8203;28851](https://github.com/astral-sh/ruff/pull/28851)) - Bound nested callable signature display ([#&#8203;29049](https://github.com/astral-sh/ruff/pull/29049)) - Explain outdated uv versions in metadata errors ([#&#8203;28959](https://github.com/astral-sh/ruff/pull/28959)) - Improve display of string literal types that include unicode characters or double quotes ([#&#8203;29089](https://github.com/astral-sh/ruff/pull/29089)) - Improve uv metadata diagnostics ([#&#8203;28990](https://github.com/astral-sh/ruff/pull/28990)) - Preserve constrained type-variable failure diagnostics ([#&#8203;28768](https://github.com/astral-sh/ruff/pull/28768)) - Preserve generic inference errors during diagnostic recovery ([#&#8203;28811](https://github.com/astral-sh/ruff/pull/28811)) - Report deprecated overloads in decorator applications ([#&#8203;28999](https://github.com/astral-sh/ruff/pull/28999)) ##### Core type checking - Bound methods without a receiver are not callable ([#&#8203;28981](https://github.com/astral-sh/ruff/pull/28981)) - Fix member lookup on union-bounded type variables ([#&#8203;29018](https://github.com/astral-sh/ruff/pull/29018)) - Fix type variable inference for final class objects ([#&#8203;29097](https://github.com/astral-sh/ruff/pull/29097)) - Freshen ParamSpec identities consistently ([#&#8203;28826](https://github.com/astral-sh/ruff/pull/28826)) - Honor generic property setters in protocol compatibility ([#&#8203;28562](https://github.com/astral-sh/ruff/pull/28562)) - Infer nominal generic specializations from bounded type variables ([#&#8203;28812](https://github.com/astral-sh/ruff/pull/28812)) - Inherit annotations for unannotated subclass defaults ([#&#8203;28575](https://github.com/astral-sh/ruff/pull/28575)) - Keep unresolved TypeIs targets provisional ([#&#8203;29066](https://github.com/astral-sh/ruff/pull/29066)) - Limit wildcard exports using literal `__all__` ([#&#8203;28972](https://github.com/astral-sh/ruff/pull/28972)) - Narrow later match cases after always-true guards ([#&#8203;28960](https://github.com/astral-sh/ruff/pull/28960)) - Pass generic context to call inference solver ([#&#8203;29065](https://github.com/astral-sh/ruff/pull/29065)) - Preserve captured variables in ParamSpec comparisons ([#&#8203;28827](https://github.com/astral-sh/ruff/pull/28827)) - Preserve intersection receivers in implicit dunder calls ([#&#8203;28833](https://github.com/astral-sh/ruff/pull/28833)) - Preserve literal unpacking during call analysis ([#&#8203;28821](https://github.com/astral-sh/ruff/pull/28821)) - Preserve recursive type context during constructor inference ([#&#8203;28903](https://github.com/astral-sh/ruff/pull/28903)) - Preserve tuple shapes when slicing NewTypes ([#&#8203;29091](https://github.com/astral-sh/ruff/pull/29091)) - Preserve tuple subclass identity during type expansion ([#&#8203;29090](https://github.com/astral-sh/ruff/pull/29090)) - Promote bounded type variables to declared constraints ([#&#8203;28814](https://github.com/astral-sh/ruff/pull/28814)) - Propagate outer type context through cast calls ([#&#8203;28855](https://github.com/astral-sh/ruff/pull/28855)) - Recognize bare `TypeVarTuple`s in materialization checks ([#&#8203;28815](https://github.com/astral-sh/ruff/pull/28815)) - Retain individual overload argument expansion outcomes ([#&#8203;28825](https://github.com/astral-sh/ruff/pull/28825)) - Specialize instance members once ([#&#8203;29043](https://github.com/astral-sh/ruff/pull/29043)) - Specialize Self bounds through generic type aliases ([#&#8203;28890](https://github.com/astral-sh/ruff/pull/28890)) - Support slots_default in dataclass_transform ([#&#8203;28885](https://github.com/astral-sh/ruff/pull/28885)) - Sync vendored typeshed stubs ([#&#8203;29032](https://github.com/astral-sh/ruff/pull/29032)). [Typeshed diff](https://github.com/python/typeshed/compare/76b8c9f83b8bb876e841248b638f3728da3f86fe...b932d8ce0f893d7d9ef167f0379dcaf9f48bf70b) - Sync vendored typeshed stubs ([#&#8203;29042](https://github.com/astral-sh/ruff/pull/29042)). [Typeshed diff](https://github.com/python/typeshed/compare/76b8c9f83b8bb876e841248b638f3728da3f86fe...b932d8ce0f893d7d9ef167f0379dcaf9f48bf70b) - Validate call arguments once after inference ([#&#8203;28824](https://github.com/astral-sh/ruff/pull/28824)) - Validate union operands involving None ([#&#8203;28931](https://github.com/astral-sh/ruff/pull/28931)) ##### Performance - Avoid expanding recursive protocol materializations ([#&#8203;29026](https://github.com/astral-sh/ruff/pull/29026)) - Avoid repeated work in nested match patterns ([#&#8203;28926](https://github.com/astral-sh/ruff/pull/28926)) - Cache the flattened module list ([#&#8203;28932](https://github.com/astral-sh/ruff/pull/28932)) - Index nonlocal bindings when sweeping snapshots ([#&#8203;28935](https://github.com/astral-sh/ruff/pull/28935)) - Skip descendant searches for leaf modules ([#&#8203;28845](https://github.com/astral-sh/ruff/pull/28845)) - Skip independent constraint-pair derivation ([#&#8203;28950](https://github.com/astral-sh/ruff/pull/28950)) - Skip storing default definition states ([#&#8203;28934](https://github.com/astral-sh/ruff/pull/28934)) ##### Memory usage improvements - Avoid caching empty sequent maps ([#&#8203;28949](https://github.com/astral-sh/ruff/pull/28949)) - Avoid retaining docstring literal types ([#&#8203;28944](https://github.com/astral-sh/ruff/pull/28944)) - Compact bound-method receivers ([#&#8203;28969](https://github.com/astral-sh/ruff/pull/28969)) - Move ParamSpec signature metadata to extras ([#&#8203;28970](https://github.com/astral-sh/ruff/pull/28970)) - Release closed module ASTs synchronously during auto-import discovery ([#&#8203;28714](https://github.com/astral-sh/ruff/pull/28714)) - Skip caching trivially assignable types ([#&#8203;28936](https://github.com/astral-sh/ruff/pull/28936)) ##### Contributors - [@&#8203;dhruvmanila](https://github.com/dhruvmanila) - [@&#8203;carljm](https://github.com/carljm) - [@&#8203;sharkdp](https://github.com/sharkdp) - [@&#8203;gorewilliams](https://github.com/gorewilliams) - [@&#8203;AlexWaygood](https://github.com/AlexWaygood) - [@&#8203;ibraheemdev](https://github.com/ibraheemdev) - [@&#8203;MichaReiser](https://github.com/MichaReiser) - [@&#8203;charliermarsh](https://github.com/charliermarsh) - [@&#8203;zsol](https://github.com/zsol) - [@&#8203;lerebear](https://github.com/lerebear) </details> <details> <summary>fastapi/typer (typer)</summary> ### [`v0.27.3`](https://github.com/fastapi/typer/releases/tag/0.27.3) [Compare Source](https://github.com/fastapi/typer/compare/0.27.2...0.27.3) ##### Fixes - 🐛 Escape terminal control characters in error messages. PR [#&#8203;1972](https://github.com/fastapi/typer/pull/1972) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Internal - ⬆ Bump pyjwt from 2.13.0 to 2.15.0. PR [#&#8203;1969](https://github.com/fastapi/typer/pull/1969) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump urllib3 from 2.7.0 to 2.8.0. PR [#&#8203;1968](https://github.com/fastapi/typer/pull/1968) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump pymdown-extensions from 11.0 to 11.0.1. PR [#&#8203;1924](https://github.com/fastapi/typer/pull/1924) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump the python-packages group across 1 directory with 7 updates. PR [#&#8203;1966](https://github.com/fastapi/typer/pull/1966) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump cryptography from 48.0.1 to 50.0.2. PR [#&#8203;1920](https://github.com/fastapi/typer/pull/1920) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump pre-commit hooks. PR [#&#8203;1967](https://github.com/fastapi/typer/pull/1967) by [@&#8203;pr-submit\[bot\]](https://github.com/apps/pr-submit). - ⬆ Bump the github-actions group with 3 updates. PR [#&#8203;1965](https://github.com/fastapi/typer/pull/1965) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump anyio from 4.12.0 to 4.14.2. PR [#&#8203;1959](https://github.com/fastapi/typer/pull/1959) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ✅ Fix flaky `app_dir` and `launch` tutorial tests under `xdist`. PR [#&#8203;1951](https://github.com/fastapi/typer/pull/1951) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov). - ⬆ Bump the python-packages group across 1 directory with 8 updates. PR [#&#8203;1948](https://github.com/fastapi/typer/pull/1948) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump annotated-doc from 0.0.4 to 0.0.5. PR [#&#8203;1949](https://github.com/fastapi/typer/pull/1949) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump pre-commit hooks. PR [#&#8203;1950](https://github.com/fastapi/typer/pull/1950) by [@&#8203;pr-submit\[bot\]](https://github.com/apps/pr-submit). - ⬆ Bump the github-actions group with 4 updates. PR [#&#8203;1947](https://github.com/fastapi/typer/pull/1947) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE0OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
chore(deps): update all dependencies
Some checks failed
/ Determine versions (pull_request) Successful in 6s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 32s
/ build-container (pull_request) Successful in 1m44s
00bf6c3d71
renovate-forgejo force-pushed renovate/all from 6124650f75 to 54c4efe45b
Some checks failed
/ Determine versions (pull_request) Successful in 5s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 31s
/ build-container (pull_request) Successful in 2m19s
2026-10-10 00:04:19 +00:00
Compare
renovate-forgejo force-pushed renovate/all from 54c4efe45b
Some checks failed
/ Determine versions (pull_request) Successful in 5s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 31s
/ build-container (pull_request) Successful in 2m19s
to 85fa2fa561
Some checks failed
/ Determine versions (pull_request) Successful in 4s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 23s
/ build-container (pull_request) Successful in 51s
2026-10-10 08:04:15 +00:00
Compare
renovate-forgejo force-pushed renovate/all from 85fa2fa561
Some checks failed
/ Determine versions (pull_request) Successful in 4s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 23s
/ build-container (pull_request) Successful in 51s
to 200dc4f9d4
Some checks failed
/ Determine versions (pull_request) Successful in 4s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 39s
/ build-container (pull_request) Successful in 1m28s
2026-10-10 16:04:18 +00:00
Compare
Some checks failed
/ Determine versions (pull_request) Successful in 4s
/ Unittests and try build -- Python 3.13 (pull_request) Failing after 39s
/ build-container (pull_request) Successful in 1m28s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/all:renovate/all
git switch renovate/all

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/all
git switch renovate/all
git rebase main
git switch main
git merge --ff-only renovate/all
git switch renovate/all
git rebase main
git switch main
git merge --no-ff renovate/all
git switch main
git merge --squash renovate/all
git switch main
git merge --ff-only renovate/all
git switch main
git merge renovate/all
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
finkregh/mypv-elwa-prometheus-exporter!31
No description provided.