spopt icon indicating copy to clipboard operation
spopt copied to clipboard

work on resolving warning in CI (2024-01)

Open jGaboardi opened this issue 2 years ago • 4 comments

Currently we have a ton of warning being thrown in CI. The major ones are listed below from ubuntu-latest, ci/312-dev.yaml.

  • [x] libpysal.weights.* – 51100f0
    • FutureWarning: `use_index` defaults to False but will default to True in future.
      Set True/False directly to control this behavior and silence this warning
        self.w = libpysal.weights.Queen.from_dataframe(self.mexico) 
      
  • [x] numpy – 697a05b
    • DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future.
      Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
      
    • Clear internal warnings; some still thrown from within pyproj
  • [x] geopandas – ef3dfa5
    •  FutureWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
      
    • warning still thrown, but now future-proofed.

jGaboardi avatar Jan 14 '24 17:01 jGaboardi

Just a note that the first one is also coming from geopandas.

martinfleis avatar Jan 14 '24 18:01 martinfleis

The weights one is coming from inside geopandas? That seems odd...

jGaboardi avatar Jan 14 '24 19:01 jGaboardi

Ah, no! My mistake. Geopandas has a very similar warning :D

martinfleis avatar Jan 14 '24 20:01 martinfleis

Ah, no! My mistake. Geopandas has a very similar warning :D

phew... I thought I was going crazy.

jGaboardi avatar Jan 14 '24 20:01 jGaboardi