From 888a83eb4b4f2ac6b7255be3410c3a74d3fedade Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Sun, 2 Feb 2025 22:49:23 +0100 Subject: [PATCH 1/4] add vpt-core --- recipes/vpt-core/meta.yaml | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 recipes/vpt-core/meta.yaml diff --git a/recipes/vpt-core/meta.yaml b/recipes/vpt-core/meta.yaml new file mode 100644 index 0000000000000..b2856a0bd2dd2 --- /dev/null +++ b/recipes/vpt-core/meta.yaml @@ -0,0 +1,57 @@ +{% set name = "vpt-core" %} +{% set version = "1.2.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/vpt_core-{{ version }}.tar.gz + sha256: 841b60ef5acfe15c6fb10444d08780129225aadf92f89ed9893c93e44ffe3f60 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.9,<3.11 + - poetry-core + - pip + run: + - python >=3.9,<3.11 + - boto3 >=1.17 + - fsspec >=2021.10.0 + - geopandas >=0.13.2 + - gcsfs >=2021.10.0 + - numpy >=1.24.3,<2.0.0 + - opencv >=4.6.0.66 + - pandas >=2.0.3,<3.0.0 + - psutil + - pyarrow >=8.0.0,<14.0.0 + - python-dotenv >=0.20.0 + - rasterio >=1.3.0,<1.3.6 + - s3fs >=2021.10.0 + - scikit-image >=0.19.3 + - shapely >=2.0.0 + - tenacity >=8.2.2 + - tqdm + +test: + imports: + - vpt_core + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/Vizgen/vpt-core + summary: Core components for the Vizgen Post-processing Tool + license: Apache-2.0 + license_file: LICENSE.md + +extra: + recipe-maintainers: + - nilchia From c8261bcc8637b0d7eb41e0e9f83271b59f3a2c67 Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Sun, 2 Feb 2025 22:51:48 +0100 Subject: [PATCH 2/4] update meta --- recipes/vpt-core/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/vpt-core/meta.yaml b/recipes/vpt-core/meta.yaml index b2856a0bd2dd2..b024a99ca105c 100644 --- a/recipes/vpt-core/meta.yaml +++ b/recipes/vpt-core/meta.yaml @@ -13,6 +13,7 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation number: 0 + run_exports: {{ pin_subpackage("vpt-core", max_pin="x.x.x") }} requirements: host: From 6c0954c64023667ad2acd050817760985306f31b Mon Sep 17 00:00:00 2001 From: Amirhossein <66441226+nilchia@users.noreply.github.com> Date: Tue, 4 Feb 2025 15:49:46 +0100 Subject: [PATCH 3/4] Update recipes/vpt-core/meta.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Björn Grüning --- recipes/vpt-core/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/vpt-core/meta.yaml b/recipes/vpt-core/meta.yaml index b024a99ca105c..9b8f48547b57c 100644 --- a/recipes/vpt-core/meta.yaml +++ b/recipes/vpt-core/meta.yaml @@ -17,11 +17,11 @@ build: requirements: host: - - python >=3.9,<3.11 + - python - poetry-core - pip run: - - python >=3.9,<3.11 + - python - boto3 >=1.17 - fsspec >=2021.10.0 - geopandas >=0.13.2 From a2e67c4b30e0b8b3966d1aa61fe96c1f4a88e9b6 Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Tue, 4 Feb 2025 16:04:46 +0100 Subject: [PATCH 4/4] update meta --- recipes/vpt-core/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/vpt-core/meta.yaml b/recipes/vpt-core/meta.yaml index 9b8f48547b57c..81e0f3a24bd55 100644 --- a/recipes/vpt-core/meta.yaml +++ b/recipes/vpt-core/meta.yaml @@ -38,6 +38,8 @@ requirements: - shapely >=2.0.0 - tenacity >=8.2.2 - tqdm + - pillow >=10.1 + - opencv-python-headless test: imports: