From 99bf9ea4f87d42d8cf0deba65f82cafbf4cc6e89 Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Thu, 21 Mar 2024 12:47:38 -0400 Subject: [PATCH] Update minimum required maturin version in pyproject.toml --- src/project_generator.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/project_generator.rs b/src/project_generator.rs index 1b21faa..6cde2d7 100644 --- a/src/project_generator.rs +++ b/src/project_generator.rs @@ -333,7 +333,7 @@ fn create_pyproject_toml(project_info: &ProjectInfo) -> String { let license_text = license_str(&project_info.license); let mut pyproject = match &project_info.project_manager { ProjectManager::Maturin => r#"[build-system] -requires = ["maturin>=1.0.0"] +requires = ["maturin>=1.5,<2.0"] build-backend = "maturin" [project] @@ -1479,7 +1479,7 @@ ignore=[ let pyupgrade_version = &project_info.min_python_version.replace(['.', '^'], ""); let expected = format!( r#"[build-system] -requires = ["maturin>=1.0.0"] +requires = ["maturin>=1.5,<2.0"] build-backend = "maturin" [project] @@ -1567,7 +1567,7 @@ ignore=[ let pyupgrade_version = &project_info.min_python_version.replace(['.', '^'], ""); let expected = format!( r#"[build-system] -requires = ["maturin>=1.0.0"] +requires = ["maturin>=1.5,<2.0"] build-backend = "maturin" [project] @@ -1655,7 +1655,7 @@ ignore=[ let pyupgrade_version = &project_info.min_python_version.replace(['.', '^'], ""); let expected = format!( r#"[build-system] -requires = ["maturin>=1.0.0"] +requires = ["maturin>=1.5,<2.0"] build-backend = "maturin" [project]