Skip to content

⬆️ deps: Update Python dev dependencies#87

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/python-dev-dependencies
Jun 27, 2026
Merged

⬆️ deps: Update Python dev dependencies#87
renovate[bot] merged 1 commit into
mainfrom
renovate/python-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest (changelog) >=9.1.0>=9.1.1 age confidence
ruff (source, changelog) >=0.15.17>=0.15.20 age confidence
ty (changelog) >=0.0.50>=0.0.54 age confidence

Release Notes

pytest-dev/pytest (pytest)

v9.1.1

Compare Source

pytest 9.1.1 (2026-06-19)

Bug fixes

  • #​14220: Fixed a logic bug in pytest.RaisesGroup which would might cause it to display incorrect "It matches FooError() which was paired with BarError" messages.
  • #​14591: Fixed a regression in pytest 9.1.0 which caused overriding a parametrized fixture with an indirect @​pytest.mark.parametrize to fail with "duplicate parametrization of '<fixture name>'".
  • #​14606: Fixed list-item typing errors from mypy in @pytest.mark.parametrize <pytest.mark.parametrize ref> argvalues parameter.
  • #​14608: Fixed a regression in pytest 9.1.0 where conftest.py files located in <invocation dir>/test* were no longer loaded as initial conftests when invoked without arguments.
    This could cause certain hooks (like pytest_addoption) in these files to not fire.
astral-sh/ruff (ruff)

v0.15.20

Compare Source

Released on 2026-06-25.

