From e4c1c2f8348c005b8de75a907af292762bcf4186 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Wed, 11 Feb 2026 11:16:29 -0500 Subject: [PATCH] build templated package against Numpy 2 by default --- cookiecutter.json | 5 ++--- {{ cookiecutter.package_name }}/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index d370543..7555846 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -13,10 +13,9 @@ "Other" ], "minimum_python_version": [ - "3.9", - "3.10", "3.11", - "3.12" + "3.12", + "3.13" ], "use_compiled_extensions": "n", "enable_dynamic_dev_versions": "n", diff --git a/{{ cookiecutter.package_name }}/pyproject.toml b/{{ cookiecutter.package_name }}/pyproject.toml index 35f7b0c..9a41ec3 100644 --- a/{{ cookiecutter.package_name }}/pyproject.toml +++ b/{{ cookiecutter.package_name }}/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "wheel", {%- if cookiecutter.use_compiled_extensions == 'y' %} "extension-helpers", - "numpy>=1.25", + "numpy>=2", "cython" {% endif -%} ]