diff --git a/src/tools/tidy/config/requirements.in b/src/tools/tidy/config/requirements.in index 1b2c38f2b5d30..d6a13667dad2a 100644 --- a/src/tools/tidy/config/requirements.in +++ b/src/tools/tidy/config/requirements.in @@ -1,10 +1,10 @@ # requirements.in This is the source file for our pinned version requirements # file "requirements.txt" To regenerate that file, pip-tools is required -# (`python -m pip install pip-tools==7.4.1`). Once installed, run: `pip-compile +# (`python -m pip install pip-tools==7.5.3`). Once installed, run: `pip-compile # --generate-hashes --strip-extras src/tools/tidy/config/requirements.in` # # Note: this generation step should be run with the oldest supported python -# version (currently 3.9) to ensure backward compatibility +# version (currently 3.10) to ensure backward compatibility ruff==0.4.9 clang-format==18.1.7 diff --git a/src/tools/tidy/config/requirements.txt b/src/tools/tidy/config/requirements.txt index 938179d5b3e02..ec487b61f9a20 100644 --- a/src/tools/tidy/config/requirements.txt +++ b/src/tools/tidy/config/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --generate-hashes --strip-extras src/tools/tidy/config/requirements.in diff --git a/src/tools/tidy/src/extra_checks/mod.rs b/src/tools/tidy/src/extra_checks/mod.rs index d358858b24598..7aed70766dcba 100644 --- a/src/tools/tidy/src/extra_checks/mod.rs +++ b/src/tools/tidy/src/extra_checks/mod.rs @@ -29,8 +29,8 @@ mod rustdoc_js; #[cfg(test)] mod tests; -const MIN_PY_REV: (u32, u32) = (3, 9); -const MIN_PY_REV_STR: &str = "≥3.9"; +const MIN_PY_REV: (u32, u32) = (3, 10); +const MIN_PY_REV_STR: &str = "≥3.10"; /// Path to find the python executable within a virtual environment #[cfg(target_os = "windows")] @@ -568,7 +568,6 @@ fn create_venv_at_path(path: &Path) -> Result<(), Error> { "python3.12", "python3.11", "python3.10", - "python3.9", "python3", "python", "python3.14",