Skip to content

Commit

Permalink
fix pip install with no-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Jan 7, 2025
1 parent 27ea9aa commit de759d5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
env:
PIP_NO_DEPS: true
- name: Install py3.8 environment
if: matrix.python-version == '3.8'
uses: mamba-org/setup-micromamba@v1
Expand All @@ -50,6 +52,8 @@ jobs:
cache-environment: true
environment-file: dev/env-py38.yaml
post-cleanup: 'all'
env:
PIP_NO_DEPS: true
- name: additional setup
run: pip install --no-deps -e .
- name: Get Date
Expand Down Expand Up @@ -90,6 +94,8 @@ jobs:
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
env:
PIP_NO_DEPS: true
- name: Install py3.8 environment
if: matrix.python-version == '3.8'
uses: mamba-org/setup-micromamba@v1
Expand All @@ -98,6 +104,8 @@ jobs:
cache-environment: true
environment-file: dev/env-py38.yaml
post-cleanup: 'all'
env:
PIP_NO_DEPS: true
- name: additional setup spec
run: |
conda remove --yes --force bioimageio.spec || true # allow failure for cached env
Expand Down Expand Up @@ -154,6 +162,8 @@ jobs:
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
env:
PIP_NO_DEPS: true
- name: additional setup spec
run: |
conda remove --yes --force bioimageio.spec || true # allow failure for cached env
Expand Down Expand Up @@ -191,6 +201,8 @@ jobs:
create-args: >-
python=${{ matrix.python-version }}
post-cleanup: 'all'
env:
PIP_NO_DEPS: true
- name: additional setup
run: pip install --no-deps -e .
- name: Get Date
Expand Down
2 changes: 1 addition & 1 deletion dev/env-py38.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ dependencies:
- typing-extensions
- xarray
- pip:
- -e --no-deps ..
- -e ..
2 changes: 1 addition & 1 deletion dev/env-tf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ dependencies:
- typing-extensions
- xarray
- pip:
- -e --no-deps ..
- -e ..
2 changes: 1 addition & 1 deletion dev/env-wo-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ dependencies:
- typing-extensions
- xarray
- pip:
- -e --no-deps ..
- -e ..
2 changes: 1 addition & 1 deletion dev/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ dependencies:
- typing-extensions
- xarray
- pip:
- -e --no-deps ..
- -e ..

0 comments on commit de759d5

Please sign in to comment.