diff --git a/pyproject.toml b/pyproject.toml index bcb9d11..377132b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,7 @@ [build-system] requires = [ "setuptools >= 42", - "setuptools_scm[toml] >= 6.2", - "setuptools_scm_git_archive", + "setuptools_scm[toml] >= 7.0", "wheel >= 0.29.0", ] build-backend = "setuptools.build_meta" diff --git a/tests/baseline_images/Blocks/Surface0.png b/tests/baseline_images/Blocks/Surface0.png index 3d8a96d..0443ade 100644 Binary files a/tests/baseline_images/Blocks/Surface0.png and b/tests/baseline_images/Blocks/Surface0.png differ diff --git a/tests/baseline_images/Blocks/Surface1.png b/tests/baseline_images/Blocks/Surface1.png index 3de2586..06f150a 100644 Binary files a/tests/baseline_images/Blocks/Surface1.png and b/tests/baseline_images/Blocks/Surface1.png differ diff --git a/tests/baseline_images/Blocks/Surface2.png b/tests/baseline_images/Blocks/Surface2.png index 3d8a96d..0443ade 100644 Binary files a/tests/baseline_images/Blocks/Surface2.png and b/tests/baseline_images/Blocks/Surface2.png differ diff --git a/tests/test_blocks.py b/tests/test_blocks.py index 9e16e78..9331e00 100644 --- a/tests/test_blocks.py +++ b/tests/test_blocks.py @@ -319,6 +319,9 @@ def test_Quiver(self): @animation_compare(baseline_images="Blocks/Surface", nframes=3) def test_Surface(self): + mpl_version = tuple([int(x) for x in mpl._version.version.split(".")[:3]]) + if mpl_version < (3, 9): + pytest.xfail("Updated for MPL 3.9.0") x = np.linspace(-2 * np.pi, 2 * np.pi, 100) t = np.linspace(0, 2 * np.pi, 3)