Skip to content

Conversation

cgoldberg
Copy link
Member

@cgoldberg cgoldberg commented Aug 25, 2025

User description

💥 What does this PR do?

This PR updates the version of ruff to the latest.

🔄 Types of changes

  • Build/Dev

PR Type

Other


Description

  • Update ruff linter version from 0.12.3 to 0.12.10

  • Update binary URLs and SHA256 hashes for all platforms

  • Maintain consistent linting/formatting configuration


Diagram Walkthrough

flowchart LR
  A["ruff 0.12.3"] --> B["ruff 0.12.10"]
  B --> C["Updated binaries"]
  B --> D["Updated tox config"]
Loading

File Walkthrough

Relevant files
Dependencies
multitool.lock.json
Update ruff binary configuration                                                 

multitool.lock.json

  • Updated ruff binary URLs from version 0.12.3 to 0.12.10
  • Updated SHA256 hashes for all platform binaries (Linux ARM64/x86_64,
    macOS ARM64/x86_64, Windows x86_64)
+10/-10 
tox.ini
Update ruff version in tox config                                               

py/tox.ini

  • Updated ruff dependency version from 0.12.3 to 0.12.10 in linting
    environment
+1/-1     

@selenium-ci selenium-ci added the C-py Python Bindings label Aug 25, 2025
Copy link
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 Security concerns

Supply-chain integrity:
Ensure the updated URLs point to the official ruff releases and that the provided SHA256 hashes are verified against the upstream release checksums for each platform archive/zip.

⚡ Recommended focus areas for review

Integrity Hashes

Verify the new SHA256 hashes correspond exactly to the published 0.12.10 binaries for each platform to avoid supply-chain or install failures.

  "url": "https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-aarch64-unknown-linux-musl.tar.gz",
  "file": "ruff-aarch64-unknown-linux-musl/ruff",
  "sha256": "10b43a88fb948aaae538ec9f35e93b4433f144d0379fb3a67d88282595b969f7",
  "os": "linux",
  "cpu": "arm64"
},
{
  "kind": "archive",
  "url": "https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-x86_64-unknown-linux-musl.tar.gz",
  "file": "ruff-x86_64-unknown-linux-musl/ruff",
  "sha256": "dd4e5b8f81547a48975489913a80e0dce6be7f1c455912fe3a5bd5a1f5f1a35d",
  "os": "linux",
  "cpu": "x86_64"
},
{
  "kind": "archive",
  "url": "https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-aarch64-apple-darwin.tar.gz",
  "file": "ruff-aarch64-apple-darwin/ruff",
  "sha256": "72c6abf39f5e87c57faa2d191baf2582e437ff72cdc0f52b7c7e50f26d41b807",
  "os": "macos",
  "cpu": "arm64"
},
{
  "kind": "archive",
  "url": "https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-x86_64-apple-darwin.tar.gz",
  "file": "ruff-x86_64-apple-darwin/ruff",
  "sha256": "8619f277921b3e2e56d850c3e203fd4ef10b457bc50f93ab6fe85743eb324de6",
  "os": "macos",
  "cpu": "x86_64"
},
{
  "kind": "archive",
  "url": "https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-x86_64-pc-windows-msvc.zip",
  "file": "ruff-x86_64-pc-windows-msvc/ruff.exe",
  "sha256": "a639e4dee10cb2900bffa7165457766671c59c744ce6b61cc658c35ab33a91fd",
Tooling Compatibility

Confirm ruff 0.12.10 is compatible with the project’s config and CI runners; ensure no new rules cause unexpected failures when using --exit-non-zero-on-fix/format.

    ruff==0.12.10
commands =
    ruff check --fix --show-fixes --exit-non-zero-on-fix .
    ruff format --exit-non-zero-on-format .

Copy link
Contributor

PR Code Suggestions ✨

No code suggestions found for the PR.

@cgoldberg cgoldberg merged commit 58f2268 into SeleniumHQ:trunk Aug 25, 2025
20 checks passed
@cgoldberg cgoldberg deleted the py-bump-ruff branch August 25, 2025 15:13
This was referenced Oct 2, 2025
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.

2 participants