From 99cc033e65b515aec7d42326595aa8ec6c857e07 Mon Sep 17 00:00:00 2001 From: phansel Date: Tue, 14 Jan 2025 00:32:06 -0500 Subject: [PATCH 1/2] remove ban on 3.13 --- build_envs/environment.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_envs/environment.yml b/build_envs/environment.yml index f292805..d8de4c6 100644 --- a/build_envs/environment.yml +++ b/build_envs/environment.yml @@ -3,7 +3,7 @@ name: wrf_python_build channels: - conda-forge dependencies: - - python>=3.9, <3.13 + - python>=3.9 - compilers - basemap - cartopy diff --git a/pyproject.toml b/pyproject.toml index 5047e19..6880ebb 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.9, <3.13" +requires-python = ">=3.9" keywords = [ "python", "wrf-python", "wrf", "forecast", "model", "weather research and forecasting", "interpolation", From fc29a51ab94146942dca75b8fa3585f7cdb18048 Mon Sep 17 00:00:00 2001 From: phansel Date: Tue, 14 Jan 2025 00:34:59 -0500 Subject: [PATCH 2/2] remove float_ --- src/wrf/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrf/constants.py b/src/wrf/constants.py index d660c62..ff9c0df 100644 --- a/src/wrf/constants.py +++ b/src/wrf/constants.py @@ -59,7 +59,7 @@ class ProjectionTypes(object): np.dtype(np.uint32): 4294967295, np.dtype(np.int64): Constants.DEFAULT_FILL_INT64, np.dtype(np.uint64): 18446744073709551614, - np.dtype(np.float_): Constants.DEFAULT_FILL_DOUBLE, + np.dtype(np.float64): Constants.DEFAULT_FILL_DOUBLE, np.dtype(np.float32): Constants.DEFAULT_FILL_FLOAT, np.dtype(np.float64): Constants.DEFAULT_FILL_DOUBLE }