From dca2bca41820242cf49dd40f2fbc0f8a249a3040 Mon Sep 17 00:00:00 2001 From: Frank Buckley Date: Thu, 18 Jun 2026 17:56:49 +0100 Subject: [PATCH] fix(deps): require preliz>=0.27.0 for matplotlib 3.11 compatibility The matplotlib 3.10.9 -> 3.11.0 bump (336bff1) removed the private matplotlib.style.core submodule. preliz <=0.26.0 imports it at module load, so `import preliz` raised AttributeError during pytest collection and aborted the whole test-python job (CI run 27759402631). preliz 0.27.0 ships the fix (arviz-devs/preliz#727). Pin the floor in both environment.yml and pyproject.toml so CI and the package metadata require the fixed release. Co-Authored-By: Claude Opus 4.8 --- environment.yml | 2 +- src/python/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index ac9d479..c310954 100644 --- a/environment.yml +++ b/environment.yml @@ -44,7 +44,7 @@ dependencies: - pandoc - pingouin - plotly - - preliz + - preliz>=0.27.0 - psutil>=7.2.2 - pyreadstat>=1.3.5 - pytest>=9.1.0 diff --git a/src/python/pyproject.toml b/src/python/pyproject.toml index 2ed673c..060df44 100644 --- a/src/python/pyproject.toml +++ b/src/python/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ "arviz-plots>=1.1.0", "numpy>=2.4.4", "pandas>=3.0.3", - "preliz", + "preliz>=0.27.0", "psutil>=7.2.2", "rich>=15.0.0", "scipy>=1.17.1",