From 49edad66ce8df9932c7e0e8b37ccd9b5e164a941 Mon Sep 17 00:00:00 2001 From: Sean Kavanagh Date: Mon, 13 May 2024 11:04:28 +0100 Subject: [PATCH] Remove `typing_extensions` requirement following `pymatgen-analysis-defects` release with fix (https://github.com/materialsproject/pymatgen-analysis-defects/pull/188) --- pyproject.toml | 3 --- tests/test_chemical_potentials.py | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c50d1a54..ca117a48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,9 +32,6 @@ dependencies = [ "vise>=0.9.0", # for eigenvalue analysis, >=0.9.0 required for SOC compatibility "easyunfold>=0.3.6", # for efficient PROCAR parsing (and supporting SOC), # if any dependency issues arise can make easyunfold an optional dependency - "typing-extensions" # to fix `pymatgen` typing issues - # (https://github.com/materialsproject/pymatgen-analysis-defects/pull/188) - # TODO: Remove once new pymatgen-analysis-defects released ] [project.urls] diff --git a/tests/test_chemical_potentials.py b/tests/test_chemical_potentials.py index 8c355751..92ea7df5 100644 --- a/tests/test_chemical_potentials.py +++ b/tests/test_chemical_potentials.py @@ -681,8 +681,8 @@ def check_O2_entry(self, cp): def test_api_keys_errors(self): api_key_error_start = ValueError( - "The supplied API key (``api_key`` or 'PMG_MAPI_KEY' in your ``~/.pmgrc.yaml`` or " - "``~/.config/.pmgrc.yaml file;" + "The supplied API key (either ``api_key`` or 'PMG_MAPI_KEY' in ``~/.pmgrc.yaml`` or " + "``~/.config/.pmgrc.yaml``;" ) with pytest.raises(ValueError) as e: chemical_potentials.CompetingPhases(