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 diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 4275802a..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: @@ -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 %}