diff --git a/CHANGELOG.md b/CHANGELOG.md index 81227615c..63e12e648 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - update `version.py` to use `importlib` & fix tagless installation #2255 (#2269) - Dependencies: - olefile and dxchange are optional dependencies, instead of required (#2209) + - dxchange minimum version set to 0.2.1 to fix #2256 (#2268) - improve `tqdm` notebook support (#2241) - Documentation: - Render the user showcase notebooks in the documentation (#2189) diff --git a/README.md b/README.md index 9a9149b86..37b375021 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ While building the CIL package we test with specific versions of dependencies. T |[zenodo_get](https://github.com/dvolgyes/zenodo_get)|>= 1.6|`zenodo_get>=1.6`| Downloads datasets from Zenodo, is used by `dataexample` to get data used in CIL-Demos |[AGPL-3.0](https://github.com/dvolgyes/zenodo_get?tab=AGPL-3.0-1-ov-file)| |--|--| **CT data readers** |--|--| |[olefile](https://github.com/decalage2/olefile)|>= 0.46|`olefile>=0.46`|Package to process Microsoft OLE2 files, used to read ZEISS data files.|[BSD-style (custom)](https://github.com/decalage2/olefile?tab=License-1-ov-file)| -|[dxchange](https://github.com/data-exchange/dxchange)||`dxchange`|Provides an interface with TomoPy for loading tomography data.|[BSD-style (custom)](https://github.com/data-exchange/dxchange?tab=License-1-ov-file)| +|[dxchange](https://github.com/data-exchange/dxchange)|>= 0.2.1|`dxchange>=0.2.1`|Provides an interface with TomoPy for loading tomography data.|[BSD-style (custom)](https://github.com/data-exchange/dxchange?tab=License-1-ov-file)| ### Docker diff --git a/pyproject.toml b/pyproject.toml index 4ebdcd101..6a811758f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ readme = "README.md" keywords = ["tomography", "optimisation"] dependencies = [ #"cil-data>=22", # missing from PyPI - "dxchange", + "dxchange>=0.2.1", # Minimal release for OLE dtype fix: https://github.com/data-exchange/dxchange/pull/124#issue-3828961474 "h5py", #"ipp==2021.12.*", # PyPI conflicts with conda package "numba", diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ebecb34f7..24d414883 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -22,7 +22,7 @@ test: - astra-toolbox 2.1 {{ 'cuda*' if environ.get('TESTS_FORCE_GPU', '') else 'py*' }} - matplotlib-base >=3.3 - zenodo_get >=1.6 - - dxchange + - dxchange >= 0.2.1 - olefile >=0.46 source_files: diff --git a/scripts/create_local_env_for_cil_development.sh b/scripts/create_local_env_for_cil_development.sh index 36c473b38..32515ff74 100755 --- a/scripts/create_local_env_for_cil_development.sh +++ b/scripts/create_local_env_for_cil_development.sh @@ -49,7 +49,7 @@ conda_args=(create --name="$name" python="$python" numpy="$numpy" cmake'>=3.16' - dxchange + dxchange'>=0.2.1' h5py llvm-openmp ipp'>=2021.10' diff --git a/scripts/requirements-test-windows.yml b/scripts/requirements-test-windows.yml index 616db62ee..2bfa84824 100644 --- a/scripts/requirements-test-windows.yml +++ b/scripts/requirements-test-windows.yml @@ -38,7 +38,7 @@ dependencies: - matplotlib-base >=3.3 - h5py - pillow - - dxchange + - dxchange >=0.2.1 - olefile >=0.46 - pywavelets - numba diff --git a/scripts/requirements-test.yml b/scripts/requirements-test.yml index 496c19b3a..a68116b2c 100644 --- a/scripts/requirements-test.yml +++ b/scripts/requirements-test.yml @@ -39,7 +39,7 @@ dependencies: - matplotlib-base >=3.3 - h5py - pillow - - dxchange + - dxchange >=0.2.1 - olefile >=0.46 - pywavelets - numba diff --git a/test.py b/test.py new file mode 100644 index 000000000..3d12d1df4 --- /dev/null +++ b/test.py @@ -0,0 +1,3 @@ +import cil + +print("CIL version:", cil.__version__) \ No newline at end of file