diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index 2c69cc26..2c95da85 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "whey" requires = ["pdm-backend"] build-backend = "pdm.backend" {%- elif cookiecutter.project_type == "maturin" %} -requires = ["maturin>=0.12"] +requires = ["maturin>=0.12,<0.15"] build-backend = "maturin" {%- elif cookiecutter.project_type == "hatch" %} requires = ["hatchling"]