Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get dist-s1 into conda-forge #29084

Merged
merged 5 commits into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions recipes/dist-s1/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "dist-s1" %}
{% set version = "0.0.3" %}
{% set python_min = "3.12" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/dist_s1-{{ version }}.tar.gz
sha256: fb56ca1cd997be9521321a884ef34b1386c9b90fbef375a5b29d9267731fa032

build:
entry_points:
- dist-s1 = dist_s1.__main__:cli
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- setuptools >=64.0
- setuptools-scm >=6.2
- pip
run:
- python >={{ python_min }}
- numpy
- asf_search
- geopandas
- rasterio
- pyyaml
- dist_s1_enumerator

test:
imports:
- dist_s1
commands:
- pip check
- dist-s1 --help
requires:
- pip
- python {{ python_min }}
- pyyaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that @ocefpaf already merged this, but pyyaml and dist_s1_enumerator shouldn't be in the test/requires section if it's listed under requirements/run. If you were seeing that not having those was causing an error then something is wrong. Otherwise, please remove these in the next release to the feedstock.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! We will do.

- dist_s1_enumerator

about:
home: https://github.com/opera-adt/dist-s1
summary: The workflow to generate the DIST-S1 product
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- cmarshak
- taliboliver