From e191f7e1a4edf5952f91eb8ac16a59ffab17e193 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Thu, 9 Sep 2021 00:16:42 -0700 Subject: [PATCH] Install pickle5 in Python 3.7 CI jobs --- .github/workflows/tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 703e5ba947a..da1f714dee2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,6 +54,12 @@ jobs: shell: bash -l {0} run: conda config --show + - name: Optionally install pickle5 + shell: bash -l {0} + # pickle5 is used for out-of-band pickling support in Python 3.7 + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version < '3.8' }} + run: mamba install -c conda-forge pickle5 + - name: Install stacktrace shell: bash -l {0} # stacktrace for Python 3.8 has not been released at the moment of writing