From b45c2a01b1ab3e79829b355e5afc16a8b6298b5f Mon Sep 17 00:00:00 2001 From: fynnbe Date: Fri, 19 Sep 2025 16:12:02 +0200 Subject: [PATCH 1/3] fix conda recipe --- conda-recipe/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 4275802a..01e14ba3 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -54,7 +54,6 @@ test: - tests requires: {% for dep in pyproject['project']['optional-dependencies']['dev'] %} - - {{ dep.replace('torch', 'pytorch').lower().replace('_', '-') }} {% if dep.startswith('torch>=') %} # pip: torch -> conda: pytorch - py{{ dep.lower() }} {% else %} From 200b26266723ddf44804fe6168ff08c48d030101 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Fri, 19 Sep 2025 16:12:48 +0200 Subject: [PATCH 2/3] only run pip build (incld pypi publishing) if conda build succeeds --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 207241fa..2d51c8f4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -193,7 +193,7 @@ jobs: pip-build: name: Build with pip and publish to PyPI - needs: test + needs: [test, conda-build] runs-on: ubuntu-latest steps: - name: Check out the repository From 8fb5b24ea1df1ebdefb46f867787c0c4cf3f153c Mon Sep 17 00:00:00 2001 From: fynnbe Date: Fri, 19 Sep 2025 16:38:32 +0200 Subject: [PATCH 3/3] fix bioimageio entry point --- conda-recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 01e14ba3..110d4b1d 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -16,7 +16,7 @@ build: noarch: python number: 0 entry_points: - bioimageio = {{ pyproject['project']['scripts']['bioimageio'] }} + - bioimageio = {{ pyproject['project']['scripts']['bioimageio'] }} script: python -m pip install --no-deps --ignore-installed . requirements: