From 89b7e1ecb42b536e2ca90200ba5d762d4ff567f8 Mon Sep 17 00:00:00 2001 From: "lukas.gehrig" Date: Wed, 1 Nov 2023 15:14:57 +0100 Subject: [PATCH] refactored ska-sdp-dtml recipe --- ska-sdp-datamodels/build.sh | 3 --- ska-sdp-datamodels/meta.yaml | 9 +++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ska-sdp-datamodels/build.sh b/ska-sdp-datamodels/build.sh index 4347635..03aef02 100644 --- a/ska-sdp-datamodels/build.sh +++ b/ska-sdp-datamodels/build.sh @@ -3,7 +3,4 @@ # tar.gz has internal folder which contains the setup.py cd $INTERNAL_FOLDER_NAME -# poetry seems to make troubles with conda - remove it -rm pyproject.toml - $PYTHON -m pip install --no-deps . diff --git a/ska-sdp-datamodels/meta.yaml b/ska-sdp-datamodels/meta.yaml index 015191c..1425261 100644 --- a/ska-sdp-datamodels/meta.yaml +++ b/ska-sdp-datamodels/meta.yaml @@ -17,17 +17,18 @@ build: requirements: build: - python {{ python }} - - pip + - pip + - poetry-core >=1.0.0 host: - python {{ python }} - pip + - poetry-core run: - python {{ python }} - - pip - - astroplan >=0.8, <0.9 - - astropy >=5.1, <6.0 + - astroplan >=0.8 + - astropy >=5.1 - h5py >=3.7.0 - numpy >=1.21, !=1.24.0 - pandas >=1.5.0