From d1582dcd5a9fb395374bcf659fd0a49ab0c3f5be Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:49:02 -0400 Subject: [PATCH] pinned pint below v0.24 --- HISTORY.rst | 1 + environment.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 57df9557..89b109f4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,6 +5,7 @@ History 0.15.0 (unreleased) ------------------- * Fixed bug in `Config.duplicate` dating from the switch to Pydantic V2 in 0.13 (PR #367) +* Pinned `pint` below version 0.24 due to a breaking change in their API. 0.14.1 (2024-05-07) ------------------- diff --git a/environment.yml b/environment.yml index df418d67..5f3a8b1f 100644 --- a/environment.yml +++ b/environment.yml @@ -31,7 +31,7 @@ dependencies: - numpy - owslib >=0.29.1 - pandas >=2.2.0 - - pint >=0.20 + - pint >=0.20,<0.24 - platformdirs - pre-commit - pydantic >=2.0 diff --git a/pyproject.toml b/pyproject.toml index 65e2a50e..f76bb1b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dependencies = [ "numpy", "owslib >=0.29.1", "pandas >=2.2.0", - "pint >=0.20", + "pint >=0.20,<0.24", "platformdirs", "pydantic >=2.0", "pydap",