Skip to content

Commit

Permalink
fix: Install conda-lock from HEAD on GitHub (#32)
Browse files Browse the repository at this point in the history
* Use pipx to install conda-lock from HEAD given that conda-lock v2.5.7 has
  a major bug given the vendored Poetry solver that makes conda-lock unusable.
  This has already been fixed but a new post 2.5.7 release has yet to be made,
  so on recommendations from the developer team install conda-lock from GitHub
  HEAD.
  • Loading branch information
matthewfeickert authored Oct 3, 2024
1 parent 92b4092 commit 034009a
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip
python -m pip install --upgrade pip-tools
- name: Build lock file
Expand All @@ -65,7 +65,10 @@ jobs:
environment-name: conda-lock
create-args: >-
python=${{ matrix.python-version }}
conda-lock
- name: Install conda-lock from main
run: |
pipx install --force 'git+https://github.com/conda/conda-lock@main'
- name: Build conda-lock lock file
run: |
Expand Down Expand Up @@ -104,7 +107,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip
python -m pip install --upgrade pip-tools
- name: Build lock file
Expand All @@ -121,7 +124,10 @@ jobs:
environment-name: conda-lock
create-args: >-
python=${{ matrix.python-version }}
conda-lock
- name: Install conda-lock from main
run: |
pipx install --force 'git+https://github.com/conda/conda-lock@main'
- name: Build conda-lock lock file
run: |
Expand Down Expand Up @@ -160,7 +166,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip
python -m pip install --upgrade pip-tools
- name: Build lock file
Expand All @@ -177,7 +183,10 @@ jobs:
environment-name: conda-lock
create-args: >-
python=${{ matrix.python-version }}
conda-lock
- name: Install conda-lock from main
run: |
pipx install --force 'git+https://github.com/conda/conda-lock@main'
- name: Build conda-lock lock file
run: |
Expand Down

0 comments on commit 034009a

Please sign in to comment.