Date: Tue, 04 Aug 2026 20:10:56 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 28ff77c2553d - main - math/py-arviz-base: update 1.1=?utf-8?Q?=2E0 =E2=86=92 1?=.2.0 Message-ID: <6a724750.3c653.7049af4c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=28ff77c2553d31d6304917f1856f9831da6f0d08 commit 28ff77c2553d31d6304917f1856f9831da6f0d08 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-08-04 19:02:34 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-08-04 20:10:26 +0000 math/py-arviz-base: update 1.1.0 → 1.2.0 --- math/py-arviz-base/Makefile | 21 ++++----- math/py-arviz-base/distinfo | 6 +-- math/py-arviz-base/files/patch-pyproject.toml | 4 +- .../files/patch-src_arviz__base_____init____.py | 51 ++++++++++++++++++++++ 4 files changed, 67 insertions(+), 15 deletions(-) diff --git a/math/py-arviz-base/Makefile b/math/py-arviz-base/Makefile index 5ca5aa25dd29..55d711074964 100644 --- a/math/py-arviz-base/Makefile +++ b/math/py-arviz-base/Makefile @@ -1,7 +1,6 @@ PORTNAME= arviz-base DISTVERSIONPREFIX= v -DISTVERSION= 1.1.0 -PORTREVISION= 1 +DISTVERSION= 1.2.0 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,12 +13,13 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.4:math/py-numpy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}xarray>=2024.11.0:devel/py-xarray@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}h5netcdf>0:science/py-h5netcdf@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lazy_loader>=0.4:devel/py-lazy_loader@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=2:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xarray>=2024.11.0:devel/py-xarray@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5netcdf>0:science/py-h5netcdf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} USES= python USE_PYTHON= pep517 concurrent autoplist pytest @@ -29,9 +29,10 @@ GH_ACCOUNT= arviz-devs NO_ARCH= yes -TEST_ARGS= -p no:benchmark -p no:xdist -p no:relaxed +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 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -# tests as of 1.0.0: 208 passed in 1.62s +# tests as of 1.2.0: 241 passed in 1.97s .include <bsd.port.mk> diff --git a/math/py-arviz-base/distinfo b/math/py-arviz-base/distinfo index ac9a536c6462..8d2c164e6462 100644 --- a/math/py-arviz-base/distinfo +++ b/math/py-arviz-base/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1777008328 -SHA256 (arviz-devs-arviz-base-v1.1.0_GH0.tar.gz) = 1e24f9983df297112a7040cd0b58f28b156c8bd86e2fb0027e4953b5c8eb3a15 -SIZE (arviz-devs-arviz-base-v1.1.0_GH0.tar.gz) = 2548678 +TIMESTAMP = 1785732617 +SHA256 (arviz-devs-arviz-base-v1.2.0_GH0.tar.gz) = dcd288f3c2a3703c8b02333875c331d3158afb185a3b4c1e503ca0b2cf8f0881 +SIZE (arviz-devs-arviz-base-v1.2.0_GH0.tar.gz) = 2663518 diff --git a/math/py-arviz-base/files/patch-pyproject.toml b/math/py-arviz-base/files/patch-pyproject.toml index 02ed539d55fb..722d78dceb1d 100644 --- a/math/py-arviz-base/files/patch-pyproject.toml +++ b/math/py-arviz-base/files/patch-pyproject.toml @@ -1,4 +1,4 @@ ---- pyproject.toml.orig 2026-04-17 15:46:57 UTC +--- pyproject.toml.orig 2026-06-12 15:47:52 UTC +++ pyproject.toml @@ -5,7 +5,7 @@ readme = "README.md" [project] @@ -17,4 +17,4 @@ + "numpy>=1.26.4", "xarray>=2024.11.0", "typing-extensions>=3.10", - ] + "lazy_loader>=0.4", diff --git a/math/py-arviz-base/files/patch-src_arviz__base_____init____.py b/math/py-arviz-base/files/patch-src_arviz__base_____init____.py new file mode 100644 index 000000000000..ec3effd5d1d9 --- /dev/null +++ b/math/py-arviz-base/files/patch-src_arviz__base_____init____.py @@ -0,0 +1,51 @@ +-- Defer the numpyro converter imports until they are actually accessed, so that +-- importing arviz_base does not require jax/jaxlib. jaxlib is not available +-- as a usable package in FreeBSD Ports, and these converters are optional. +--- src/arviz_base/__init__.py.orig 2026-06-12 15:47:52 UTC ++++ src/arviz_base/__init__.py +@@ -13,14 +13,26 @@ from arviz_base.io_emcee import from_emcee + from arviz_base.io_cmdstanpy import from_cmdstanpy + from arviz_base.io_dict import from_dict + from arviz_base.io_emcee import from_emcee +-from arviz_base.io_numpyro import ( +- from_numpyro, +- from_numpyro_svi, +- NumPyroInferenceAdapter, +- SVIAdapter, +- MCMCAdapter, +-) + from arviz_base.io_pystan import from_pystan ++ ++ ++def __getattr__(name): ++ if name in { ++ "from_numpyro", ++ "from_numpyro_svi", ++ "NumPyroInferenceAdapter", ++ "SVIAdapter", ++ "MCMCAdapter", ++ }: ++ from arviz_base.io_numpyro import ( ++ from_numpyro, ++ from_numpyro_svi, ++ NumPyroInferenceAdapter, ++ SVIAdapter, ++ MCMCAdapter, ++ ) ++ return locals()[name] ++ raise AttributeError(f"module {__name__!r} has no attribute {name!r}") + from arviz_base.rcparams import rc_context, rcParams + from arviz_base.reorg import ( + extract, +@@ -54,11 +66,6 @@ __all__ = [ + "from_cmdstanpy", + "from_dict", + "from_emcee", +- "from_numpyro", +- "from_numpyro_svi", +- "NumPyroInferenceAdapter", +- "SVIAdapter", +- "MCMCAdapter", + # labels submodule + "labels", + # rcparamshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a724750.3c653.7049af4c>
