-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Shapely Version 1.8.3 #2067
Comments
I think there's major issues on conda-forge with the newest pip/setuptools for MacOS. I've seen random puzzling reports of breakages on MacOS and about half of the conda-forge projects I follow have broken MacOS CI... Your env shows GDAL 3.5.1 coming from pypi, which is concerning as well. So I suspect there's not a cartopy issue to be had here, but that's my lazy assessment. |
It's failing in our full set of CI for Py-ART as well (see this CI run) for Windows, MacOS, and Linux. Also, it seems that the recent PR for MetPy see #2619 over there is running into similar issues. |
And pinning to the previous version of shapely (<1.8.3) appears to have solved this issue ARM-DOE/pyart#1240 |
Ah, I am waking up here, try pining back geos to something < 3.11, shapely/shapely#1436 maybe at play here |
Everything ran alright when we had GEOS 3.11 and Shapely 1.8.2 (see the environment below) From the previous set of passing CI runs
|
I am wondering if it is related to some of the pointers changing this merged PR https://github.com/shapely/shapely/pull/1479/files |
@mgrover1 I'm pretty sure you're right. The function that's failing is a glorified cast. I wonder if the Shapely API has any better-supported methods, because right now Cartopy relies on accessing |
@dopplershift here was the PR where they changed around access to |
It looks like this issue is resolved with the recent release (late afternoon yesterday) of shapely. Over in that xarray issue, they mentioned installing
Works |
Closing this out then since 1.8.4 should work. |
Description
With the recent shapely update, we are running into issues in Py-ART (a radar toolkit that uses cartopy in our examples), specifically when setting our extent of the plot.
Where those minima are floats.
This results in the following error:
Code to reproduce
Traceback
Full environment definition
Operating system
MacOS
Cartopy version
0.20.3
conda list
pip list
The text was updated successfully, but these errors were encountered: