Closed valeriupredoi closed 1 year ago
For the conda-forge package, we could also patch this out in a new build, but I am actually leaning towards a 2.7.2.
@zklaus me too! But depending on the outcome of https://github.com/shapely/shapely/issues/1669 we may get functionality back (even if vectorized
is just a shimmy, but at least it won't break the install and setuptools). I say we should wait a bit see what @jorisvandenbossche and his colleagues decide - surely not gonna do a v2.7.2 release before the new year :christmas_tree:
So what do I do? I have a new installation on Linux and when I try to run ESMvalTool I get:
pkg_resources.UnknownExtra: shapely 2.0.0 has no such extra feature 'vectorized'
And it fails. I tried pip install shapely[vectorized] but it made no difference.
You can run pip install 'shapely[vectorized]<2'
. This will install the latest version 1.x of shapely, which still had the installation option vectorized
.
shapely=2.0.1 (current) is fine with shapely[vectorized], even if that seems to be a shimmy. But for the purpose of this issue, all seems to be functional, so am closing (will reopen if needed_
esmvalcore=2.7.1
package, and older versions too, are incompatible with latestshapely=2.0.0
because they have removed thevectorized
package; our setup.py for v2.7.1, off the v2.7.x branch needsshapely[vectorized]
as dependency, which breaks package manager in ESMValTool, and any entry point operation associated with ESMValTool. This is howsetuptools/pkg_resources
sees the deps table:and brown matter hits the fan when extracting the
vectorized
key fromshapely
since 2.0.0 don't have it no more.We have two solutions to choose from:
@ESMValGroup/technical-lead-development-team please chime in! :beer: