Skip to content

Commit

Permalink
Remove esmpy dependency
Browse files Browse the repository at this point in the history
- Remove `import shapely` since `esmpy` and `cdms2` are no longer direct dependencies
  • Loading branch information
tomvothecoder committed Jan 16, 2025
1 parent c697cbf commit 4639969
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion conda-env/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
- cartopy_offlinedata
- cf-units
- dask <2024.12.0
- esmpy >=8.4.0
- lxml
- mache >=0.15.0
- matplotlib-base >=3.8.2
Expand Down
1 change: 0 additions & 1 deletion conda-env/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ dependencies:
- cartopy_offlinedata
- cf-units
- dask <2024.12.0
- esmpy >=8.4.0
- lxml
- mache >=0.15.0
- matplotlib-base >=3.8.2
Expand Down
5 changes: 0 additions & 5 deletions e3sm_diags/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import os
import sys

# import shapely here (before any esmpy imports via cdms2) to prevent a
# segfault related to multiprocessing. Do not import esmpy here to prevent
# issue with dask when using ESMF with system compilers.
import shapely

__version__ = "v3.0.0rc1"
INSTALL_PATH = os.path.join(sys.prefix, "share/e3sm_diags/")

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ dependencies = [
# "cartopy_offlinedata",
"cf-units",
"dask <2024.12.0",
"esmpy >=8.4.0",
"lxml",
"mache >=0.15.0",
"matplotlib >=3.8.2",
Expand Down

0 comments on commit 4639969

Please sign in to comment.