Skip to content

Commit

Permalink
Update Python 3 versions in tidy
Browse files Browse the repository at this point in the history
Python 3.13 has been released a few months ago.
  • Loading branch information
Kobzol committed Jan 24, 2025
1 parent 9a85104 commit 0f334ec
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/tools/tidy/src/ext_tool_checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,16 @@ fn get_or_create_venv(venv_path: &Path, src_reqs_path: &Path) -> Result<PathBuf,
fn create_venv_at_path(path: &Path) -> Result<(), Error> {
/// Preferred python versions in order. Newest to oldest then current
/// development versions
const TRY_PY: &[&str] =
&["python3.11", "python3.10", "python3.9", "python3", "python", "python3.12", "python3.13"];
const TRY_PY: &[&str] = &[
"python3.13",
"python3.12",
"python3.11",
"python3.10",
"python3.9",
"python3",
"python",
"python3.14",
];

let mut sys_py = None;
let mut found = Vec::new();
Expand Down

0 comments on commit 0f334ec

Please sign in to comment.