This is an automated email from the ASF dual-hosted git repository.
RyanSkraba pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/main by this push:
new 80dba3a5f1 AVRO-4319: [py] Pin ruff to the version in uv.lock (#3918)
80dba3a5f1 is described below
commit 80dba3a5f11f04f62d7f612a26014c2fb08b4e40
Author: Ryan Skraba <[email protected]>
AuthorDate: Mon Aug 3 19:08:54 2026 +0200
AVRO-4319: [py] Pin ruff to the version in uv.lock (#3918)
---
lang/py/build.sh | 4 ++--
lang/py/uv.lock | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lang/py/build.sh b/lang/py/build.sh
index 9850548955..398d81d4d9 100755
--- a/lang/py/build.sh
+++ b/lang/py/build.sh
@@ -58,11 +58,11 @@ interop-data-test() {
}
lint() {
- uvx ruff check .
+ uv run ruff check .
}
format() {
- uvx ruff format --diff .
+ uv run ruff format --diff .
}
test_() {
diff --git a/lang/py/uv.lock b/lang/py/uv.lock
index 24bfbb9db2..d8d752c674 100644
--- a/lang/py/uv.lock
+++ b/lang/py/uv.lock
@@ -52,7 +52,7 @@ provides-extras = ["snappy", "zstandard"]
[package.metadata.requires-dev]
dev = [
{ name = "coverage", specifier = ">=7.13.4" },
- { name = "mypy", specifier = "<2.1.0" },
+ { name = "mypy", specifier = "<2.4.0" },
{ name = "python-snappy", specifier = ">=0.7.3" },
{ name = "ruff", specifier = ">=0.15.1" },
{ name = "setuptools", specifier = ">=82.0.0" },