Preview features
  • Allow human-readable names in rule selectors (#​25887)
  • Emit a warning instead of an error for unknown rule selectors (#​26113)
  • Match noqa shebang handling in ruff:ignore comments (#​26286)
  • [ruff] Remove pytest-fixture-autouse (RUF076) (#​26240, #​26371)
Documentation
  • Add versioning sections to custom crate READMEs (#​26317)
  • Update ruff_python_parser README for crates.io (#​26315)
  • [perflint] Clarify that PERF402 applies to any iterable (#​26242)
Contributors

v0.15.19

Compare Source

Released on 2026-06-23.

Preview features
  • Support human-readable names when hovering suppression comments and in code actions (#​26114)
Bug fixes
  • Fall back to default settings when editor-only settings are invalid (#​26244)
  • Fix panic when inserting text at a notebook cell boundary (#​26111)
Rule changes
  • [pylint] Update fix suggestions for __floor__, __trunc__, __length_hint__, and __matmul__ variants (PLC2801) (#​26239)
Performance
  • Avoid allocating when parsing single string literals (#​26200)
  • Avoid reallocating singleton call arguments (#​26223)
  • Lazily create source files for lint diagnostics (#​26226)
  • Optimize formatter text width and indentation (#​26236)
  • Reserve capacity for builtin bindings (#​26229)
  • Skip repeated-key checks for singleton dictionaries (#​26228)
  • Use ArrayVec for qualified name segments (#​26224)
Documentation
  • [flake8-pyi] Note that PYI051 is an opinionated stylistic rule (#​26179)
  • [pyupgrade] Clarify UP029 as a Python 2 compatibility rule (#​26243)
Other changes
  • Publish Ruff crates to crates.io (#​26271)
Contributors
astral-sh/ty (ty)

v0.0.54

Compare Source

Released on 2026-06-25.

Bug fixes
  • Avoid duplicate configuration error output (#​26375)
  • Avoid stack overflows in reachability analysis (#​26272)
  • Fix divergent recursive tuple cycle handling in ty (#​26316)
  • Fix panic from relation queries during cycle recovery (#​26335)
  • Fix panics by reverting recursive TypeOf cycle recovery (#​26339)
  • Support basic usages of __class__ closure cells in methods (#​26329)
LSP server
  • Fix typealias token classification inconsistency (#​26255)
  • Implement rust-analyzer's "Click for full compiler diagnostic" feature (#​26269)
Performance
  • Co-locate retained definition usage state (#​26019)
  • Use never-change durability for immutable file inputs (#​26353)
Diagnostics
  • Reject undeclared protocol instance attributes (#​26336)
Core type checking
  • Allow replacing ordinary methods with compatible functions (#​26158)
  • Distinguish typing.TypedDict from typing_extensions.TypedDict (#​25843)
  • Don't treat non-empty ranges as single-valued (#​26351)
  • Handle TypeVar bounds over type[...] in attribute lookup (#​26146)
  • Infer definite equality comparison results (#​26337)
  • Infer mismatched literal comparisons (#​26313)
  • match statements: make class-pattern fallthrough member-aware (#​26283)
  • match statements: prove TypedDict structural patterns exhaustive (#​26285)
  • match statements: resolve positional class-pattern exhaustiveness (#​26284)
  • Model non-exhaustive enum member sets (enum.Flags) (#​26277)
  • Reduce retained definition map storage (#​26348)
  • Reuse equality semantics for membership compatibility (#​25955)
  • Sync vendored typeshed stubs to support builtins.sentinel (#​26341)
  • Treat non-empty range calls as non-empty for reachability (#​25220)
  • Use assignability for divergent constraints (#​26334)
  • Widen inferred class-valued instance attributes (#​26338)
Contributors

v0.0.53

Compare Source

Released on 2026-06-23.

Bug fixes
  • Avoid bypassing lazy constraints for Divergent (#​26288)
  • Avoid recursion when projecting narrowing constraints (#​26276)
  • Fix ParamSpec callable signature extraction for callable instances (#​26279)
  • Make multi-arm TypeOf cycle recovery monotonic (#​26275)
LSP server
  • Document all special forms in ty_extensions (#​26263)
Performance
  • Avoid cloning fallback condition flow snapshots (#​26203)
  • Avoid constructing discarded speculative diagnostics (#​26251)
  • Avoid path lookups when sorting same-file diagnostics (#​26257)
  • Cache is_never_satisfied results (#​26261)
  • Defer applying type context to simple standalone expressions (#​26252)
Core type checking
  • Infer types for names bound in match patterns (#​25940)
  • Preserve regular kind for callable instances (#​26253)
  • Simplify intersections of invariant generic types with Any specializations (#​26127)
Contributors

v0.0.52

Compare Source

Released on 2026-06-22.

Bug fixes
  • Avoid shadowing hints for attribute assignments (#​26164)
  • Fix dict.pop overloads to accept arbitrary keys with defaults (#​26241)
  • Normalize recursive TypeOf across multiple union arms (#​26230)
  • Normalize recursive TypeOf growth during cycle recovery (#​26163)
  • Normalize recursive protocol growth during cycle recovery (#​26246)
  • Preserve generic alias identity during cycle recovery (#​26166)
  • Recover from dynamic class code generator cycles (#​26167)
LSP server
  • Add a go-to destination for Divergent (#​26162)
  • Publish diagnostics for all open files after a single file is saved (#​25929)
  • Render Markdown for reStructuredText fields in docstrings on hover (#​25903)
CLI
  • Make error-on-warning the default (#​26157)
Diagnostics
  • Make rendering of fix diffs more concise (#​26161)
Performance
  • Avoid allocating disabled error context trees (#​26191)
  • Avoid lookup maps for small place tables (#​26177)
  • Avoid moving boxed use-def map builders (#​26211)
  • Avoid transient AST ID merge map (#​26185)
  • Batch signature typevar freshness scans (#​26196)
  • Box large semantic index builders (#​26186)
  • Build frozen definition maps directly (#​26188)
  • Compact use-def binding interner keys (#​26193)
  • Consume condition flow snapshots (#​26189)
  • Lazily allocate reachability caches (#​26194)
  • Remove redundant use-def state shrinking (#​26206)
  • Reuse the first union bindings buffer (#​26225)
  • Short-circuit terminal narrowing constraints (#​26215)
  • Solve simple constraint conjunctions directly (#​25879)
  • Store cycle-detector cache entries inline (#​26183)
  • Stream indexed AST construction (#​26184)
  • Suppress discarded TypedDict diagnostics (#​26250)
  • Use SmallVec for CycleDetector::seen (#​26181)
  • Use a SmallVec for seen type aliases (#​26187)
Core type checking
  • Raise limit for number of non-recursive union literals (#​25212)
  • Preserve gradual behavior for explicit Any subclasses (#​26034)
  • Preserve metaclasses when inheriting from intersection-typed bases (#​26145)
  • Recognize exhaustive matches over finite tuples (#​26132)
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 is behind base branch, 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 enabled auto-merge June 22, 2026 01:56
@renovate renovate Bot force-pushed the renovate/python-dev-dependencies branch 5 times, most recently from 6b05e1b to e16ef32 Compare June 25, 2026 22:35
@renovate renovate Bot force-pushed the renovate/python-dev-dependencies branch from e16ef32 to 8b05925 Compare June 26, 2026 18:45
@renovate renovate Bot added this pull request to the merge queue Jun 27, 2026
Merged via the queue into main with commit d3ae89d Jun 27, 2026
7 checks passed
@renovate renovate Bot deleted the renovate/python-dev-dependencies branch June 27, 2026 02:01
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.

1 participant