From 507d46360097b830b0ad6a3c6f137c54a1b0ed8c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 27 Mar 2025 16:34:35 -0400 Subject: [PATCH] tox: sync black settings with run_tests We updated run_tests to use black-25, so update tox too. Change-Id: I7ee6471fbc78825bd2dbc8c1f8dab9dc10460852 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/463601 Tested-by: Mike Frysinger Reviewed-by: Scott Lee Commit-Queue: Mike Frysinger --- constraints.txt | 3 ++- run_tests.vpython3 | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/constraints.txt b/constraints.txt index 579c9ad8..0a29d56a 100644 --- a/constraints.txt +++ b/constraints.txt @@ -1 +1,2 @@ -black<24 +# NB: Keep in sync with run_tests.vpython3. +black<26 diff --git a/run_tests.vpython3 b/run_tests.vpython3 index e4c62c11..e6dfe7c6 100644 --- a/run_tests.vpython3 +++ b/run_tests.vpython3 @@ -54,6 +54,7 @@ wheel: < version: "version:21.4.0" > +# NB: Keep in sync with constraints.txt. wheel: < name: "infra/python/wheels/black-py3" version: "version:25.1.0"