Skip to content

Commit f292030

Browse files
authored
Merge pull request #470 from bioimage-io/dev
Fix conda recipe
2 parents bfd4543 + 8fb5b24 commit f292030

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193

194194
pip-build:
195195
name: Build with pip and publish to PyPI
196-
needs: test
196+
needs: [test, conda-build]
197197
runs-on: ubuntu-latest
198198
steps:
199199
- name: Check out the repository

conda-recipe/meta.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build:
1616
noarch: python
1717
number: 0
1818
entry_points:
19-
bioimageio = {{ pyproject['project']['scripts']['bioimageio'] }}
19+
- bioimageio = {{ pyproject['project']['scripts']['bioimageio'] }}
2020
script: python -m pip install --no-deps --ignore-installed .
2121

2222
requirements:
@@ -54,7 +54,6 @@ test:
5454
- tests
5555
requires:
5656
{% for dep in pyproject['project']['optional-dependencies']['dev'] %}
57-
- {{ dep.replace('torch', 'pytorch').lower().replace('_', '-') }}
5857
{% if dep.startswith('torch>=') %} # pip: torch -> conda: pytorch
5958
- py{{ dep.lower() }}
6059
{% else %}

0 commit comments

Comments
 (0)