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 56de30c commit 1903005
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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: 6 additions & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
News
====

Version 0.2.0.post1
Version 0.2.0.post2
-------------------

* 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.

Version 0.2.0.post1 (2023-07-13)
--------------------------------

Expand Down
2 changes: 1 addition & 1 deletion m_librarian/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.0.post1'
__version__ = '0.2.0.post2'

0 comments on commit 1903005

Please sign in to comment.