Update Python 3 versions in tidy
Python 3.13 has been released a few months ago.
This commit is contained in:
parent
9a85104d67
commit
0f334ec5da
1 changed files with 10 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue