Skip to content

Commit

Permalink
Fix /condalock command
Browse files Browse the repository at this point in the history
It was broken by a release of `urllib 2.x` which was incompatible with
`cachecontrol`. A future release of `cachecontrol` may add this pin to
its own dependencies or otherwise fix the incompatibility, at which time
the hacky pin can be removed.
  • Loading branch information
mfisher87 committed May 10, 2023
1 parent 00084f4 commit 16ce7a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/conda-lock-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
python-version: '3.10'

# Install conda-lock library
# HACK: Temporarily pin urllib3<2 to resolve incompatibilities:
# https://github.com/ionrock/cachecontrol/issues/292
- name: Install conda-lock
run: pip install conda-lock
run: 'pip install conda-lock "urllib3<2"'

# Run "conda-lock" for linux-64 only
- name: Run conda-lock
Expand Down

0 comments on commit 16ce7a9

Please sign in to comment.