Skip to content

⬆️ deps: Update Python dev dependencies - #82

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/python-dev-dependencies
Open

⬆️ deps: Update Python dev dependencies#82
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/python-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pre-commit >=4.6.1>=4.6.2 age confidence
pytest-rerunfailures >=16.4>=16.5 age confidence
ruff (source, changelog) >=0.16.1>=0.16.3 age confidence
ty (changelog) >=0.0.66>=0.0.71 age confidence

Release Notes

pre-commit/pre-commit (pre-commit)

v4.6.2

Compare Source

==================

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

v16.5

Compare Source

Features
++++++++

  • Add --max-suite-reruns option to cap the total number of reruns across
    the entire test suite. Once the limit is reached, no further reruns occur
    regardless of per-test --reruns or @pytest.mark.flaky settings.
    (#&#8203;298 <https://github.com/pytest-dev/pytest-rerunfailures/issues/298>_)

Bug Fixes
+++++++++

  • Create a new test class instance for each rerun. Previously the instance of
    the failed attempt was reused, so state stored on self leaked into the
    rerun and broke test isolation. Fixtures cached at class scope or higher are
    still not re-executed. (#&#8203;268 <https://github.com/pytest-dev/pytest-rerunfailures/issues/268>_)
  • Prevent a rerun when a fixture teardown raises an error matching
    --rerun-except. Previously only the error from the current test stage was
    considered, so a --rerun-except-matching error raised during teardown was
    ignored and the test was rerun anyway. (#&#8203;270 <https://github.com/pytest-dev/pytest-rerunfailures/issues/270>_)
astral-sh/ruff (ruff)

v0.16.3

Compare Source

Released on 2026-08-13.

Preview features
  • [pylint] Fix false negatives on negative numbers (PLR6104) (#​27251)
  • [pyupgrade] Add rule to replace while 1 with while True (UP048) (#​27190)
Bug fixes
  • [flake8-bandit] Also check keyword arguments (S602, S603, S607, S609) (#​27687)
  • [pylint] Allow continue in finally on Python 3.8 (#​27626)
  • [pylint] Fix PLE1307 false positive with bools (#​27651)
  • [pylint] Fix false positives and negatives with %b format character (PLE1300, PLE1307) (#​27560)
  • [pylint] Improve handling of concatenated strings (PLE1300) (#​27659)
Rule changes
  • [numpy] Make np.chararray autofix backwards-compatible (NPY201) (#​27527)
Performance
  • Enable PGO for Linux x86-64 Ruff releases (#​27570)
  • Enable PGO for Linux ARM64 Ruff releases (#​27574)
  • Enable PGO for Windows x86-64 Ruff releases (#​27573)
  • Enable PGO for macOS ARM64 Ruff releases (#​27572)
  • Reduce Expr size to 64 bytes (#​27591)
CLI
  • Hyperlink rule codes in ruff check --statistics output (#​27646)
Documentation
  • [ruff] Also suggest asyncio.TaskGroup (RUF006) (#​27461)
Other changes
Contributors

v0.16.2

Compare Source

Released on 2026-08-06.

Bug fixes
  • [flake8-pyi] Avoid false positives on singledispatch functions (PYI041) (#​27335)
Server
  • Register formatting capabilities dynamically to exclude TOML files (#​27332)
Contributors
astral-sh/ty (ty)

v0.0.71

Compare Source

Released on 2026-08-12.

Library support
  • Respect third-party keyword-only fields before Python 3.10 (#​27699)
Diagnostics
  • Diagnose invalid __getattribute__ calls (#​27506)
  • Validate boolean conversion in comprehension filters (#​27641)
  • Validate unpacked callable argument shapes (#​27516)
Core type checking
  • Avoid introducing boolean literals when narrowing integers (#​27698)
  • Fix truthiness inference for subclassable known classes (#​27638)
  • Handle class objects that may be descriptors (#​26687)
  • Infer type variables through nominal type[...] parameters (#​27689)
  • Model exception flow with operation checkpoints (#​27471)
  • Preserve constrained TypeVar types when slicing (#​27645)
  • Preserve enum attributes on Self and bounded type variables (#​27644)
  • Preserve enum exhaustiveness with custom _missing_ methods (#​27700)
  • Preserve literal-string origin in comparison narrowing (#​27582)
  • Resolve generic type aliases subscripted inside type[] (#​27663)
  • Restrict equality impossibility to static bounds (#​27655)
Performance
  • Avoid deriving sequents for type variables with concrete bounds (#​27587)
Contributors

v0.0.70

Compare Source

Released on 2026-08-10.

LSP server
  • Enable and downrank auto-import completions from stub-only modules (#​27433)
  • Fix signature help at end of file (#​27622)
  • Normalize type labels in structured docstrings (#​26923)
  • Preserve typing-only completion ranking in TYPE_CHECKING blocks (#​27549)
CLI
  • Avoid deadlock when scheduling watch checks (#​27605)
Diagnostics
  • Add an opt-in unsound-return-statement lint (#​27561)
  • Add an opt-in unsound-yield lint (#​27593)
  • Diagnose invalid __getattr__ calls (#​27502)
  • Diagnose invalid descriptor __get__ calls (#​27400)
Core type checking
  • Consider object members in protocol comparisons (#​27532)
  • Exclude quantified constraints from semantic type walks (#​27613)
  • Expand Generator aliases when evaluating return, send, and yield types (#​27577)
  • Infer precise TypedDict key-membership truthiness (#​27579)
  • Infer variance through type[T] (#​27534)
  • Preserve contextual inference for declarations in loops (#​27594)
  • Recognize overlapping NewType types and their underlying values (#​27522)
  • Require ClassVar declarations for protocol members (#​27530)
  • Stabilize recursive gradual type alias materialization (#​27563)
  • Support Annotated inside type[...] (#​27629)
  • Validate augmented assignment stores (#​27545)
Contributors

v0.0.69

Compare Source

Released on 2026-08-06.

Core type checking
  • isinstance narrowing for generic classes is now more gradual by default (#​27308)

    This new behavior is more similar to what other major type checkers do. For example:

    def f(xs: object):
        if isinstance(xs, list):
            reveal_type(xs)  # now: `list[Unknown]`, before: `Top[list[Unknown]]`

    Note: you might consider enabling analysis.strict-generic-narrowing
    if you prefer the strictly correct behavior.

Contributors

v0.0.68

Compare Source

Released on 2026-08-05.

Diagnostics
  • Preserve property getter call errors (#​27509)
  • Simplify numeric tower displays (e.g., float over int | float) (#​27406)
  • Suggest closing open TypedDict types for Mapping compatibility (#​27512)
Core type checking
  • Avoid double inference of Unpack operands in Union (#​27525)
  • Fix panic from mismatched OR-pattern bindings (#​27533)
Contributors

v0.0.67

Compare Source

Released on 2026-08-05.

LSP server
  • Fix unused hints for OR-pattern captures (#​27438)
  • Index match-pattern bindings as symbols (#​27260)
  • Retain typing-only symbols in explicit completions (#​27435)
Diagnostics
  • Preserve called types in intersection diagnostics (#​27475)
  • Suppress unimported-reveal diagnostics in stub files and if TYPE_CHECKING blocks (#​27508)
Configuration
  • Remove deprecated src.root setting in favor of environment.root (#​27456)
Core type checking
  • Check property compatibility when matching class objects to protocols (#​27402)
  • Fix constructor calls on narrowed type-variable intersections (#​27493)
  • Fix specialization cycle with deferred TypeVar defaults (#​27453)
  • Infer generic TypedDicts from unpacked TypedDicts (#​27439)
  • Infer generic TypedDicts through synthesized constructor signatures (#​27436)
  • Normalize unpacked callable signatures for assignability (#​27450)
  • Preserve class type parameters through generic decorators (#​27442)
  • Preserve generic class type variables in constructor inference (#​27340)
  • Preserve return constraints for object-variadic callables (#​27431)
  • Preserve return constraints for top callables (#​27446)
  • Recover generic constructor types from failing overloads (#​27460)
  • Reject Self with incompatible explicit receiver annotations (#​27454)
  • Reject unhashable objects for Hashable protocols (#​27441)
  • Reject unsupported dataclass_transform parameters (#​27458)
  • Restore bottom callable subtyping for gradual prefixes (#​27519)
  • Top-materialize is_dataclass type guard (#​27455)
  • Validate constructor calls on unbounded type variables (#​27449)
Performance
  • Avoid exponential slowdown copying narrowed TypedDict unions (#​27492)
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 August 10, 2026 00:42
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch 3 times, most recently from d7dcae7 to 037ed2d Compare August 14, 2026 04:31
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch from 037ed2d to ec6e1bd Compare August 14, 2026 16:49
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.

0 participants