From e2ae29c2b4e700320a947fd7b77673bcd33f9f59 Mon Sep 17 00:00:00 2001 From: Chi-Sheng Liu Date: Fri, 27 Dec 2024 07:49:25 +0800 Subject: [PATCH] Pin pre-commit version Closes: ray-project/ray#48508 Signed-off-by: Chi-Sheng Liu --- python/requirements/lint-requirements.txt | 2 +- python/requirements_compiled.txt | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python/requirements/lint-requirements.txt b/python/requirements/lint-requirements.txt index 530e7141318d..32cd3564f168 100644 --- a/python/requirements/lint-requirements.txt +++ b/python/requirements/lint-requirements.txt @@ -1,6 +1,6 @@ clang-format==12.0.1 docutils -ruff==0.8.4 +pre-commit==3.5.0 mypy==1.7.0 mypy-extensions==1.0.0 types-PyYAML==6.0.12.2 diff --git a/python/requirements_compiled.txt b/python/requirements_compiled.txt index 6036f30dd33c..d502dc9cdb52 100644 --- a/python/requirements_compiled.txt +++ b/python/requirements_compiled.txt @@ -252,6 +252,8 @@ cffi==1.16.0 # pynacl # snowflake-connector-python # soundfile +cfgv==3.4.0 + # via pre-commit cfn-lint==0.83.3 # via moto charset-normalizer==3.3.2 @@ -723,6 +725,8 @@ humanfriendly==10.0 # coloredlogs hyperopt @ git+https://github.com/hyperopt/hyperopt.git@2504ee61419737e814e2dec2961b15d12775529c # via -r /ray/ci/../python/requirements/ml/tune-requirements.txt +identify==2.6.1 + # via pre-commit idna==3.7 # via # -r /ray/ci/../python/requirements/security-requirements.txt @@ -1125,6 +1129,8 @@ nevergrad==0.4.3.post7 # via -r /ray/ci/../python/requirements/ml/tune-requirements.txt ninja==1.11.1.1 # via deepspeed +nodeenv==1.9.1 + # via pre-commit notebook==6.5.7 # via jupyterlab notebook-shim==0.2.3 @@ -1433,6 +1439,8 @@ portalocker==2.8.2 # via # azure-cli-telemetry # msal-extensions +pre-commit==3.5.0 + # via -r /ray/ci/../python/requirements/lint-requirements.txt prometheus-client==0.19.0 # via # -r /ray/ci/../python/requirements.txt @@ -1740,6 +1748,7 @@ pyyaml==6.0.1 # myst-nb # myst-parser # optuna + # pre-commit # pymars # pytorch-lightning # ray @@ -1864,8 +1873,6 @@ ruamel-yaml==0.17.40 # yahp ruamel-yaml-clib==0.2.8 # via ruamel-yaml -ruff==0.8.4 - # via -r /ray/ci/../python/requirements/lint-requirements.txt s3fs==2023.5.0 # via -r /ray/ci/../python/requirements/ml/core-requirements.txt s3transfer==0.6.2 @@ -2363,6 +2370,7 @@ virtualenv==20.25.3 # via # -r /ray/ci/../python/requirements.txt # -r /ray/ci/../python/requirements/test-requirements.txt + # pre-commit # pytest-virtualenv # via vsphere-automation-sdk # via vsphere-automation-sdk