From b18f5c0bf54747358ae0d04b865deda6ac9d8387 Mon Sep 17 00:00:00 2001 From: Ben Williams Date: Fri, 19 Jan 2024 13:18:00 +0000 Subject: [PATCH 1/2] Remove redundant setuptools constraint --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b9895416..24c8aa48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,3 @@ -[build-system] -requires = ["setuptools<57", "wheel==0.33.1"] -build-backend = "setuptools.build_meta" - [tool.isort] sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER" profile = "black" From 8a7a36252888d7f452473dc53e024680f2cb3902 Mon Sep 17 00:00:00 2001 From: Ben Williams Date: Fri, 19 Jan 2024 13:18:10 +0000 Subject: [PATCH 2/2] Limit Dask Distributed version to <2023.4 Avoid problems with serialising h5py objects in task graphs, introduced in 2023.4.0. See https://distributed.dask.org/en/stable/changelog.html#v2023-4-0 and https://github.com/dask/distributed/pull/7564 for details. --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index b66e355c..148173e6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,10 +30,10 @@ project-urls = [options] include_package_data = True install_requires = - dask[array,diagnostics,distributed] != 2021.3.* + dask[array,diagnostics,distributed]!=2021.3.*,<2023.4 h5py>=3.8 hdf5plugin>=4.0.1 - nexgen >= 0.7.2 + nexgen>=0.7.2 numpy pandas pint