Skip to content

Commit

Permalink
Add support for python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszo committed Nov 1, 2023
1 parent dbd93c8 commit a32b8dc
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- name: Checkout source
Expand Down
38 changes: 38 additions & 0 deletions ci/environment-3.11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: dask-cloudprovider-test
channels:
- defaults
- conda-forge
dependencies:
- python=3.11
- nomkl
- pip
# Dask
- dask
# testing / CI
- flake8
- ipywidgets
- pytest
- pytest-asyncio
- black >=20.8b1
- pyyaml
# dask dependencies
- cloudpickle
- toolz
- cytoolz
- numpy
- partd
# distributed dependencies
- click >=6.6
- msgpack-python
- psutil >=5.0
- six
- sortedcontainers !=2.0.0,!=2.0.1
- tblib
- tornado >=5
- zict >=0.1.3
# `event_loop_policy` change See https://github.com/dask/distributed/pull/4212
- pytest-asyncio >=0.14.0
- pytest-timeout
- pip:
- git+https://github.com/dask/dask.git@main
- git+https://github.com/dask/distributed@main
4 changes: 2 additions & 2 deletions versioneer.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ def get_config_from_root(root):
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at
# the top of versioneer.py for instructions on writing your setup.cfg .
setup_cfg = os.path.join(root, "setup.cfg")
parser = configparser.SafeConfigParser()
parser = configparser.ConfigParser()
with open(setup_cfg, "r") as f:
parser.readfp(f)
parser.read_file(f)
VCS = parser.get("versioneer", "VCS") # mandatory

def get(parser, name):
Expand Down

0 comments on commit a32b8dc

Please sign in to comment.