Bug#1044052: xarray-sentinel: FTBFS with pandas 2.0

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun Aug 13 17:17:55 BST 2023


On Sun, 13 Aug 2023 15:05:38 +0100 "Rebecca N. Palmer" wrote:
> xarray-sentinel fails to build with pandas 2.0, currently in experimental.
> 
> Build log:
> https://launchpad.net/~rebecca-palmer/+archive/ubuntu/pandas2p0/+build/26483387/+files/buildlog_ubuntu-mantic-amd64.xarray-sentinel_0.9.5+ds-1_BUILDING.txt.gz

 From the build log:

  =================================== FAILURES 
===================================
  _______________________________ test_get_fs_path 
_______________________________

      def test_get_fs_path() -> None:
          fs, path = sentinel1.get_fs_path(SLC_IW)

          assert isinstance(fs, fsspec.AbstractFileSystem)
          assert path == str(SLC_IW / "manifest.safe")

          fs2, path2 = sentinel1.get_fs_path(path, fs=fs)

          assert fs2 is fs
          assert path2 is path

          with pytest.raises(ValueError):
              sentinel1.get_fs_path("dummy*")

  >       with pytest.raises(ValueError):
  E       Failed: DID NOT RAISE <class 'ValueError'>

  ../../../tests/test_30_sentinel1_fsspec.py:68: Failed
  =============================== warnings summary 
===============================

This is not caused by pandas 2.0, it also happens in unstable.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list