From f0f4b57d5a3c7503fec132e9cba1c3169c1bc3da Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 30 Mar 2026 14:53:58 +0200 Subject: [PATCH 1/2] add shapely as dependency --- ci/requirements/environment.yml | 1 + ci/requirements/min-all-deps.yml | 1 + pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/requirements/environment.yml b/ci/requirements/environment.yml index 3b3a64e..2bafea4 100644 --- a/ci/requirements/environment.yml +++ b/ci/requirements/environment.yml @@ -7,6 +7,7 @@ dependencies: - matplotlib-base - numpy - seaborn + - shapely - xarray # formatting - black diff --git a/ci/requirements/min-all-deps.yml b/ci/requirements/min-all-deps.yml index 515ec2a..d46298d 100644 --- a/ci/requirements/min-all-deps.yml +++ b/ci/requirements/min-all-deps.yml @@ -8,6 +8,7 @@ dependencies: - matplotlib-base=3.9 - numpy=1.26 - seaborn=0.13 + - shapely=2.0 - xarray=2024.7 # for testing - pytest diff --git a/pyproject.toml b/pyproject.toml index 91c4813..ada33bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,8 +22,9 @@ requires-python = ">=3.11" dependencies = [ "cartopy >=0.23", "matplotlib >=3.9", - "packaging >= 23.1", "numpy >=1.26", + "packaging >= 23.1", + "shapely >= 2.0", "xarray >=2024.7", ] dynamic = ["version"] From 40064e046ddabe85a00e1454c5da19e7a2d859a2 Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 13 Jul 2026 11:07:01 +0200 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3734fa1..dd9008c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ | cartopy | 0.22 | 0.23 | | matplotlib | 3.8 | 3.9 | | numpy | 1.24 | 1.26 | + | shapely | — | 2.0 | | xarray | 2023.9 | 2024.7 | @@ -20,11 +21,12 @@ ### Enhancements +- Added shapely as an explicit dependency ([#230](https://github.com/mpytools/mplotutils/pull/230)). - Add python 3.13 to list of supported versions ([#158](https://github.com/mpytools/mplotutils/pull/158)). - Add python 3.14 to list of supported versions ([#209](https://github.com/mpytools/mplotutils/pull/209)). - Increased test coverage ([#180](https://github.com/mpytools/mplotutils/pull/180), [#181](https://github.com/mpytools/mplotutils/pull/181), [#182](https://github.com/mpytools/mplotutils/pull/182), [#207](https://github.com/mpytools/mplotutils/pull/207), - and [#208](https://github.com/mpytools/mplotutils/pull/208),). + and [#208](https://github.com/mpytools/mplotutils/pull/208)). ### Bug fixes