From: Oleg Broytman Date: Sun, 17 Sep 2023 15:39:54 +0000 (+0300) Subject: CI(pip): Ensure `pip` only if needed X-Git-Tag: 3.1.0.post6^0 X-Git-Url: https://git.phdru.name/mimedecode.git/?p=mimedecode.git;a=commitdiff_plain;h=c7205de2f10dfa0064b02e32bd811a377c1700c3 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 254ab17..8b35f64 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -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" diff --git a/ANNOUNCE b/ANNOUNCE index 7d6d59c..bf06ef9 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -30,6 +30,13 @@ everything else. This is how it could be done: mimedecode -t application/pdf -t application/postscript -t text/plain -b text/html -B 'image/*' -i '*/*' +Version 3.1.0.post6 (2023-09-17) + + 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 3.1.0.post5 (2023-07-07) Install all Python and PyPy versions from ``conda-forge``. diff --git a/mimedecode/__version__.py b/mimedecode/__version__.py index ba1fe46..78160ca 100644 --- a/mimedecode/__version__.py +++ b/mimedecode/__version__.py @@ -1,4 +1,4 @@ -__version__ = "3.1.0.post5" +__version__ = "3.1.0.post6" __author__ = "Oleg Broytman " __copyright__ = "Copyright (C) 2001-2023 PhiloSoft Design" __license__ = "GNU GPL"