Skip to content

Commit 0f334ec

Browse files
committed
Update Python 3 versions in tidy
Python 3.13 has been released a few months ago.
1 parent 9a85104 commit 0f334ec

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/tools/tidy/src/ext_tool_checks.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,16 @@ fn get_or_create_venv(venv_path: &Path, src_reqs_path: &Path) -> Result<PathBuf,
324324
fn create_venv_at_path(path: &Path) -> Result<(), Error> {
325325
/// Preferred python versions in order. Newest to oldest then current
326326
/// development versions
327-
const TRY_PY: &[&str] =
328-
&["python3.11", "python3.10", "python3.9", "python3", "python", "python3.12", "python3.13"];
327+
const TRY_PY: &[&str] = &[
328+
"python3.13",
329+
"python3.12",
330+
"python3.11",
331+
"python3.10",
332+
"python3.9",
333+
"python3",
334+
"python",
335+
"python3.14",
336+
];
329337

330338
let mut sys_py = None;
331339
let mut found = Vec::new();

0 commit comments

Comments
 (0)