diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f309a92e..88bd66fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/ci/environment-3.11.yml b/ci/environment-3.11.yml new file mode 100644 index 00000000..8c4147de --- /dev/null +++ b/ci/environment-3.11.yml @@ -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 diff --git a/versioneer.py b/versioneer.py index 722989c3..d38b5b79 100644 --- a/versioneer.py +++ b/versioneer.py @@ -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):