git: 7c614e3a8844 - main - math/py-arviz-plots: update 1.2.0 → 1.3.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Sep 2026 07:40:50 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7c614e3a8844427e5925e3e671c51c9200c22bcb
commit 7c614e3a8844427e5925e3e671c51c9200c22bcb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-11 05:20:33 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-11 07:40:18 +0000
math/py-arviz-plots: update 1.2.0 → 1.3.1
---
math/py-arviz-plots/Makefile | 12 +++++++-----
math/py-arviz-plots/distinfo | 6 +++---
math/py-arviz-plots/files/patch-pyproject.toml | 11 -----------
.../files/patch-src_arviz__plots_____init____.py | 8 +++++---
math/py-arviz-plots/files/patch-tests_conftest.py | 7 ++++---
5 files changed, 19 insertions(+), 25 deletions(-)
diff --git a/math/py-arviz-plots/Makefile b/math/py-arviz-plots/Makefile
index 2d1090f7024d..0de65904a17a 100644
--- a/math/py-arviz-plots/Makefile
+++ b/math/py-arviz-plots/Makefile
@@ -1,6 +1,6 @@
PORTNAME= arviz-plots
DISTVERSIONPREFIX= v
-DISTVERSION= 1.2.0
+DISTVERSION= 1.3.1
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,11 +13,12 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arviz-base>=1.2.0:math/py-arviz-base@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}arviz-stats>=1.2.0:math/py-arviz-stats@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.9:math/py-matplotlib@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arviz-base>=1.3.0:math/py-arviz-base@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}arviz-stats>=1.3.0:math/py-arviz-stats@${PY_FLAVOR}
+ # www/py-bokeh should also be added, however it is broken because it is only for numpy-1.x
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5netcdf>0:science/py-h5netcdf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.9:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python
@@ -31,12 +32,13 @@ NO_ARCH= yes
TEST_ARGS= -p no:benchmark -p no:xdist -p no:relaxed \
-p no:black -p no:ruff -p no:mypy -p no:flake8 -p no:cov \
-W ignore::RuntimeWarning \
+ -W ignore::DeprecationWarning \
--ignore=tests/test_backend.py \
--ignore=tests/test_plotly.py \
--ignore=tests/test_styles.py
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
MPLBACKEND=Agg
-# tests as of 1.2.0: 398 passed, 1 skipped, 302 deselected in 111.70s (0:01:51)
+# tests as of 1.3.1: 601 passed 163 failed, all failures are due to broken old version of www/py-bokeh which is still for numpy-1.x, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295711
.include <bsd.port.mk>
diff --git a/math/py-arviz-plots/distinfo b/math/py-arviz-plots/distinfo
index f3a0ee5214e2..f222c185a937 100644
--- a/math/py-arviz-plots/distinfo
+++ b/math/py-arviz-plots/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785732620
-SHA256 (arviz-devs-arviz-plots-v1.2.0_GH0.tar.gz) = 4f922f955b6a182868a222d1616222f8d0d73991f7bdef41e5f5be2660b9cfdb
-SIZE (arviz-devs-arviz-plots-v1.2.0_GH0.tar.gz) = 11519618
+TIMESTAMP = 1789072324
+SHA256 (arviz-devs-arviz-plots-v1.3.1_GH0.tar.gz) = 75377808438f6af5bcb748d87cfc33a69969168eae62a926f7ec203b8f371f01
+SIZE (arviz-devs-arviz-plots-v1.3.1_GH0.tar.gz) = 8600948
diff --git a/math/py-arviz-plots/files/patch-pyproject.toml b/math/py-arviz-plots/files/patch-pyproject.toml
deleted file mode 100644
index c7827e2b0844..000000000000
--- a/math/py-arviz-plots/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
---- pyproject.toml.orig 2026-04-17 15:47:09 UTC
-+++ pyproject.toml
-@@ -5,7 +5,7 @@ readme = "README.md"
- [project]
- name = "arviz-plots"
- readme = "README.md"
--requires-python = ">=3.12"
-+requires-python = ">=3.11"
- license = {file = "LICENSE"}
- authors = [
- {name = "ArviZ team", email = "arvizdevs@gmail.com"}
diff --git a/math/py-arviz-plots/files/patch-src_arviz__plots_____init____.py b/math/py-arviz-plots/files/patch-src_arviz__plots_____init____.py
index 5634baf35505..8c9d1ac3bff9 100644
--- a/math/py-arviz-plots/files/patch-src_arviz__plots_____init____.py
+++ b/math/py-arviz-plots/files/patch-src_arviz__plots_____init____.py
@@ -1,8 +1,9 @@
---- src/arviz_plots/__init__.py.orig 2026-04-17 17:39:26 UTC
+-- Add arviz_darkgrid_template to the del block after the plotly templates are added to prevent namespace leakage.
+--- src/arviz_plots/__init__.py.orig 2026-09-10 20:53:17 UTC
+++ src/arviz_plots/__init__.py
-@@ -330,6 +330,14 @@ try:
- pio.templates["arviz-vibrant"] = arviz_vibrant_template
+@@ -335,6 +335,15 @@ try:
pio.templates["arviz-tumma"] = arviz_tumma_template
+ pio.templates["arviz-darkgrid"] = arviz_darkgrid_template
+ del (
+ pio,
@@ -11,6 +12,7 @@
+ arviz_variat_template,
+ arviz_vibrant_template,
+ arviz_tumma_template,
++ arviz_darkgrid_template,
+ )
except ImportError:
diff --git a/math/py-arviz-plots/files/patch-tests_conftest.py b/math/py-arviz-plots/files/patch-tests_conftest.py
index be2559b1974c..814a8a49aff8 100644
--- a/math/py-arviz-plots/files/patch-tests_conftest.py
+++ b/math/py-arviz-plots/files/patch-tests_conftest.py
@@ -1,10 +1,11 @@
---- tests/conftest.py.orig 2025-04-17 17:07:02 UTC
+-- Remove Hypothesis deadline to prevent spurious test failures on slow build machines.
+--- tests/conftest.py.orig 2026-09-10 20:53:50 UTC
+++ tests/conftest.py
-@@ -13,7 +13,7 @@ _log = logging.getLogger("arviz_plots")
+@@ -18,7 +18,7 @@ _log = logging.getLogger("arviz_plots")
_log = logging.getLogger("arviz_plots")
--settings.register_profile("fast", deadline=5000, max_examples=15)
+-settings.register_profile("fast", deadline=2000, max_examples=15)
+settings.register_profile("fast", deadline=None, max_examples=15)
settings.register_profile("chron", deadline=5000, max_examples=500)
settings.load_profile(os.getenv("HYPOTHESIS_PROFILE", "fast"))