Skip to content

Commit

Permalink
CI(pip): Ensure pip only if needed
Browse files Browse the repository at this point in the history
This is to work around a problem in conda with Python 3.7 -
it brings in wrong version of `setuptools` incompatible with Python 3.7.
  • Loading branch information
phdru committed Sep 17, 2023
1 parent 45c83a7 commit 301c788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
run: |
python --version
python -m ensurepip
python -m pip || python -m ensurepip --default-pip --upgrade
python -m pip install --upgrade pip setuptools wheel
pip --version
pip install --upgrade virtualenv "tox >= 2.0, < 4"
Expand Down

0 comments on commit 301c788

Please sign in to comment.