-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Hi there! I'm working with @xylar on configuring and testing the new release of e3sm-unified. We are hitting issue with the current configuration because of pcmdi_metrics, specifically due to your upper constraint on shapely:
pcmdi_metrics/conda-env/dev.yml
Line 26 in 0860eb5
| - shapely >=2.0.1,<=2.0.6 |
We are using proj 9.6.2 and pyproj 3.7.2 in this releasee3sm-unified. (The issue actually has to do with the version of geos used by rasterio needed to support proj 9.6.2 being incompatible with the geos version used with upper constraint of shapely). You can reproduce the error we see by trying to create a conda environment with:
conda create -y -n dry-run --dry-run "python=3.13" "proj 9.6.2" "pyproj 3.7.2" "rasterio" "shapely >=2.0.1,<=2.0.6"The issue is resolved by removing the upper constraint on shapely (i.e):
conda create -y -n dry-run --dry-run "python=3.13" "proj 9.6.2" "pyproj 3.7.2" "rasterio" "shapely >=2.0.1"From looking through the git blame and PR history, it looks like the shapely constraint was added to suppress some kind of warning message.
What was the warning? Are you OK with easing that upper shapely constraint? If there's any development that's needed to support the newer versions of shapely, @xylar and I are ready and willing to help with that.