dask / dask-image

Distributed image processing
http://image.dask.org/en/latest/
BSD 3-Clause "New" or "Revised" License
210 stars 47 forks source link

pandas >=2.0.0 requires dask >=2023.2.0 #312

Closed GenevieveBuckley closed 1 year ago

GenevieveBuckley commented 1 year ago

There is an incompatibility between pandas 2.0.0 and dask 2022.1.1, causing our CI to break.

It's recommended to upgrade Dask to >=2023.2.0 in order to use pandas >=2.0.0 https://github.com/dask/dask/issues/10164

To avoid this problem affecting dask-image, we should pin/upgrade/etc...

  1. the dependencies for dask-image in the pyproject.toml
  2. and also check the CI environment.yml files

Here's a copy-paste of the relevant section of the CI log

Details (click to expand) ``` 2023-04-17T03:04:25.7343567Z Running setup.py develop for dask-image 2023-04-17T03:04:26.1248592Z Successfully installed dask-image-0+untagged.1.g5b16ff7 2023-04-17T03:04:27.2898310Z # packages in environment at /usr/share/miniconda3/envs/dask-image-testenv: 2023-04-17T03:04:27.2899254Z # 2023-04-17T03:04:27.2900491Z # Name Version Build Channel 2023-04-17T03:04:27.2901242Z _libgcc_mutex 0.1 conda_forge conda-forge 2023-04-17T03:04:27.2901820Z _openmp_mutex 4.5 2_gnu conda-forge 2023-04-17T03:04:27.2902501Z aom 3.5.0 h27087fc_0 conda-forge 2023-04-17T03:04:27.2903771Z attrs 22.2.0 pyh71513ae_0 conda-forge 2023-04-17T03:04:27.2904195Z blosc 1.21.3 hafa529b_0 conda-forge 2023-04-17T03:04:27.2904657Z bokeh 2.4.3 pyhd8ed1ab_3 conda-forge 2023-04-17T03:04:27.2905035Z brotli 1.0.9 h166bdaf_8 conda-forge 2023-04-17T03:04:27.2905401Z brotli-bin 1.0.9 h166bdaf_8 conda-forge 2023-04-17T03:04:27.2905770Z brunsli 0.1 h9c3ff4c_0 conda-forge 2023-04-17T03:04:27.2906127Z bzip2 1.0.8 h7f98852_4 conda-forge 2023-04-17T03:04:27.2906691Z c-ares 1.18.1 h7f98852_0 conda-forge 2023-04-17T03:04:27.2907044Z c-blosc2 2.8.0 hf91038e_1 conda-forge 2023-04-17T03:04:27.2907419Z ca-certificates 2022.12.7 ha878542_0 conda-forge 2023-04-17T03:04:27.2907797Z certifi 2022.12.7 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2908156Z cfitsio 4.2.0 hd9d235c_0 conda-forge 2023-04-17T03:04:27.2908513Z charls 2.4.1 hcb278e6_0 conda-forge 2023-04-17T03:04:27.2908941Z click 8.0.4 py39hf3d152e_0 conda-forge 2023-04-17T03:04:27.2909367Z cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2909827Z contourpy 1.0.7 py39h4b4f3f3_0 conda-forge 2023-04-17T03:04:27.2910275Z coverage 6.3 py39h3811e60_0 conda-forge 2023-04-17T03:04:27.2910671Z cycler 0.11.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2911268Z cytoolz 0.12.0 py39hb9d737c_1 conda-forge 2023-04-17T03:04:27.2911726Z dask 2022.1.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2912174Z dask-core 2022.1.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2912871Z dask-image 0+untagged.1.g5b16ff7 dev_0 2023-04-17T03:04:27.2913389Z dav1d 1.0.0 h166bdaf_1 conda-forge 2023-04-17T03:04:27.2913838Z distributed 2022.1.1 py39hf3d152e_0 conda-forge 2023-04-17T03:04:27.2914242Z flake8 4.0.1 pyhd8ed1ab_2 conda-forge 2023-04-17T03:04:27.2914692Z fonttools 4.39.3 py39h72bdee0_0 conda-forge 2023-04-17T03:04:27.2915166Z freetype 2.12.1 hca18f0e_1 conda-forge 2023-04-17T03:04:27.2915650Z fsspec 2023.4.0 pyh1a96a4e_0 conda-forge 2023-04-17T03:04:27.2916038Z giflib 5.2.1 h0b41bf4_3 conda-forge 2023-04-17T03:04:27.2916472Z heapdict 1.0.1 py_0 conda-forge 2023-04-17T03:04:27.2916924Z imagecodecs 2023.1.23 py39h9e8eca3_2 conda-forge 2023-04-17T03:04:27.2917341Z imageio 2.27.0 pyh24c5eb1_0 conda-forge 2023-04-17T03:04:27.2917826Z importlib-metadata 6.4.1 pyha770c72_0 conda-forge 2023-04-17T03:04:27.2918299Z importlib-resources 5.12.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2918870Z importlib_resources 5.12.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2919351Z iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2919831Z jinja2 3.1.2 pyhd8ed1ab_1 conda-forge 2023-04-17T03:04:27.2920269Z jxrlib 1.1 h7f98852_2 conda-forge 2023-04-17T03:04:27.2920651Z keyutils 1.6.1 h166bdaf_0 conda-forge 2023-04-17T03:04:27.2921107Z kiwisolver 1.4.4 py39hf939315_1 conda-forge 2023-04-17T03:04:27.2921555Z krb5 1.20.1 h81ceb04_0 conda-forge 2023-04-17T03:04:27.2921969Z lcms2 2.15 haa2dc70_1 conda-forge 2023-04-17T03:04:27.2922402Z ld_impl_linux-64 2.40 h41732ed_0 conda-forge 2023-04-17T03:04:27.2922837Z lerc 4.0.0 h27087fc_0 conda-forge 2023-04-17T03:04:27.2923320Z libaec 1.0.6 hcb278e6_1 conda-forge 2023-04-17T03:04:27.2923707Z libavif 0.11.1 h5cdd6b5_0 conda-forge 2023-04-17T03:04:27.2924187Z libblas 3.9.0 16_linux64_openblas conda-forge 2023-04-17T03:04:27.2924647Z libbrotlicommon 1.0.9 h166bdaf_8 conda-forge 2023-04-17T03:04:27.2925069Z libbrotlidec 1.0.9 h166bdaf_8 conda-forge 2023-04-17T03:04:27.2925558Z libbrotlienc 1.0.9 h166bdaf_8 conda-forge 2023-04-17T03:04:27.2926090Z libcblas 3.9.0 16_linux64_openblas conda-forge 2023-04-17T03:04:27.2926547Z libcurl 8.0.1 h588be90_0 conda-forge 2023-04-17T03:04:27.2926999Z libdeflate 1.18 h0b41bf4_0 conda-forge 2023-04-17T03:04:27.2927390Z libedit 3.1.20191231 he28a2e2_2 conda-forge 2023-04-17T03:04:27.2927827Z libev 4.33 h516909a_1 conda-forge 2023-04-17T03:04:27.2928311Z libffi 3.4.2 h7f98852_5 conda-forge 2023-04-17T03:04:27.2928693Z libgcc-ng 12.2.0 h65d4601_19 conda-forge 2023-04-17T03:04:27.2929152Z libgfortran-ng 12.2.0 h69a702a_19 conda-forge 2023-04-17T03:04:27.2929596Z libgfortran5 12.2.0 h337968e_19 conda-forge 2023-04-17T03:04:27.2929981Z libgomp 12.2.0 h65d4601_19 conda-forge 2023-04-17T03:04:27.2930452Z libjpeg-turbo 2.1.5.1 h0b41bf4_0 conda-forge 2023-04-17T03:04:27.2931093Z liblapack 3.9.0 16_linux64_openblas conda-forge 2023-04-17T03:04:27.2931550Z libnghttp2 1.52.0 h61bc06f_0 conda-forge 2023-04-17T03:04:27.2931939Z libnsl 2.0.0 h7f98852_0 conda-forge 2023-04-17T03:04:27.2932451Z libopenblas 0.3.21 pthreads_h78a6416_3 conda-forge 2023-04-17T03:04:27.2932916Z libpng 1.6.39 h753d276_0 conda-forge 2023-04-17T03:04:27.2933301Z libsqlite 3.40.0 h753d276_0 conda-forge 2023-04-17T03:04:27.2963877Z libssh2 1.10.0 hf14f497_3 conda-forge 2023-04-17T03:04:27.2964517Z libstdcxx-ng 12.2.0 h46fd767_19 conda-forge 2023-04-17T03:04:27.2964888Z libtiff 4.5.0 ha587672_6 conda-forge 2023-04-17T03:04:27.2965255Z libuuid 2.38.1 h0b41bf4_0 conda-forge 2023-04-17T03:04:27.2965651Z libwebp-base 1.3.0 h0b41bf4_0 conda-forge 2023-04-17T03:04:27.2966024Z libxcb 1.13 h7f98852_1004 conda-forge 2023-04-17T03:04:27.2966376Z libzlib 1.2.13 h166bdaf_4 conda-forge 2023-04-17T03:04:27.2966977Z libzopfli 1.0.3 h9c3ff4c_0 conda-forge 2023-04-17T03:04:27.2967356Z locket 1.0.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2967709Z lz4-c 1.9.4 hcb278e6_0 conda-forge 2023-04-17T03:04:27.2968077Z markupsafe 2.1.2 py39h72bdee0_0 conda-forge 2023-04-17T03:04:27.2968461Z matplotlib-base 3.7.1 py39he190548_0 conda-forge 2023-04-17T03:04:27.2968836Z mccabe 0.6.1 py_1 conda-forge 2023-04-17T03:04:27.2969201Z msgpack-python 1.0.5 py39h4b4f3f3_0 conda-forge 2023-04-17T03:04:27.2969591Z munkres 1.1.4 pyh9f0ad1d_0 conda-forge 2023-04-17T03:04:27.2969952Z ncurses 6.3 h27087fc_1 conda-forge 2023-04-17T03:04:27.2970300Z networkx 3.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2970674Z numpy 1.22.1 py39h91f2184_0 conda-forge 2023-04-17T03:04:27.2971035Z openjpeg 2.5.0 hfec8fc6_2 conda-forge 2023-04-17T03:04:27.2971385Z openssl 3.1.0 h0b41bf4_0 conda-forge 2023-04-17T03:04:27.2971752Z packaging 23.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2972126Z pandas 2.0.0 py39h2ad29b5_0 conda-forge 2023-04-17T03:04:27.2972490Z partd 1.4.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2972845Z pillow 9.5.0 py39h7207d5c_0 conda-forge 2023-04-17T03:04:27.2973209Z pims 0.5 pyh9f0ad1d_1 conda-forge 2023-04-17T03:04:27.2973566Z pip 22.0.2 pyhd8ed1ab_1 conda-forge 2023-04-17T03:04:27.2973948Z pluggy 1.0.0 pyhd8ed1ab_5 conda-forge 2023-04-17T03:04:27.2974313Z psutil 5.9.4 py39hb9d737c_0 conda-forge 2023-04-17T03:04:27.2974684Z pthread-stubs 0.4 h36c2ea0_1001 conda-forge 2023-04-17T03:04:27.2975053Z py 1.11.0 pyh6c4a22f_0 conda-forge 2023-04-17T03:04:27.2975408Z pycodestyle 2.8.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2975781Z pyflakes 2.4.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2976154Z pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2976512Z pytest 6.2.5 py39hf3d152e_3 conda-forge 2023-04-17T03:04:27.2977017Z pytest-cov 4.0.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2977397Z pytest-flake8 1.0.7 pyhd3deb0d_0 conda-forge 2023-04-17T03:04:27.2977773Z python 3.9.16 h2782a2a_0_cpython conda-forge 2023-04-17T03:04:27.2978153Z python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2978544Z python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2978919Z python_abi 3.9 3_cp39 conda-forge 2023-04-17T03:04:27.2979267Z pytz 2023.3 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2979636Z pywavelets 1.4.1 py39h389d5f1_0 conda-forge 2023-04-17T03:04:27.2980008Z pyyaml 6.0 py39hb9d737c_5 conda-forge 2023-04-17T03:04:27.2980353Z readline 8.2 h8228510_1 conda-forge 2023-04-17T03:04:27.2980723Z scikit-image 0.19.1 py39hde0f152_0 conda-forge 2023-04-17T03:04:27.2981094Z scipy 1.7.3 py39hddc5342_1 conda-forge 2023-04-17T03:04:27.2981457Z setuptools 59.8.0 py39hf3d152e_1 conda-forge 2023-04-17T03:04:27.2981812Z six 1.16.0 pyh6c4a22f_0 conda-forge 2023-04-17T03:04:27.2982264Z slicerator 1.0.0 py_0 conda-forge 2023-04-17T03:04:27.2982629Z snappy 1.1.10 h9fff704_0 conda-forge 2023-04-17T03:04:27.2982996Z sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2983373Z tblib 1.7.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2983735Z tifffile 2023.4.12 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2984080Z tk 8.6.12 h27826a3_0 conda-forge 2023-04-17T03:04:27.2984436Z toml 0.10.2 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2984796Z tomli 2.0.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2985155Z toolz 0.12.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2985505Z tornado 6.1 py39hb9d737c_3 conda-forge 2023-04-17T03:04:27.2985882Z typing_extensions 4.5.0 pyha770c72_0 conda-forge 2023-04-17T03:04:27.2986424Z tzdata 2023c h71feb2d_0 conda-forge 2023-04-17T03:04:27.2986786Z unicodedata2 15.0.0 py39hb9d737c_0 conda-forge 2023-04-17T03:04:27.2987158Z wheel 0.37.1 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2987521Z xorg-libxau 1.0.9 h7f98852_0 conda-forge 2023-04-17T03:04:27.2987892Z xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge 2023-04-17T03:04:27.2988251Z xz 5.2.6 h166bdaf_0 conda-forge 2023-04-17T03:04:27.2988599Z yaml 0.2.5 h7f98852_2 conda-forge 2023-04-17T03:04:27.2988944Z zfp 1.0.0 h27087fc_3 conda-forge 2023-04-17T03:04:27.2989285Z zict 2.2.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2989646Z zipp 3.15.0 pyhd8ed1ab_0 conda-forge 2023-04-17T03:04:27.2990001Z zlib-ng 2.0.7 h0b41bf4_0 conda-forge 2023-04-17T03:04:27.2990353Z zstd 1.5.2 h3eb15da_6 conda-forge 2023-04-17T03:04:27.3780824Z ##[group]Run pytest -v --cov=dask_image --cov-report lcov 2023-04-17T03:04:27.3781232Z pytest -v --cov=dask_image --cov-report lcov 2023-04-17T03:04:27.3838649Z shell: /usr/bin/bash -l {0} 2023-04-17T03:04:27.3838881Z env: 2023-04-17T03:04:27.3839070Z INPUT_RUN_POST: true 2023-04-17T03:04:27.3839490Z CONDA: /usr/share/miniconda3 2023-04-17T03:04:27.3839753Z CONDA_PKGS_DIR: /home/runner/conda_pkgs_dir 2023-04-17T03:04:27.3839981Z ##[endgroup] 2023-04-17T03:04:28.1616582Z ============================= test session starts ============================== 2023-04-17T03:04:28.1617776Z platform linux -- Python 3.9.16, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/share/miniconda3/envs/dask-image-testenv/bin/python 2023-04-17T03:04:28.1618296Z cachedir: .pytest_cache 2023-04-17T03:04:28.1618850Z rootdir: /home/runner/work/dask-image/dask-image, configfile: pytest.ini 2023-04-17T03:04:28.1619346Z plugins: flake8-1.0.7, cov-4.0.0 2023-04-17T03:04:31.9127471Z collecting ... collected 1915 items / 3 errors / 4 skipped / 1908 selected 2023-04-17T03:04:31.9128157Z 2023-04-17T03:04:31.9129716Z ==================================== ERRORS ==================================== 2023-04-17T03:04:31.9130222Z _____ ERROR collecting tests/test_dask_image/test_ndmeasure/test__utils.py _____ 2023-04-17T03:04:31.9130883Z tests/test_dask_image/test_ndmeasure/test__utils.py:7: in 2023-04-17T03:04:31.9132392Z import dask_image.ndmeasure._utils 2023-04-17T03:04:31.9132941Z dask_image/ndmeasure/__init__.py:11: in 2023-04-17T03:04:31.9133406Z import dask.dataframe as dd 2023-04-17T03:04:31.9134313Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/__init__.py:3: in 2023-04-17T03:04:31.9186379Z from . import backends, dispatch, rolling 2023-04-17T03:04:31.9187071Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/backends.py:20: in 2023-04-17T03:04:31.9187563Z from .core import DataFrame, Index, Scalar, Series, _Frame 2023-04-17T03:04:31.9188165Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/core.py:52: in 2023-04-17T03:04:31.9188620Z from .accessor import DatetimeAccessor, StringAccessor 2023-04-17T03:04:31.9189230Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/accessor.py:109: in 2023-04-17T03:04:31.9189667Z class StringAccessor(Accessor): 2023-04-17T03:04:31.9190266Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/accessor.py:121: in StringAccessor 2023-04-17T03:04:31.9190731Z @derived_from(pd.core.strings.StringMethods) 2023-04-17T03:04:31.9191256Z E AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods' 2023-04-17T03:04:31.9191703Z ______ ERROR collecting tests/test_dask_image/test_ndmeasure/test_core.py ______ 2023-04-17T03:04:31.9192097Z tests/test_dask_image/test_ndmeasure/test_core.py:14: in 2023-04-17T03:04:31.9192423Z import dask_image.ndmeasure 2023-04-17T03:04:31.9192726Z dask_image/ndmeasure/__init__.py:11: in 2023-04-17T03:04:31.9193010Z import dask.dataframe as dd 2023-04-17T03:04:31.9193567Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/__init__.py:3: in 2023-04-17T03:04:31.9194005Z from . import backends, dispatch, rolling 2023-04-17T03:04:31.9194581Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/backends.py:20: in 2023-04-17T03:04:31.9195032Z from .core import DataFrame, Index, Scalar, Series, _Frame 2023-04-17T03:04:31.9195621Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/core.py:52: in 2023-04-17T03:04:31.9196079Z from .accessor import DatetimeAccessor, StringAccessor 2023-04-17T03:04:31.9196963Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/accessor.py:109: in 2023-04-17T03:04:31.9197399Z class StringAccessor(Accessor): 2023-04-17T03:04:31.9197993Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/accessor.py:121: in StringAccessor 2023-04-17T03:04:31.9198469Z @derived_from(pd.core.strings.StringMethods) 2023-04-17T03:04:31.9199134Z E AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods' 2023-04-17T03:04:31.9199587Z __ ERROR collecting tests/test_dask_image/test_ndmeasure/test_find_objects.py __ 2023-04-17T03:04:31.9200006Z tests/test_dask_image/test_ndmeasure/test_find_objects.py:1: in 2023-04-17T03:04:31.9200407Z from dask_image.ndmeasure._utils import _labeled_comprehension_delayed 2023-04-17T03:04:31.9200778Z dask_image/ndmeasure/__init__.py:11: in 2023-04-17T03:04:31.9201078Z import dask.dataframe as dd 2023-04-17T03:04:31.9201636Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/__init__.py:3: in 2023-04-17T03:04:31.9202051Z from . import backends, dispatch, rolling 2023-04-17T03:04:31.9202618Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/backends.py:20: in 2023-04-17T03:04:31.9203083Z from .core import DataFrame, Index, Scalar, Series, _Frame 2023-04-17T03:04:31.9203662Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/core.py:52: in 2023-04-17T03:04:31.9204120Z from .accessor import DatetimeAccessor, StringAccessor 2023-04-17T03:04:31.9204724Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/accessor.py:109: in 2023-04-17T03:04:31.9205143Z class StringAccessor(Accessor): 2023-04-17T03:04:31.9205716Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/dask/dataframe/accessor.py:121: in StringAccessor 2023-04-17T03:04:31.9206237Z @derived_from(pd.core.strings.StringMethods) 2023-04-17T03:04:31.9206688Z E AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods' 2023-04-17T03:04:31.9207021Z =============================== warnings summary =============================== 2023-04-17T03:04:31.9207492Z ../../../../../usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/pims/cine.py:29 2023-04-17T03:04:31.9208361Z /usr/share/miniconda3/envs/dask-image-testenv/lib/python3.9/site-packages/pims/cine.py:29: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working 2023-04-17T03:04:31.9208910Z from collections import Iterable 2023-04-17T03:04:31.9209068Z 2023-04-17T03:04:31.9209223Z tests/test_dask_image/test_ndinterp/test_affine_transformation.py:294 2023-04-17T03:04:31.9210178Z /home/runner/work/dask-image/dask-image/tests/test_dask_image/test_ndinterp/test_affine_transformation.py:294: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html 2023-04-17T03:04:31.9210770Z @pytest.mark.timeout(15) 2023-04-17T03:04:31.9210919Z 2023-04-17T03:04:31.9211089Z tests/test_dask_image/test_ndinterp/test_affine_transformation.py:312 2023-04-17T03:04:31.9212000Z /home/runner/work/dask-image/dask-image/tests/test_dask_image/test_ndinterp/test_affine_transformation.py:312: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html 2023-04-17T03:04:31.9212590Z @pytest.mark.timeout(15) 2023-04-17T03:04:31.9212738Z 2023-04-17T03:04:31.9212961Z -- Docs: https://docs.pytest.org/en/stable/warnings.html 2023-04-17T03:04:31.9213155Z 2023-04-17T03:04:31.9213404Z ---------- coverage: platform linux, python 3.9.16-final-0 ----------- 2023-04-17T03:04:31.9213716Z Coverage LCOV written to file coverage.lcov 2023-04-17T03:04:31.9213995Z 2023-04-17T03:04:31.9214140Z =========================== short test summary info ============================ 2023-04-17T03:04:31.9214567Z ERROR tests/test_dask_image/test_ndmeasure/test__utils.py - AttributeError: m... 2023-04-17T03:04:31.9215032Z ERROR tests/test_dask_image/test_ndmeasure/test_core.py - AttributeError: mod... 2023-04-17T03:04:31.9215579Z ERROR tests/test_dask_image/test_ndmeasure/test_find_objects.py - AttributeEr... 2023-04-17T03:04:31.9215931Z !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! 2023-04-17T03:04:31.9216249Z =================== 4 skipped, 3 warnings, 3 errors in 3.77s =================== 2023-04-17T03:04:32.1016253Z ##[error]Process completed with exit code 2. 2023-04-17T03:04:32.1085845Z Post job cleanup. ```

Originally posted by @GenevieveBuckley in https://github.com/dask/dask-image/issues/311#issuecomment-1513946913

GenevieveBuckley commented 1 year ago

Here's a recent CI workflow from the main branch (I triggered this manually from the Actions tab). We see the same problem with the versions in the CI. https://github.com/dask/dask-image/actions/runs/4738096466/jobs/8411587073

charlesbluca commented 1 year ago

Noting that this should be resolved with https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/451, which makes it so Dask packages prior to 2023.2.0 now have a pandas<2 constraint

GenevieveBuckley commented 1 year ago

Thank you @charlesbluca