Skip to content

Commit

Permalink
End support for Python 3.8 in tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
DianQK committed Jun 14, 2024
1 parent 1199bd6 commit 71e85ba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/tools/tidy/src/ext_tool_checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ use std::io;
use std::path::{Path, PathBuf};
use std::process::Command;

/// Minimum python revision is 3.7 for ruff
const MIN_PY_REV: (u32, u32) = (3, 7);
const MIN_PY_REV_STR: &str = "≥3.7";
const MIN_PY_REV: (u32, u32) = (3, 9);
const MIN_PY_REV_STR: &str = "≥3.9";

/// Path to find the python executable within a virtual environment
#[cfg(target_os = "windows")]
Expand Down Expand Up @@ -227,8 +226,6 @@ fn create_venv_at_path(path: &Path) -> Result<(), Error> {
"python3.11",
"python3.10",
"python3.9",
"python3.8",
"python3.7",
"python3",
"python",
"python3.12",
Expand Down

0 comments on commit 71e85ba

Please sign in to comment.