Skip to content

Commit

Permalink
Merge pull request #272 from sanders41/maturin
Browse files Browse the repository at this point in the history
Update minimum required maturin version in pyproject.toml
  • Loading branch information
sanders41 authored Mar 21, 2024
2 parents 6d12910 + 99bf9ea commit d231573
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/project_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit d231573

Please sign in to comment.