Skip to content

⬆️ deps: Update Python dev dependencies - #10

Merged
SigureMo merged 2 commits into
mainfrom
renovate/python-dev-dependencies
Sep 2, 2026
Merged

⬆️ deps: Update Python dev dependencies#10
SigureMo merged 2 commits into
mainfrom
renovate/python-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ruff (source, changelog) >=0.16.3>=0.16.5 age confidence
ty (changelog) >=0.0.72>=0.0.77 age confidence

Release Notes

astral-sh/ruff (ruff)

v0.16.5

Compare Source

Released on 2026-08-27.

Preview features
  • Allow rules without codes (#​28049)
  • Introduce category selectors (#​27666)
  • Update preview default rules and categories (#​27877)
Bug fixes
  • [flake8-async] Detect blocking generic HTTP requests (ASYNC210) (#​28024)
  • [flake8-datetimez] Allow timezone-safe strptime chains (DTZ007) (#​28023)
  • [flake8-simplify] Respect side effects in lambda defaults (SIM401) (#​28000)
Server
  • Fix duplicated "of" in ClientOptions doc comment (#​27978)
Documentation
  • Document rule acceptance guidelines (#​27910)
  • Document the new category selectors (#​27906)
Contributors

v0.16.4

Compare Source

Released on 2026-08-20.

Preview features
  • [flake8-use-pathlib] Add autofix for PTH116 (#​26460)
  • [refurb] Restrict delete-full-slice to lists (FURB131) (#​27711)
  • [refurb] Skip FURB101 and FURB103 when the open argument is a file descriptor (#​27643)
Bug fixes
  • Fix InvalidInstruction on Windows CPUs that do not support POPCNT (#​27803)
  • [pyflakes] Emit semantic syntax errors in string type definitions as F722 (#​27835)
  • [pylint] Allow os._exit imports in import-private-name (PLC2701) (#​27738)
Rule changes
  • [syntax-errors] Align mixed t-string/bytes error message with CPython 3.14 (#​27766)
  • [ruff] Add ctypes.LittleEndianStructure and related types to existing exception (RUF012) (#​27753)
  • [syntax-errors] Detect duplicate keyword arguments (#​17804)
  • [syntax-errors] Detect parameters declared nonlocal (#​27628)
Server
  • Offer display-only fixes and mark safe fixes preferred (#​27807)
  • Support pull diagnostics for notebook cells (#​27779)
Documentation
  • Add default indicator to rules table (#​27724)
  • Fix broken link to Python docs (#​27757)
Other changes
  • Fix s390x stacker assembly in release builds (#​27776)
  • Guarantee minimum stack size when parsing a module, standalone expression, and suites (#​25464)
  • Reduce configuration deserialization code size (#​27924)
  • Check packed AST index bounds (#​27849)
Contributors
astral-sh/ty (ty)

v0.0.77

Compare Source

Released on 2026-08-31.

Bug fixes
  • Bound recursive protocol traversal in generic intersections (#​28215)
  • Preserve recursion guards across nested type operations (#​28150)
  • Preserve syntax and comments when removing redundant casts (#​28145)
  • Stabilize recursive receiver inference (#​28042)
  • Stabilize condition truthiness during cyclic inference (#​28212)
Core type checking
  • Preserve generic receivers in implicit __init_subclass__ calls (#​28138)
  • Preserve specialization for inherited TypedDict methods (#​28111)
  • Propagate deletions through nested loop headers (#​28044)
Performance
  • Avoid repeated inference for literal union call results (#​28196)
Contributors

v0.0.76

Compare Source

Released on 2026-08-31.

Preview features
  • Add a missing-direct-dependency rule (#​28001)
  • Cancel superseded queued uv requests (#​28108)
  • Check direct dependencies in PEP 723 scripts (#​28136)
  • Fix Goto definition in script dependencies (#​27747)
  • Move script environment initialization to the CLI and LSP (#​28038)
  • Refresh uv project metadata in the background (#​27933)
  • Synchronize PEP 723 script environments in the language server (#​27619)
  • Warn when uv metadata cannot support dependency checks (#​28133)
Bug fixes
  • Avoid panics on incomplete protocol type parameter lists (#​28088)
  • Fix auto-completion panic involving bare declarations (#​28191)
  • Guard recursive meta-type expansion (#​28143)
  • Preserve parentheses when removing redundant casts (#​28092)
LSP server
  • Add "Find references" support for pytest fixtures (#​28075)
  • Highlight PEP 723 script metadata as TOML (#​27746)
  • Synchronize saved script metadata on open (#​27873)
Core type checking
  • Apply mixin specialization when validating enum members (#​28101)
  • Bind Self through generic type aliases (#​28117)
  • Infer lambda parameters through callable type aliases (#​28109)
  • Intersection simplifications with subtype-related generic specializations (#​26880)
  • Invalidate member narrowing across loop iterations (#​28009)
  • Narrow functional enum members in == and match (#​28103)
  • Only treat recursive types with unbounded specializations as fallback cycles (#​27538)
  • Preserve Final variance in stubs (#​28119)
  • Preserve inferred types for unknown class-decorator results (#​28067)
  • Preserve list literal positions in starred unpacking (#​28061)
  • Preserve short-circuit reachability for direct conditions (#​28082)
  • Preserve type variables in bounded generic defaults (#​28122)
  • Reject circular type alias definitions (#​28140)
  • Reject class access to generic instance attributes (#​28123)
  • Use the subclass receiver when checking method overrides (#​28124)
  • Validate declared variance in method signatures (#​28116)
Performance
  • Avoid cubic narrowing with repeated assignments and context managers (#​27787)
  • Avoid repeated traversal of shared alias arguments (#​28147)
  • Reject impossible eager protocol comparisons early (#​28081)
Contributors

v0.0.75

Compare Source

Released on 2026-08-26.

Preview features
  • Initialize PEP 723 script environments in the CLI (#​27544)
  • Refresh PEP 723 script environments in watch mode (#​27617)
  • Run PEP 723 script synchronization on bounded workers (#​27615)
Bug fixes
  • Specialize Self bounds of inherited methods (#​27990)
LSP server
  • Add "Go to Definition" support for pytest fixtures (#​27444)
Documentation
  • Fix documented Python package build command (#​4384)
  • Link untyped-call tracking issue in migration guide (#​4382)
Library support
  • Resolve imported pytest fixture exposures (#​27539)
  • Resolve installed core pytest fixture providers (#​27770)
  • Resolve pytest fixtures through conftest (#​27540)
Diagnostics
  • Add more autofixes (#​28029)
  • Add a dedicated missing-slot diagnostic (#​28039)
  • Explain missing storage for declared slotted attributes (#​27969)
  • Improve diagnostic spans for unpacked variable assignments (#​28041)
Core type checking
  • Account for known subclasses in equality inference (#​28005)
  • Expand ParamSpec signatures inferred from bound receivers (#​28020)
  • Fix Self binding in ParamSpec protocols (#​28016)
  • Fix TypedDict variance inference (#​28052)
  • Fix unsound narrowing through branch-assigned conditions (#​28006)
  • Ignore inconsistent binding decorators on overloads (#​28036)
  • Infer yield from send/return types from the iterator returned by __iter__ (#​27987)
  • Infer tuple type parameters from union arguments (#​28062)
  • Infer variance through nonrecursive protocol references (#​28065)
  • Preserve bounds of non-literal metaclasses (#​28046)
  • Preserve correlated generic-call inference (#​28043)
  • Preserve invariant materialization constraints (#​28047)
  • Recover bare TypeVarTuples in tuple annotations (#​27950)
  • Reject fixed tuples for non-inferable TypeVarTuples (#​27943)
  • Reject incompatible constructor context for variadic packs (#​27966)
  • Support mixed gradual tuple assignability with TypeVarTuple (#​27957)
  • Support tagged union with multiple tags per type (#​27984)
  • Sync vendored typeshed stubs (#​28035). Typeshed diff
  • Treat typing.Union as a class on Python 3.14+ (#​28003)
  • Validate generic protocol variance (#​27531)
  • collections.abc.Callable is an instance of type (#​27991)
Contributors

v0.0.74

Compare Source

Released on 2026-08-22.

Bug fixes
  • Avoid duplicate bindings in multi-target assignments (#​27938)
  • Avoid panic on unpacked kwargs in string annotations (#​27963)
  • Fix stack overflow in recursive TypedDict dictionary compatibility (#​27951)
  • Handle assignment expressions in string annotations (#​27921)
  • Handle dynamic classes in string annotations (#​27883)
  • Preserve string annotation context in lambda defaults and TypedDict types (#​27914)
  • Skip invalid subscript arguments in string annotations (#​27917)
  • Skip invalid subscript operands in string annotations (#​27882)
LSP server
  • Add untrustedWorkspace option to the LSP (#​27828)
  • Add executable discovery to the server command (#​27806)
  • Handle file-valued workspace folders from Zed (#​27836)
  • Skip scripts with an invalid PEP 723 configuration (#​27505)
  • Support pull diagnostics for notebook cells (#​27778)
Documentation
  • Update mypy/pyright comparison table (#​4165)
Diagnostics
  • Add an opt-in unsound-assignment rule for variables (#​27874)
  • Fix variadic signature display (#​27869)
  • Highlight declarations in invalid-assignment diagnostics (#​27872)
  • Improve LiteralString suggestions in string annotations (#​27931)
  • Use invalid-type-form for non-generic class annotations (#​27889)
Core type checking
  • Add bounded constraint solution projections (#​27949)
  • Fix invariant gradual tuple materialization ranges (#​27946)
  • Guard recursive constructor bindings by receiver (#​27958)
  • Preserve all alternatives in bounded intersections (#​27898)
  • Preserve keyword safety for unpacked callables (#​27517)
  • Preserve source protocol members and classify finite aliases (#​27772)
  • Preserve type-variable order when reloading constraints (#​27904)
  • Propagate narrowing through statically known branches (#​27752)
  • Recognize ABC metaclass methods on protocols (#​27897)
  • Support __slots__ (#​27730)
Performance
  • Lazily infer function parameter default types (#​27857)
  • Optimize inherited recursive protocol comparisons (#​27922)
  • Traverse shared constraint source-order nodes once (#​27947)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch 3 times, most recently from 0fefee6 to e3e526f Compare August 29, 2026 13:02
@renovate renovate Bot changed the title ⬆️ deps: Update Python dev dependencies ⬆️ deps: Update dependency ruff to >=0.16.5 Aug 29, 2026
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch from e3e526f to 9c073e7 Compare August 29, 2026 18:04
@renovate renovate Bot changed the title ⬆️ deps: Update dependency ruff to >=0.16.5 ⬆️ deps: Update Python dev dependencies Aug 29, 2026
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch from 9c073e7 to d2a59b9 Compare September 1, 2026 18:56
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch from d2a59b9 to a7b9b09 Compare September 2, 2026 01:31
@SigureMo

SigureMo commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@copilot 解决一下 CI 里的 lint-and-fmt error

Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@copilot 解决一下 CI 里的 lint-and-fmt error

已修复 CI 的 lint-and-fmt:同步 Ruff 0.16.5 对 README Python 代码块的格式要求,并修正 Prettier 检查项。uv run ruff format --check --diff .prettier --check '**/*.md' 均通过。提交:bec6fde

Copilot AI requested a review from SigureMo September 2, 2026 05:28
@SigureMo
SigureMo merged commit b38f230 into main Sep 2, 2026
6 checks passed
@SigureMo
SigureMo deleted the renovate/python-dev-dependencies branch September 2, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants