pysal / pointpats

Planar Point Pattern Analysis in PySAL
https://pysal.org/pointpats/
BSD 3-Clause "New" or "Revised" License
80 stars 26 forks source link

CI: TypeError: float() argument must be a string or a number, not 'PointPattern' #106

Closed martinfleis closed 1 year ago

martinfleis commented 1 year ago

Our CI started failing today with

TypeError: float() argument must be a string or a number, not 'PointPattern'

across all envs except minimal. https://github.com/pysal/pointpats/actions/runs/5407366393

martinfleis commented 1 year ago

It seems to be caused by new Scipy. With SciPy 1.10.1, all works. Under SciPy 1.11.1, we see the failures. I don't have time to debug that at the moment so I am not sure if it is a SciPy regression or uncaught deprecation on our side.

jGaboardi commented 1 year ago

May or may not be related the new failures in spopt.region.AZP. Need to figure that out as well.

martinfleis commented 1 year ago

I have a patch on a local branch but I believe this is actually a regression in scipy -> https://github.com/scipy/scipy/issues/18800