Skip to content

Commit

Permalink
CI(GHActions): 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 263caa4 commit 252f53b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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 >= 3.15, < 4"
Expand Down
7 changes: 7 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ News
Development (master)
--------------------

CI:

- GHActions: Ensure ``pip`` only if needed

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.

3.3.2 (2023-08-08)
------------------

Expand Down

0 comments on commit 252f53b

Please sign in to comment.