Skip to content

Commit 621ed20

Browse files
authored
Merge pull request #538 from sanders41/python-3.13
Add python 3.13
2 parents 27ac08f + 75e324d commit 621ed20

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/project_info.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ pub fn get_project_info(use_defaults: bool) -> Result<ProjectInfo> {
521521
default_or_prompt_string("Version".to_string(), Some(default_version), use_defaults)?;
522522
let python_version_default = match config.python_version {
523523
Some(python) => python,
524-
None => "3.12".to_string(),
524+
None => "3.13".to_string(),
525525
};
526526
let python_version = if use_defaults {
527527
python_version_default
@@ -551,8 +551,8 @@ pub fn get_project_info(use_defaults: bool) -> Result<ProjectInfo> {
551551
} else {
552552
let mut versions: Vec<String> = Vec::new();
553553

554-
// Up to 3.12
555-
for i in min..13 {
554+
// Up to 3.13
555+
for i in min..14 {
556556
versions.push(format!("3.{i}"));
557557
}
558558

@@ -564,6 +564,7 @@ pub fn get_project_info(use_defaults: bool) -> Result<ProjectInfo> {
564564
"3.10".to_string(),
565565
"3.11".to_string(),
566566
"3.12".to_string(),
567+
"3.13".to_string(),
567568
]
568569
}
569570
}

0 commit comments

Comments
 (0)