Skip to content

⬆️ deps: Update Python dev dependencies#76

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

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

Conversation

@renovate

@renovate renovate Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest-rerunfailures >=16.3>=16.4 age confidence
ruff (source, changelog) >=0.15.18>=0.15.21 age confidence
ty (changelog) >=0.0.51>=0.0.58 age confidence

Release Notes

pytest-dev/pytest-rerunfailures (pytest-rerunfailures)

v16.4

Compare Source

Breaking changes
++++++++++++++++

  • Drop support for pytest 8.1. Minimum pytest version is now 8.2.

Features
++++++++

  • Add support for pytest 9.1.

  • Rerun tests with failed subtests. This feature is only available on pytest 9.0
    and later. The pytest-subtests plugin is not supported.
    Fixes #&#8203;315 <https://github.com/pytest-dev/pytest-rerunfailures/issues/315>_.

  • Add --reruns-delay-backoff-factor option (and the matching
    reruns_delay_backoff_factor marker kwarg / ini setting) to grow the rerun
    delay after each attempt for an exponential backoff. The delay before the
    n-th re-run is reruns_delay * reruns_delay_backoff_factor ** (n - 1).
    The default factor is 1.0, so existing behaviour (a constant delay) is
    unchanged.

astral-sh/ruff (ruff)

v0.15.21

Compare Source

Released on 2026-07-09.

Preview features
  • Add --add-ignore for adding ruff:ignore comments (#​26346)
  • [flake8-comprehensions] Drop C409 tuple comprehension preview behavior (#​25707)
  • Avoid whitespace normalization when formatting comments (#​26455)
  • [pyupgrade] Lint and fix use of deprecated abc decorators (UP051) (#​26417)
Bug fixes
  • Refine non-empty f-string detection (#​26526)
  • Detect syntax errors in individual notebook cells (#​26419)
  • [flake8-implicit-str-concat] Fix ISC003 autofix incorrectly stripping + from comments (#​26554)
Rule changes
  • [flake8-executable] Mark EXE004 fix as unsafe (#​26033)
  • [flake8-pyi] Mark PYI061 fixes as unsafe in Python files (#​26533)
  • [pydocstyle] Skip overload-with-docstring in stub files (D418) (#​26318)
Performance
  • Avoid per-token source index visitor calls (#​26506)
  • Cache parenthesized expression boundaries in the formatter (#​26344)
  • Improve performance of rendering edits in preview mode (#​26565)
  • Inline fits_element in formatter (#​26429)
  • Inline formatter printing hot paths (#​26504)
  • Lazily create builtin bindings (#​26510)
  • Skip empty trivia scans in the source indexer (#​26507)
  • Use ICF for macOS release builds (#​25780)
Formatter
  • Add --extend-exclude to ruff format (#​26372)
Documentation
  • Add "How does Ruff's import sorting compare to isort?" link to README (#​26530)
  • Fix Mozilla Firefox repository link in README (#​26537)
  • [flake8-bandit] Fix misleading docstring for mako-templates (S702) (#​26432)
  • [ruff] Fix non-triggering example for if-key-in-dict-del (RUF051) (#​26433)
Contributors

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.58

Compare Source

Released on 2026-07-09.

Bug fixes
  • Fix protocol matching for class variables (#​26669)
  • Fix reflected binary dispatch for runtime classes (#​26623)
  • Support cached properties in protocols (#​26681)
Diagnostics
  • Add assignability context to upper-bound diagnostics (#​26645)
  • Add blanket ignore comment rule (#​26426)
  • Improve protocol attribute diagnostic context (#​26644)
Library support
  • Pydantic: Add fields from mixin classes (#​26631)
  • Pydantic: Add support for validate_by_{name,alias} (#​26598)
  • Pydantic: Add support for validation_alias (#​26629)
  • Pydantic: Fix float conversion in unions (#​26655)
  • Pydantic: Ignore private attributes (#​26630)
  • Pydantic: Make BaseSettings fields optional by default (#​26628)
  • Pydantic: Recognize frozen models via config (#​26648)
  • Pydantic: Support dict model configurations (#​26632)
  • Pydantic: Support validation of RootModel fields (#​26634)
  • Pydantic: Understand ellipsis as providing no default value (#​26637)
Core type checking
  • Gate membership narrowing on __contains__ semantics (#​25964)
  • Handle callable classes in solver (#​26090)
  • Infer ModuleType.__doc__ as str in the presence of a docstring (#​26505)
  • Infer metaclass-declared attributes on class instances (#​26512)
  • Respect user stub overlays during module resolution (#​26123)
Performance
  • Avoid allocating decorated parameter names (#​26666)
  • Optimize TypeCollector (#​26593)
Contributors

v0.0.57

Compare Source

Released on 2026-07-07.

Bug fixes
  • Detect async generator expressions containing await (#​26568)
  • Preserve exhaustive gradual match patterns (#​26523)
LSP server
  • Fix selection range behavior for strings (#​26532)
  • Recognize that dedent ends doctest block when parsing docstrings for signature help (#​26552)
  • Render reStructuredText hyperlinks as Markdown in hover docstrings (#​25907)
  • Update __slots__ string when renaming an attribute (#​26438)
Documentation
  • Document PYTHONPATH support in module discovery (#​3889)
Library support
  • Add support for extra arguments in Pydantic model constructors (#​26520)
  • Detect Pydantic model configurations (#​26573)
  • Distinguish lax and strict mode for Pydantic models (#​26587)
Core type checking
  • Fix subtyping/assignability for @property protocol members (#​25332)
  • Narrow isinstance against intersections containing invalid member (#​26545)
  • Narrow match subjects through structural patterns (#​25942)
  • Preserve generic functools.partial signatures (#​24583)
  • Preserve generic variadic callback semantics (#​26521)
  • Preserve invariant materialization on generic specializations (#​26578)
  • Preserve literal enum member names (#​26592)
Performance
  • Avoid exponential invariant constraint paths (#​26538)
  • Batch parallel jobs when finding references (#​26534)
  • Build module names directly in CompactString (#​26546)
  • Elide default use-def state (#​26398)
  • Reuse owned buffers for string literals (#​26547)
  • Use ICF for macOS release builds (#​3709)
  • Use cached class literal lookup for is_subclass_of (#​26585)
Contributors

v0.0.56

Compare Source

Released on 2026-07-01.

Bug fixes
  • Avoid MRO cycle when collecting NamedTuple fields (#​26464)
  • Model int and str enum value normalization (#​26349)
  • Prefer reflected operators by runtime class (#​26434, #​26474)
CLI
  • Exit with status 130 when interrupted (#​26465)
Performance
  • Avoid exponential OR-pattern reachability (#​26481)
  • Reduce bound typevar identity overhead (#​26396)
Core type checking
  • Infer generic class pattern capture types (#​26479)
  • Narrow exact tuples through sequence patterns (#​26424)
  • Recognize inherited enum member constructors (#​26410)
  • Respect return-context inference when filtering overloads (#​26454)
  • Sync vendored typeshed stubs (#​26501). Typeshed diff
Contributors

v0.0.55

Compare Source

Released on 2026-06-26.

LSP server
  • Render full diagnostics in color (#​26384)
Documentation
  • Document colored diagnostic output (#​3858)
Performance
  • Improve vendored filesystem concurrency (#​26408)
  • Optimize enum comparisons in equality evaluation (#​26340)
  • Remove redundant semantic index shrinks (#​26392)
  • Use never-change durability for one-shot checks (#​26359)
Core type checking
  • Correct enum alias detection and scalar constructors (#​26345)
  • Fix structural pattern binding inference (#​26411)
  • Improve variable-length tuple slicing (#​26151)
  • Infer class and mapping pattern bindings (#​25941)
  • Infer empty collection constructors from later uses (#​26389)
  • Skip shadowed submodule bindings during import analysis (#​26385)
  • Sync vendored typeshed stubs (#​26406). Typeshed diff
  • Track literal iterable emptiness for reachability (#​25222)
  • Validate positional class patterns against __match_args__ (#​26195)
Contributors

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 added the dependencies label Jul 6, 2026
@renovate renovate Bot enabled auto-merge July 6, 2026 00:34
@renovate renovate Bot force-pushed the renovate/python-dev-dependencies branch 2 times, most recently from 6be7ebd to cda6e40 Compare July 10, 2026 20:36
@renovate renovate Bot force-pushed the renovate/python-dev-dependencies branch from cda6e40 to 196b1eb Compare July 11, 2026 06:27
@renovate renovate Bot added this pull request to the merge queue Jul 11, 2026
Merged via the queue into main with commit 5aa5a9c Jul 11, 2026
7 checks passed
@renovate renovate Bot deleted the renovate/python-dev-dependencies branch July 11, 2026 14: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.

1 participant