Bug#1053941: python-geopandas: test failure with pandas 2.1

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Oct 14 18:14:54 BST 2023


Control: tags -1 upstream
Control: forwarded -1 https://github.com/geopandas/geopandas/pull/2994

On Sat, 14 Oct 2023 18:00:53 +0100 "Rebecca N. Palmer" wrote:
> python-geopandas fails its autopkgtest with pandas 2.1, currently in 
> experimental.
> 
> Log:
> https://ci.debian.net/data/autopkgtest/unstable/amd64/p/python-geopandas/38997837/log.gz
> 
> A common source of failures is new pandas FutureWarnings in tests that 
> are set to fail on unexpected warnings.

The comment for the test in question suggests a known issues in pandas 
2.1.0:

  if not Version(pd.__version__) == Version("2.1.0"):
      # https://github.com/geopandas/geopandas/issues/2948 - bug in 
pandas 2.1.0

The workaround will need to be applied to 2.1.1 as well and likely all 
other 2.1.x releases.

I'll likely just add an xfail for this test if there is no upstream when 
pandas 2.1 moves to 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