Skip to content

Commit

Permalink
Use tifffile version compatible with oldest supported imagecodecs
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Oct 21, 2021
1 parent 54bcf86 commit eb5272b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- os: ubuntu
PYTHON_VERSION: 3.7
OLDEST_SUPPORTED_VERSION: true
DEPENDENCIES: matplotlib==3.1.0 numpy==1.17.1 scipy==1.1 imagecodecs==2019.12.3 dask==2.1.0
DEPENDENCIES: matplotlib==3.1.0 numpy==1.17.1 scipy==1.1 imagecodecs==2020.1.31 tifffile==2020.2.16 dask==2.1.0
PIP_SELECTOR: '[all, tests, coverage]'
PYTEST_ARGS_COVERAGE: --cov=. --cov-report=xml
LABEL: -oldest
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
if: ${{ matrix.OLDEST_SUPPORTED_VERSION }}
run: |
pip install ${{ matrix.DEPENDENCIES }}
- name: Run test suite
run: |
pytest ${{ env.PYTEST_ARGS }} ${{ matrix.PYTEST_ARGS_COVERAGE }}
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
'packaging',
'python-dateutil>=2.5.0',
'ipyparallel',
'dask[array]>2.1.0',
'dask[array]>=2.1.0',
# fsspec is missing from dask dependencies for dask < 2021.3.1
'fsspec',
'scikit-image>=0.15',
Expand All @@ -70,7 +70,7 @@
# prettytable and ptable are API compatible
# prettytable is maintained and ptable is an unmaintained fork
'prettytable',
'tifffile>=2019.12.3',
'tifffile>=2020.2.16',
'numba',
# included in stdlib since v3.8, but this required version requires Python 3.10
# We can remove this requirement when the minimum supported version becomes Python 3.10
Expand All @@ -86,7 +86,7 @@
"gui-jupyter": ["hyperspy_gui_ipywidgets>=1.1.0"],
"gui-traitsui": ["hyperspy_gui_traitsui>=1.1.0"],
"mrcz": ["blosc>=1.5", 'mrcz>=0.3.6'],
"speed": ["cython", "imagecodecs"],
"speed": ["cython", "imagecodecs>=2020.1.31"],
"usid": ["pyUSID>=0.0.7", "sidpy"],
"scalebar": ["matplotlib-scalebar"],
# bug in pip: matplotib is ignored here because it is already present in
Expand Down

0 comments on commit eb5272b

Please sign in to comment.