From: Oleg Broytman Date: Sun, 17 Sep 2023 16:20:24 +0000 (+0300) Subject: CI(pip): Ensure `pip` only if needed X-Git-Tag: 0.2.0.post2^0 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=19030052b06a536ea20e5e6e2b7ce1de8987421d CI(pip): 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. --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index b7367d1..7a4d53d 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -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" diff --git a/docs/news.rst b/docs/news.rst index a52a3ec..6b9995b 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -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) -------------------------------- diff --git a/m_librarian/__version__.py b/m_librarian/__version__.py index 2bad93d..c69e8fb 100644 --- a/m_librarian/__version__.py +++ b/m_librarian/__version__.py @@ -1 +1 @@ -__version__ = '0.2.0.post1' +__version__ = '0.2.0.post2'