Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,12 @@ rustpython-sre_engine = { path = "crates/sre_engine", version = "0.4.0" }
rustpython-wtf8 = { path = "crates/wtf8", version = "0.4.0" }
rustpython-doc = { path = "crates/doc", version = "0.4.0" }

ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
# Ruff tag 0.14.1 is based on commit 2bffef59665ce7d2630dfd72ee99846663660db8
# at the time of this capture. We use the commit hash to ensure reproducible builds.
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" }
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" }
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" }
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" }
Comment on lines +156 to +159
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify the revision hash in the ruff repository
# Check if the commit hash is accessible and what tag it belongs to

echo "=== Checking if commit hash exists in ruff repository ==="
git ls-remote https://github.com/astral-sh/ruff.git 2bffef59665ce7d2630dfd72ee99846663660db8 2>&1 | head -10

echo -e "\n=== Checking all tags pointing to or near this commit ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git | grep -E "(0\.14|2bffef)" | head -20

echo -e "\n=== Confirming tag 0.14.1 exists ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git refs/tags/0.14.1 2>&1

echo -e "\n=== Getting the commit hash of tag 0.14.1 ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git refs/tags/0.14.1 2>&1 | awk '{print $1}'

echo -e "\n=== Checking recent tags ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git | grep -E "^[a-f0-9]" | tail -20

Repository: RustPython/RustPython

Length of output: 186


🌐 Web query:

ruff commit 2bffef59665ce7d2630dfd72ee99846663660db8 tag 0.14.1

💡 Result:

Yes — the GitHub release tag 0.14.1 points to commit 2bffef59665ce7d2630dfd72ee99846663660db8 (short: 2bffef5). Released Oct 16, 2025. [1][2]

Sources:
[1] GitHub release page for 0.14.1.
[2] Commit view (Bump 0.14.1 — 2bffef5).


🌐 Web query:

astral-sh ruff 0.14.1 release tag commit

💡 Result:

The 0.14.1 release tag points to commit 2bffef59665ce7d2630dfd72ee99846663660db8 (released 2025-10-16). [1][2]

Sources:
[1] astral-sh/ruff Releases (0.14.1).
[2] Commit 2bffef59665ce7d2630dfd72ee99846663660db8 on astral-sh/ruff.


🌐 Web query:

ruff Python linter version 0.14.1 release notes

💡 Result:

Ruff v0.14.1 — Release notes (released Oct 16, 2025)

  • Preview features:
    • formatter: remove parentheses around multiple exception types on Python 3.14+.
    • flake8-bugbear: omit annotation in preview fix for B006.
    • flake8-logging-format: avoid dropping implicitly concatenated pieces in G004 fix.
    • pydoclint: add docstring-extraneous-parameter (DOC102).
    • pyupgrade: extend UP019 to detect typing_extensions.Text; fix UP046 false negative for TypeVar with default in non-PEP695 generic classes.
  • Bug fixes:
    • Fix false negatives in truthiness analysis for lambdas, generators, and f-strings.
    • Fix syntax-error false positives for escapes/quotes in f-strings and for parenthesized context managers.
    • FastAPI, flake8-pyi, and ruff-specific diagnostic fixes (several rule-specific fixes).
  • Rule changes:
    • Add AIR301 warning for airflow.datasets.DatasetEvent usage.
    • Mark B905 and B912 fixes as unsafe; more rules use DiagnosticTag (editor display changes).
  • Documentation:
    • Update Python compatibility to 3.14 in README; various docs updates and typos fixed.
  • Other:
    • Reduce binary size; improved error recovery for unclosed strings; install/download assets and installer commands included.

Sources: GitHub release notes for ruff 0.14.1. [1] Additional changelog mirror. [2]

References:
[1] GitHub — astral-sh/ruff: Release 0.14.1 (Oct 16, 2025).
[2] Ruff CHANGELOG / mirrors (0.14.1).


🌐 Web query:

ruff releases after 0.14.1 0.15 0.14.2 latest version 2025

💡 Result:

Ruff releases after 0.14.1 (Oct 16, 2025) in 2025:

  • 0.14.2 — Oct 23, 2025. [1]
  • 0.14.3 — Oct 30, 2025. [1]
  • 0.14.4 — Nov 06, 2025. [1]
  • 0.14.6 — Nov 21, 2025 (latest listed on the project releases page). [1]

There is no 0.15 release listed on the official releases page as of these entries. [1]

Source: Ruff releases (astral-sh/ruff) on GitHub. [1]


🌐 Web query:

astral-sh ruff latest release version December 2025

💡 Result:

The latest ruff release is v0.14.8 — released December 4, 2025. [1][2]

Sources:
[1] astral-sh/ruff Releases (GitHub).
[2] Astral — ruff / product site.


Update dependencies to the latest ruff patch version.

The revision hash 2bffef59665ce7d2630dfd72ee99846663660db8 correctly corresponds to tag 0.14.1. However, seven patch releases have been published since (0.14.2 through 0.14.8, released Dec 4, 2025). Consider updating to 0.14.8 or the latest stable patch to incorporate bug fixes and improvements from recent releases.


phf = { version = "0.13.1", default-features = false, features = ["macros"]}
ahash = "0.8.12"
Expand Down