From 44aa63330b03bdacab731af2333ff9bf70855de3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 14:38:01 +0200 Subject: [PATCH] Update most test/lint dependencies (#12713) --- .pre-commit-config.yaml | 6 +++--- requirements-tests.txt | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ba335db56..43686f51d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: args: [--fix=lf] - id: check-case-conflict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.4 # must match requirements-tests.txt + rev: v0.6.8 # must match requirements-tests.txt hooks: - id: ruff name: Run ruff on stubs, tests and scripts @@ -27,11 +27,11 @@ repos: - "--unsafe-fixes" files: '.*test_cases/.+\.py$' - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.4.2 # must match requirements-tests.txt + rev: 24.8.0 # must match requirements-tests.txt hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 7.1.0 # must match requirements-tests.txt + rev: 7.1.1 # must match requirements-tests.txt hooks: - id: flake8 additional_dependencies: diff --git a/requirements-tests.txt b/requirements-tests.txt index 576d7b51d..ae3e5c987 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,19 +1,19 @@ # Type checkers and other linters that we test our stubs against. These should always # be pinned to a specific version to make failure reproducible. See also the # "tool.typeshed" section in pyproject.toml for additional type checkers. -black==24.4.2 # must match .pre-commit-config.yaml -flake8==7.1.0 # must match .pre-commit-config.yaml +black==24.8.0 # must match .pre-commit-config.yaml +flake8==7.1.1 # must match .pre-commit-config.yaml flake8-noqa==1.4.0 # must match .pre-commit-config.yaml flake8-pyi==24.6.0 # must match .pre-commit-config.yaml -mypy==1.11.1 +mypy==1.11.2 pre-commit-hooks==4.6.0 # must match .pre-commit-config.yaml pyright==1.1.382.post1 # pytype can be installed on Windows, but requires building wheels, let's not do that on the CI pytype==2024.9.13; platform_system != "Windows" and python_version < "3.13" -ruff==0.5.4 # must match .pre-commit-config.yaml +ruff==0.6.8 # must match .pre-commit-config.yaml # Libraries used by our various scripts. -aiohttp==3.10.2 +aiohttp==3.10.8 # grpc install only fails on Windows, but let's avoid building sdist on other platforms # https://github.com/grpc/grpc/issues/36201 grpcio-tools; python_version < "3.13" # For grpc_tools.protoc @@ -24,6 +24,6 @@ pre-commit stubdefaulter==0.1.0 termcolor>=2.3 tomli==2.0.1 -tomlkit==0.13.0 +tomlkit==0.13.2 typing_extensions>=4.12.0rc1 -uv==0.2.27 +uv==0.4.17