]> git.phdru.name Git - m_librarian.git/commitdiff
CI(pip): Ensure `pip` only if needed 0.2.0.post2
authorOleg Broytman <phd@phdru.name>
Sun, 17 Sep 2023 16:20:24 +0000 (19:20 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 17 Sep 2023 16:20:24 +0000 (19:20 +0300)
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.

.github/workflows/run-tests.yaml
docs/news.rst
m_librarian/__version__.py

index b7367d170aa3bde0a99e1f8938a4aa0f4cad28f9..7a4d53d0bfc9adba53dd4f68713e10472bde63f7 100644 (file)
@@ -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"
index a52a3ecf41a900ef3701442618fa03aac284d3fc..6b9995b80079021afe1f40c427a007b2b92d676b 100644 (file)
@@ -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)
 --------------------------------
 
index 2bad93d6b2717e03af73e5e4b42f605d8ecc2a76..c69e8fb47504f3a8790e289429f745cccaf7c05e 100644 (file)
@@ -1 +1 @@
-__version__ = '0.2.0.post1'
+__version__ = '0.2.0.post2'