From ea513f3140c500475ae1bf9cf1071f6d3aaf2a70 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Fri, 11 Oct 2024 11:42:20 -0600 Subject: [PATCH 1/5] add gimli.units as a requirement --- .github/workflows/docs.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2210c46d..2bdc54ae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -47,7 +47,7 @@ jobs: - name: Install dependencies run: | - conda install --file=requirements.txt --file=requirements-docs.txt gimli.units + conda install --file=requirements.txt --file=requirements-docs.txt pip install -e . - name: Build documentation diff --git a/pyproject.toml b/pyproject.toml index 4934873b..99f9a9ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ requires-python = ">=3.8" dependencies = [ "click", "deprecated", + "gimli.units", "jinja2", "landlab >= 2", "matplotlib", From ae5e164f5aa60d562da49493acf00dd5e5af6d95 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Fri, 11 Oct 2024 12:11:16 -0600 Subject: [PATCH 2/5] build docs with python 3.11 --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2bdc54ae..47372f3a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,7 +38,7 @@ jobs: - uses: conda-incubator/setup-miniconda@v3 with: miniforge-version: latest - python-version: 3.8 + python-version: 3.11 - name: Show conda installation info run: | From a86e0eecf3873d06ba480328af04c8a316375c0c Mon Sep 17 00:00:00 2001 From: mcflugen Date: Fri, 11 Oct 2024 13:29:57 -0600 Subject: [PATCH 3/5] add news fragments --- news/169.misc.rst | 2 ++ news/171.misc.rst | 1 + news/174.misc.rst | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 news/169.misc.rst create mode 100644 news/171.misc.rst create mode 100644 news/174.misc.rst diff --git a/news/169.misc.rst b/news/169.misc.rst new file mode 100644 index 00000000..d7df66c9 --- /dev/null +++ b/news/169.misc.rst @@ -0,0 +1,2 @@ +Updated *pymt* for the latest version of *gimli.units*, which changed +its interface slightly. diff --git a/news/171.misc.rst b/news/171.misc.rst new file mode 100644 index 00000000..8dea16f3 --- /dev/null +++ b/news/171.misc.rst @@ -0,0 +1 @@ +Added support for Python 3.10, and dropped support for older versions. diff --git a/news/174.misc.rst b/news/174.misc.rst new file mode 100644 index 00000000..805ebd6c --- /dev/null +++ b/news/174.misc.rst @@ -0,0 +1,2 @@ +Updated *pymt* to work with the newest version of both *shapely* and +*scipy*. From 4541a3a1386a5b7a4c16754c5f46a642586f9633 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Fri, 11 Oct 2024 13:33:37 -0600 Subject: [PATCH 4/5] Preparing release 1.3.2 --- CHANGELOG.rst | 28 ++++++++++++++++++++++++++++ news/145.misc | 2 -- news/146.misc | 2 -- news/150.bugfix | 2 -- news/153.bugfix | 2 -- news/154.misc | 2 -- news/155.misc | 2 -- news/156.misc | 2 -- news/159.misc | 3 --- news/169.misc.rst | 2 -- news/171.misc.rst | 1 - news/174.misc.rst | 2 -- pymt/_version.py | 2 +- 13 files changed, 29 insertions(+), 23 deletions(-) delete mode 100644 news/145.misc delete mode 100644 news/146.misc delete mode 100644 news/150.bugfix delete mode 100644 news/153.bugfix delete mode 100644 news/154.misc delete mode 100644 news/155.misc delete mode 100644 news/156.misc delete mode 100644 news/159.misc delete mode 100644 news/169.misc.rst delete mode 100644 news/171.misc.rst delete mode 100644 news/174.misc.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 716e3a8f..85a6c515 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,34 @@ Release Notes .. towncrier release notes start +1.3.2 (2024-10-11) +------------------ + +Bug Fixes +````````` + +- Fixed failing NetCDF tests related to a now non-existant THREDDS server. (`#150 `_) +- Fixed the *environment.yml* file needed for running notebooks on Binder. (`#153 `_) + + +Other Changes and Additions +``````````````````````````` + +- Fixed broken environment-docs.yml file. (`#145 `_) +- Fixed the successful, but 0%, coverage score reported by Coveralls through the coveralls-python Action. (`#146 `_) +- Reformat code for the newest version of *black*. (`#154 `_) +- Setup `towncrier `_ to manage the changelog. (`#155 `_) +- Moved static project metadata into pyproject.toml. (`#156 `_) +- Removed dependency on ``six`` since we don't support Python 2 and updated code + to use Python 3.8+ syntax. (`#159 `_) +- Updated *pymt* for the latest version of *gimli.units*, which changed + its interface slightly. (`#169 `_) +- Removed a bunch of lint that had built up over the years. (`#170 `_) +- Added support for Python 3.10, and dropped support for older versions. (`#171 `_) +- Updated *pymt* to work with the newest version of both *shapely* and + *scipy*. (`#174 `_) + + 1.3.1 (2021-03-18) ------------------ diff --git a/news/145.misc b/news/145.misc deleted file mode 100644 index 3c766dd2..00000000 --- a/news/145.misc +++ /dev/null @@ -1,2 +0,0 @@ -Fixed broken environment-docs.yml file. - diff --git a/news/146.misc b/news/146.misc deleted file mode 100644 index 3fa33826..00000000 --- a/news/146.misc +++ /dev/null @@ -1,2 +0,0 @@ -Fixed the successful, but 0%, coverage score reported by Coveralls through the coveralls-python Action. - diff --git a/news/150.bugfix b/news/150.bugfix deleted file mode 100644 index 696fd541..00000000 --- a/news/150.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fixed failing NetCDF tests related to a now non-existant THREDDS server. - diff --git a/news/153.bugfix b/news/153.bugfix deleted file mode 100644 index d3cb404e..00000000 --- a/news/153.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fixed the *environment.yml* file needed for running notebooks on Binder. - diff --git a/news/154.misc b/news/154.misc deleted file mode 100644 index 2b03520f..00000000 --- a/news/154.misc +++ /dev/null @@ -1,2 +0,0 @@ -Reformat code for the newest version of *black*. - diff --git a/news/155.misc b/news/155.misc deleted file mode 100644 index 787c40e2..00000000 --- a/news/155.misc +++ /dev/null @@ -1,2 +0,0 @@ -Setup `towncrier `_ to manage the changelog. - diff --git a/news/156.misc b/news/156.misc deleted file mode 100644 index f49321ee..00000000 --- a/news/156.misc +++ /dev/null @@ -1,2 +0,0 @@ -Moved static project metadata into pyproject.toml. - diff --git a/news/159.misc b/news/159.misc deleted file mode 100644 index 007b4d75..00000000 --- a/news/159.misc +++ /dev/null @@ -1,3 +0,0 @@ -Removed dependency on ``six`` since we don't support Python 2 and updated code -to use Python 3.8+ syntax. - diff --git a/news/169.misc.rst b/news/169.misc.rst deleted file mode 100644 index d7df66c9..00000000 --- a/news/169.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Updated *pymt* for the latest version of *gimli.units*, which changed -its interface slightly. diff --git a/news/171.misc.rst b/news/171.misc.rst deleted file mode 100644 index 8dea16f3..00000000 --- a/news/171.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for Python 3.10, and dropped support for older versions. diff --git a/news/174.misc.rst b/news/174.misc.rst deleted file mode 100644 index 805ebd6c..00000000 --- a/news/174.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Updated *pymt* to work with the newest version of both *shapely* and -*scipy*. diff --git a/pymt/_version.py b/pymt/_version.py index 0196c1d0..f708a9b2 100644 --- a/pymt/_version.py +++ b/pymt/_version.py @@ -1 +1 @@ -__version__ = "1.3.2.dev0" +__version__ = "1.3.2" From c02b72f707d116ba63b4d85bb3274852e73c33b5 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Fri, 11 Oct 2024 13:33:52 -0600 Subject: [PATCH 5/5] Back to development: 1.3.3 --- pymt/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymt/_version.py b/pymt/_version.py index f708a9b2..8c02f9af 100644 --- a/pymt/_version.py +++ b/pymt/_version.py @@ -1 +1 @@ -__version__ = "1.3.2" +__version__ = "1.3.3.dev0"