From 97643e7d0b0c54087a029e338878020bdcb7aa39 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Wed, 23 Oct 2024 17:44:00 -0400 Subject: [PATCH] BLD: Update python_version to >=3.9 in pyproject.toml Don't specify Python version in CMakeLists.txt Co-authored-by: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> --- CMakeLists.txt | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 430587f..265c22c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR) ) endif() -find_package(Python 3.8 REQUIRED COMPONENTS Development.Module NumPy) +find_package(Python COMPONENTS Interpreter Development.Module NumPy REQUIRED) # Ensure scikit-build modules if (NOT SKBUILD) diff --git a/pyproject.toml b/pyproject.toml index 4e4e081..5047e19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ maintainers = [ ] description = "Diagnostic and interpolation routines for WRF-ARW data." readme = "README.md" -requires-python = ">=3.7, <3.13" +requires-python = ">=3.9, <3.13" keywords = [ "python", "wrf-python", "wrf", "forecast", "model", "weather research and forecasting", "interpolation",