From 3a105bbe7d7c78c8dc018ce4009d17004c356e24 Mon Sep 17 00:00:00 2001 From: Ryan Murray <74630349+rywm-dhi@users.noreply.github.com> Date: Tue, 14 Jan 2025 10:57:11 +0100 Subject: [PATCH 1/3] Add matplotlib as dependency --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index a7880ac2..45b10f1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,7 @@ dependencies = [ "pythonnet>=3.0.0", "numpy", "pandas>=2.1.0", + "matplotlib", 'mikecore; platform_system=="Linux"' ] From 81a7b8d9f24926bb6ff7133f8dd5fe0182c9c5ef Mon Sep 17 00:00:00 2001 From: Ryan Murray <74630349+rywm-dhi@users.noreply.github.com> Date: Tue, 14 Jan 2025 10:58:19 +0100 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84c3d438..89431a1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ ### Changed +## [1.0.2] - 2025-01-14 + +### Fixed +- Matplotlib is now included as a dependency, avoiding import errors on fresh install + ## [1.0.1] - 2025-01-13 ### Fixed @@ -245,7 +250,9 @@ - Reading of res1d and xns11 files into pandas data frames -[unreleased]: https://github.com/DHI/mikeio1d/compare/v1.0.0...HEAD +[unreleased]: https://github.com/DHI/mikeio1d/compare/v1.0.2...HEAD +[1.0.2]: https://github.com/DHI/mikeio1d/releases/tag/v1.0.2 +[1.0.1]: https://github.com/DHI/mikeio1d/releases/tag/v1.0.1 [1.0.0]: https://github.com/DHI/mikeio1d/releases/tag/v1.0.0 [0.10.0]: https://github.com/DHI/mikeio1d/releases/tag/v0.10.0 [0.9.1]: https://github.com/DHI/mikeio1d/releases/tag/v0.9.1 From 6f76af85c7ed1288fd661228bb26401eb8f93dbf Mon Sep 17 00:00:00 2001 From: Ryan Murray <74630349+rywm-dhi@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:00:13 +0100 Subject: [PATCH 3/3] Bump version number --- mikeio1d/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mikeio1d/__init__.py b/mikeio1d/__init__.py index 27e580ab..d6f2ef36 100644 --- a/mikeio1d/__init__.py +++ b/mikeio1d/__init__.py @@ -24,7 +24,7 @@ # Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer. # 'X.Y.dev0' is the canonical version of 'X.Y.dev' # -__version__ = "1.0.1" +__version__ = "1.0.2" if "64" not in platform.architecture()[0]: raise Exception("This library has not been tested for a 32 bit system.") diff --git a/pyproject.toml b/pyproject.toml index 45b10f1d..5512441b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ exclude = ["notebooks", "tests", "images"] [project] name = "mikeio1d" -version = "1.0.1" +version = "1.0.2" description = "A package that uses the DHI MIKE1D .NET libraries to read res1d and xns11 files." readme = "README.md" requires-python = ">=3.9"