From dd123b8c0ac4e7bfb321ffe7e06ece7407428b50 Mon Sep 17 00:00:00 2001 From: Ryan Kingsbury Date: Wed, 11 Dec 2024 15:43:40 -0500 Subject: [PATCH 1/2] bump monty to 2024.12.10 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 333b28a..125bf99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "scipy>=1.12", "pymatgen>=2024.9.10", "iapws>=1.5.3", - "monty>=2024.7.12", + "monty>=2024.12.10", "maggma>=0.67.0", "phreeqpython>=1.5.2", ] From a8ed3350f28416fe81ae04d625bbf9365362ad35 Mon Sep 17 00:00:00 2001 From: Ryan Kingsbury Date: Wed, 11 Dec 2024 15:45:12 -0500 Subject: [PATCH 2/2] init: Address pint deprecation warning --- src/pyEQL/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyEQL/__init__.py b/src/pyEQL/__init__.py index 6c1807f..b0fee9c 100644 --- a/src/pyEQL/__init__.py +++ b/src/pyEQL/__init__.py @@ -40,7 +40,7 @@ # activate the "chemistry" context globally ureg.enable_contexts("chemistry") # set the default string formatting for pint quantities -ureg.default_format = "P~" +ureg.formatter.default_format = "P~" # create a Store for the default database json_db_file = files("pyEQL") / "database" / "pyeql_db.json"