Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2025

Updates the requirements on ruff to permit the latest version.

Release notes

Sourced from ruff's releases.

0.14.0

Release Notes

Released on 2025-10-07.

Breaking changes

  • Update default and latest Python versions for 3.14 (#20725)

Preview features

  • [flake8-bugbear] Include certain guaranteed-mutable expressions: tuples, generators, and assignment expressions (B006) (#20024)
  • [refurb] Add fixes for FURB101 and FURB103 (#20520)
  • [ruff] Extend FA102 with listed PEP 585-compatible APIs (#20659)

Bug fixes

  • [flake8-annotations] Fix return type annotations to handle shadowed builtin symbols (ANN201, ANN202, ANN204, ANN205, ANN206) (#20612)
  • [flynt] Fix f-string quoting for mixed quote joiners (FLY002) (#20662)
  • [isort] Fix inserting required imports before future imports (I002) (#20676)
  • [ruff] Handle argfile expansion errors gracefully (#20691)
  • [ruff] Skip RUF051 if else/elif block is present (#20705)
  • [ruff] Improve handling of intermixed comments inside from-imports (#20561)

Documentation

  • [flake8-comprehensions] Clarify fix safety documentation (C413) (#20640)

Contributors

Install ruff 0.14.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.0/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

</tr></table> 

... (truncated)

Changelog

Sourced from ruff's changelog.

0.14.0

Released on 2025-10-07.

Breaking changes

  • Update default and latest Python versions for 3.14 (#20725)

Preview features

  • [flake8-bugbear] Include certain guaranteed-mutable expressions: tuples, generators, and assignment expressions (B006) (#20024)
  • [refurb] Add fixes for FURB101 and FURB103 (#20520)
  • [ruff] Extend FA102 with listed PEP 585-compatible APIs (#20659)

Bug fixes

  • [flake8-annotations] Fix return type annotations to handle shadowed builtin symbols (ANN201, ANN202, ANN204, ANN205, ANN206) (#20612)
  • [flynt] Fix f-string quoting for mixed quote joiners (FLY002) (#20662)
  • [isort] Fix inserting required imports before future imports (I002) (#20676)
  • [ruff] Handle argfile expansion errors gracefully (#20691)
  • [ruff] Skip RUF051 if else/elif block is present (#20705)
  • [ruff] Improve handling of intermixed comments inside from-imports (#20561)

Documentation

  • [flake8-comprehensions] Clarify fix safety documentation (C413) (#20640)

Contributors

0.13.x

See changelogs/0.13.x

0.12.x

See changelogs/0.12.x

0.11.x

See changelogs/0.11.x

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 8, 2025
mkmeral
mkmeral previously approved these changes Dec 22, 2025
Copy link
Contributor

@mkmeral mkmeral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agentic review on version changes:

Summary

I've completed the review of PR #1004. Here are my findings:

SAFE TO MERGE

This is a straightforward Dependabot PR that updates the ruff version constraint from >=0.13.0,<0.14.0 to >=0.13.0,<0.15.0, allowing ruff 0.14.x.

Key Findings:

  1. Single File Changed: Only pyproject.toml modified (2 locations updated)

  2. Ruff 0.14.0 Breaking Changes: The only breaking change is Python 3.14 version defaults, which doesn't affect this project (targets Python 3.10-3.13)

  3. Quality Checks:

    • ✅ Ruff formatter: Passed (196 files formatted)
    • ✅ Ruff linter: Passed (all checks passed)
    • ⚠️ Mypy: 3 errors (but these are PRE-EXISTING, not caused by this PR)
  4. Pre-existing Issues Found: There are 3 redundant cast warnings in src/strands/types/_events.py (lines 270, 298, 316). I verified these exist in the main branch too, so they're not introduced by this PR.

  5. Bug Fixes in Ruff 0.14.0: Multiple improvements to annotation handling, f-string quoting, import ordering, and comment handling - all beneficial with no negative impact.

Recommendation:

Merge this PR immediately. The mypy errors should be fixed in a separate follow-up PR (they're minor code quality issues - redundant type casts that can be removed).

@yonib05
Copy link
Member

yonib05 commented Dec 23, 2025

@dependabot rebase

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.13.0...0.14.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.14.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/ruff-gte-0.13.0-and-lt-0.15.0 branch from 53f1976 to 5e08ae7 Compare December 23, 2025 14:39
@mkmeral mkmeral merged commit 033574b into main Dec 23, 2025
13 of 14 checks passed
@dependabot dependabot bot deleted the dependabot/pip/ruff-gte-0.13.0-and-lt-0.15.0 branch December 23, 2025 15:50
"pytest-asyncio>=1.0.0,<1.4.0",
"pytest-xdist>=3.0.0,<4.0.0",
"ruff>=0.13.0,<0.14.0",
"ruff>=0.13.0,<0.15.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to update the minimum to 0.14.0? I fear that we'll have some folks on 0.13 and some on 0.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants