8000 [WIP] Python 3.10 by jrbourbeau · Pull Request #5778 · dask/distributed · GitHub
[go: up one dir, main page]

Skip to content

[WIP] Python 3.10 #5778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8", "3.9", "3.10"]
# Cherry-pick test modules to split the overall runtime roughly in half
partition: [ci1, not ci1]
include:
Expand Down Expand Up @@ -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' }}
Comment on lines +64 to +65
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now that 3.7 has been dropped from CI - does this mean that use of libunwind and stacktrace should be removed?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run: mamba install -c conda-forge -c defaults -c numba libunwind stacktrace

- name: Hack around https://github.com/ipython/ipython/issues/12197
Expand Down
56 changes: 56 additions & 0 deletions continuous_integration/environment-3.10.yaml
Original file line number Diff line number Diff line change
@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the env file for Python 3.9 should be updated to not include these git tips anymore

0