Skip to content

AVRO-4319: [py] Pin ruff to the version in uv.lock - #3918

Merged
RyanSkraba merged 1 commit into
apache:mainfrom
RyanSkraba:ryanskraba/AVRO-4319-python-lint
Aug 3, 2026
Merged

AVRO-4319: [py] Pin ruff to the version in uv.lock#3918
RyanSkraba merged 1 commit into
apache:mainfrom
RyanSkraba:ryanskraba/AVRO-4319-python-lint

Conversation

@RyanSkraba

Copy link
Copy Markdown
Contributor

What is the purpose of the change

The current command uvx ruff check . is shorthand for uv tool run ruff check . which runs standalone CLI commands (ignoring any pinned uv.lock files). The latest version of ruff in PyPI is used (at this time 0.16.1).

This PR changes the tools to uv run ruff check ., which uses the pinned version of ruff in uv.lock which is 0.15.1.

Unfortunately, ruff@0.15.1 => ruff@0.16.1 causes many lint errors, and we'll have to fix those before bumping.

Verifying this change

(Please pick one of the following options)

This change is a code cleanup without any test coverage.

It can be verified by running the ./build.sh clean test (and hopefully the GitHub Actions that no longer fail on main).

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

@RyanSkraba
RyanSkraba merged commit 80dba3a into apache:main Aug 3, 2026
22 checks passed
@RyanSkraba
RyanSkraba deleted the ryanskraba/AVRO-4319-python-lint branch August 3, 2026 17:08
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