From 6d82a24158766ba2424b1ee46ac69ca1953b3022 Mon Sep 17 00:00:00 2001 From: Zhe Feng Date: Tue, 25 Feb 2025 21:36:58 -0800 Subject: [PATCH 1/3] Add pyflextrkr v2025.02.1 recipe --- recipes/pyflextrkr/meta.yaml | 59 ++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 recipes/pyflextrkr/meta.yaml diff --git a/recipes/pyflextrkr/meta.yaml b/recipes/pyflextrkr/meta.yaml new file mode 100644 index 0000000000000..d85f8714798ac --- /dev/null +++ b/recipes/pyflextrkr/meta.yaml @@ -0,0 +1,59 @@ +{% set version = "2025.02.1" %} + +package: + name: "pyflextrkr" + version: "{{ version }}" + +source: + url: https://github.com/FlexTRKR/PyFLEXTRKR/archive/refs/tags/v{{ version }}.tar.gz + sha256: 9dd8a0db48911f0db6c08695fb355d1002e3a2903b5f7f4b63065554e48477d4 + +build: + noarch: python + number: 0 + script: "{{ PYTHON }} -m pip install . -vv" + +requirements: + host: + - python >=3.10 + - pip + run: + - python >=3.10 + - numpy >=1.17 + - matplotlib >=3 + - xarray >=0.14 + - pandas >=0.25 + - scipy >=1.4 + - netcdf4 >=1.5 + - pytz >=2019 + - cartopy >=0.17 + - dask >=2.9 + - scikit-image >=0.22 + - joblib >=0.14 + - ipython >=7.0 + - PyYAML >=5.4 + - astropy + - colorcet + - colormath + - seaborn + - scikit-learn + - ffmpeg + - xesmf + +test: + imports: + - pyflextrkr + +about: + home: https://github.com/FlexTRKR/PyFLEXTRKR + license: BSD-3-Clause + license_file: LICENSE.txt + summary: "A Python package for atmospheric feature tracking." + description: | + PyFLEXTRKR is a Python package for tracking atmospheric features such as clouds and storms. + doc_url: https://github.com/FlexTRKR/PyFLEXTRKR + dev_url: https://github.com/FlexTRKR/PyFLEXTRKR + +extra: + recipe-maintainers: + - feng045 \ No newline at end of file From 96b6d7277bcae4a625339d797cb4a0bb70acf96d Mon Sep 17 00:00:00 2001 From: Zhe Feng Date: Wed, 26 Feb 2025 09:56:22 -0800 Subject: [PATCH 2/3] Fix linter issues for pyflextrkr --- recipes/pyflextrkr/meta.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/recipes/pyflextrkr/meta.yaml b/recipes/pyflextrkr/meta.yaml index d85f8714798ac..fa5ef31d1361c 100644 --- a/recipes/pyflextrkr/meta.yaml +++ b/recipes/pyflextrkr/meta.yaml @@ -1,4 +1,5 @@ {% set version = "2025.02.1" %} +{% set python_min = "3.10" %} package: name: "pyflextrkr" @@ -15,12 +16,13 @@ build: requirements: host: - - python >=3.10 + - python {{ python_min }} - pip + - setuptools run: - - python >=3.10 + - python >={{ python_min }} - numpy >=1.17 - - matplotlib >=3 + - matplotlib-base >=3 - xarray >=0.14 - pandas >=0.25 - scipy >=1.4 @@ -32,7 +34,7 @@ requirements: - joblib >=0.14 - ipython >=7.0 - PyYAML >=5.4 - - astropy + - astropy-base - colorcet - colormath - seaborn @@ -56,4 +58,4 @@ about: extra: recipe-maintainers: - - feng045 \ No newline at end of file + - feng045 From 1ca4cb00ab49801f149f9fd2323776b67961b296 Mon Sep 17 00:00:00 2001 From: Zhe Feng Date: Wed, 26 Feb 2025 12:57:27 -0800 Subject: [PATCH 3/3] Set minimum Python version to 3.9 --- recipes/pyflextrkr/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/pyflextrkr/meta.yaml b/recipes/pyflextrkr/meta.yaml index fa5ef31d1361c..c375ce91076f7 100644 --- a/recipes/pyflextrkr/meta.yaml +++ b/recipes/pyflextrkr/meta.yaml @@ -1,5 +1,5 @@ {% set version = "2025.02.1" %} -{% set python_min = "3.10" %} +{% set python_min = "3.9" %} package: name: "pyflextrkr" @@ -43,6 +43,8 @@ requirements: - xesmf test: + requires: + - python {{ python_min }} imports: - pyflextrkr