From a9ecc1768f941d1be39fb6f9b9d1c96c5386752e Mon Sep 17 00:00:00 2001 From: DirkEilander <15379728+DirkEilander@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:51:58 +0100 Subject: [PATCH] release v1.0.3 (#171) * prep release v1.0.3 * fix publish workflow * remove test from publish workflow --- .github/workflows/publish.yml | 23 ++++++++++------------- docs/changelog.rst | 11 +++-------- hydromt_sfincs/__init__.py | 2 +- pyproject.toml | 2 +- 4 files changed, 15 insertions(+), 23 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fcc4e9d8..57b3b047 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,24 +60,21 @@ jobs: ls -ltrh ls -ltrh dist - - name: Setup environment - uses: conda-incubator/setup-miniconda@v2 + - uses: actions/setup-python@v5 + id: pip with: - python-version: "3.9" - mamba-version: "*" - channels: conda-forge,defaults - channel-priority: true - environment-file: envs/hydromt-sfincs-min.yml - activate-environment: hydromt-sfincs-min + # caching, see https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages + cache: 'pip' + cache-dependency-path: pyproject.toml + python-version: '3.11' - - name: Conda info + - name: Install wheel run: | - conda info - conda list + pip install --upgrade pip + python -m pip install dist/hydromt_sfincs*.whl - - name: Verify the built dist/wheel is valid + - name: Verify the built wheel is valid run: | - python -m pip install dist/hydromt_sfincs*.whl python -c 'from hydromt_sfincs import __version__ as v; print(v)' echo "$(hydromt --models)" diff --git a/docs/changelog.rst b/docs/changelog.rst index 161c83b9..cb8b1682 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,11 +6,10 @@ Distinction is made between new methods (Added), changes to existing methods (Ch The format is based on `Keep a Changelog`_, and this project adheres to `Semantic Versioning`_. -v1.0.3 (in development) +v1.0.3 (3 January 2024) ======================= - -Added ------ +This release contains several changes and fixes. Most notably, models with a geographical CRS can now be build. +Also note the changes in the default values in the sfincs.inp file. Changed ------- @@ -25,10 +24,6 @@ Fixed - fix a bug that caused some model files to be read twice (#161) - bugfix in workflows.bathymetry that was encountered while burning in rivers (#166) -Deprecated ----------- - - v1.0.2 (9 November 2023) ======================== diff --git a/hydromt_sfincs/__init__.py b/hydromt_sfincs/__init__.py index 314a81a0..e4d47b46 100644 --- a/hydromt_sfincs/__init__.py +++ b/hydromt_sfincs/__init__.py @@ -3,7 +3,7 @@ from os.path import dirname, join, abspath -__version__ = "1.0.3.dev0" +__version__ = "1.0.3" DATADIR = join(dirname(abspath(__file__)), "data") diff --git a/pyproject.toml b/pyproject.toml index 8beab76f..dd6d25c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ authors = [ dependencies = [ "affine", "geopandas>=0.8", - "hydromt>=0.9.1", + "hydromt>=0.9.1, <0.10", "numba", "numpy", "pandas",