From 32424555ce8a3ea9ed075fe717c461849c3ac6b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 9 Dec 2023 00:42:11 +0000 Subject: [PATCH 1/2] Bump pyinstaller from 3.6 to 5.13.1 in /docs/source Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 3.6 to 5.13.1. - [Release notes](https://github.com/pyinstaller/pyinstaller/releases) - [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES-3.rst) - [Commits](https://github.com/pyinstaller/pyinstaller/compare/v3.6...v5.13.1) --- updated-dependencies: - dependency-name: pyinstaller dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/source/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt index 5ab2bc8..c44a42a 100644 --- a/docs/source/requirements.txt +++ b/docs/source/requirements.txt @@ -12,7 +12,7 @@ mkl-random==1.1.0 mkl-service==2.3.0 mpmath==1.3.0 numpy==1.22.0 -PyInstaller==3.6 +PyInstaller==5.13.1 pyparsing==2.4.2 python-dateutil==2.8.0 PyYAML==5.4 From 21aed73af8e724458e7a62c1173fea1ebc918be2 Mon Sep 17 00:00:00 2001 From: bryan-garcia Date: Wed, 13 Dec 2023 15:26:37 -0800 Subject: [PATCH 2/2] Fix: Update test suite to support comparison of eqdsk "comment" key --- tests/component/test_efit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/component/test_efit.py b/tests/component/test_efit.py index ebfec31..e417586 100644 --- a/tests/component/test_efit.py +++ b/tests/component/test_efit.py @@ -31,8 +31,10 @@ def test_load_geqdsk(data_dir): # # Check keys and values of loaded SNL eqdsk are consistent # + explicit_comparisons = ['comment'] # Keys to use "==" operator with for baseline_k, test_k in zip(sorted(baseline), sorted(session.geqdsk_data)): assert baseline_k == test_k, "Key mismatch in loaded data." k = baseline_k - assert np.allclose(baseline[k], session.geqdsk_data[k]), "Numerics mismatch in data." + compare = lambda x, y: x == y if k in explicit_comparisons else np.allclose + assert compare(baseline[k], session.geqdsk_data[k]), "Numerics mismatch in data."