From f0c054253725fe119cbbf72d0806210026d46258 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Thu, 3 Feb 2022 12:58:32 -0600 Subject: [PATCH 1/3] Add Python 3.10 build to CI --- .github/workflows/tests.yaml | 2 +- continuous_integration/environment-3.10.yaml | 56 ++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 continuous_integration/environment-3.10.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2fa2c5bd177..03bc97e72d1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.7", "3.8", "3.9"] + python-version: ["3.7", "3.8", "3.9", "3.10"] # Cherry-pick test modules to split the overall runtime roughly in half partition: [ci1, not ci1] include: diff --git a/continuous_integration/environment-3.10.yaml b/continuous_integration/environment-3.10.yaml new file mode 100644 index 00000000000..a51b0722d9e --- /dev/null +++ b/continuous_integration/environment-3.10.yaml @@ -0,0 +1,56 @@ +name: dask-distributed +channels: + - conda-forge + - defaults +dependencies: + - python=3.10 + - packaging + - pip + - asyncssh + - bokeh + - click + - cloudpickle + - coverage<6.3 # https://github.com/nedbat/coveragepy/issues/1310 + - dask # overridden by git tip below + - filesystem-spec # overridden by git tip below + - h5py + - ipykernel + - ipywidgets + - jinja2 + - joblib # overridden by git tip below + - jupyter_client + - lz4 # Only tested here + - msgpack-python + - netcdf4 + - paramiko + - pre-commit + - prometheus_client + - psutil + - pynvml # Only tested here + - pytest + - pytest-cov + - pytest-faulthandler + - pytest-repeat + - pytest-rerunfailures + - pytest-timeout + - python-blosc # Only tested here + - python-snappy # Only tested here + - requests + - s3fs # overridden by git tip below + - scikit-learn + - scipy + - sortedcollections + - tblib + - toolz + - tornado=6 + - zict # overridden by git tip below + - zstandard + - pip: + - git+https://github.com/dask/dask + - git+https://github.com/dask/s3fs + - git+https://github.com/dask/zict + # FIXME https://github.com/dask/distributed/issues/5345 + # - git+https://github.com/intake/filesystem_spec + - git+https://github.com/joblib/joblib + - keras + - pytest-asyncio<0.14.0 # `pytest-asyncio<0.14.0` isn't available on conda-forge for Python 3.10 From 57d8cfe580b4bb8c7ebe9d1b7aa83f31db8d4032 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Thu, 3 Feb 2022 13:05:10 -0600 Subject: [PATCH 2/3] Stacktrace workaround --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 03bc97e72d1..f22cf818821 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -61,8 +61,8 @@ jobs: - name: Install stacktrace shell: bash -l {0} - # stacktrace for Python 3.8 has not been released at the moment of writing - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version < '3.8' }} + # stacktrace for Python 3.8+ has not been released at the moment of writing + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' }} run: mamba install -c conda-forge -c defaults -c numba libunwind stacktrace - name: Hack around https://github.com/ipython/ipython/issues/12197 From 90ed9565a7d858c109932fcb46637b6fd35af77a Mon Sep 17 00:00:00 2001 From: crusaderky Date: Wed, 9 Mar 2022 23:35:43 +0000 Subject: [PATCH 3/3] Update .github/workflows/tests.yaml --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f22cf818821..abb2ac92b01 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10"] # Cherry-pick test modules to split the overall runtime roughly in half partition: [ci1, not ci1] include: