summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-02-08 21:00:20 +0100
committerGitHub <noreply@github.com>2022-02-08 20:00:20 +0000
commitffa58a20c675c5066f7b8135cbdfccee4b24071a (patch)
tree1ac1b59dabe1229d2d61eb875d10beb87876494b /.github/workflows
parent500e05ee50255d65d9a92bde7f6b4a49d252ce2a (diff)
downloadspack-ffa58a20c675c5066f7b8135cbdfccee4b24071a.tar.gz
spack-ffa58a20c675c5066f7b8135cbdfccee4b24071a.tar.bz2
spack-ffa58a20c675c5066f7b8135cbdfccee4b24071a.tar.xz
spack-ffa58a20c675c5066f7b8135cbdfccee4b24071a.zip
CI: pin the version of pathlib to v2.3.6 (#28832)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/unit_tests.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index 5935a81dd1..6f8af3291a 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -127,6 +127,10 @@ jobs:
if python -c 'import sys; sys.exit(not sys.version_info >= (3, 6))'; then
pip install --upgrade flake8 isort>=4.3.5 mypy>=0.900 black
fi
+ - name: Pin pathlib for Python 2.7
+ if: ${{ matrix.python-version == 2.7 }}
+ run: |
+ pip install -U pathlib2==2.3.6
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.