git: 0bfc3e9a5e53 - main - misc/py-wandb: update 0.29.0 → 0.30.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Oct 2026 20:01:50 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0bfc3e9a5e53300766651db9ba7a030ac6450fee
commit 0bfc3e9a5e53300766651db9ba7a030ac6450fee
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-10 16:36:41 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-10 20:01:40 +0000
misc/py-wandb: update 0.29.0 → 0.30.0
---
misc/py-wandb/Makefile | 31 +++++++++++++++-------
misc/py-wandb/distinfo | 6 ++---
.../files/patch-wandb_sdk_wandb__settings.py | 23 ----------------
3 files changed, 25 insertions(+), 35 deletions(-)
diff --git a/misc/py-wandb/Makefile b/misc/py-wandb/Makefile
index 880a98e077c4..5d7c3dced163 100644
--- a/misc/py-wandb/Makefile
+++ b/misc/py-wandb/Makefile
@@ -1,7 +1,6 @@
PORTNAME= wandb
DISTVERSIONPREFIX= v
-DISTVERSION= 0.29.0
-PORTREVISION= 2
+DISTVERSION= 0.30.0
CATEGORIES= misc # machine-learning
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,15 +19,17 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.2.0:devel/py-click@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}gitpython>=1.0.0:devel/py-gitpython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.43.0:devel/py-opentelemetry-api@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-exporter-otlp-proto-http>=1.43.0:devel/py-opentelemetry-exporter-otlp-proto-http@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk>=1.43.0:devel/py-opentelemetry-sdk@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}protobuf>4.21.0:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=5:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=2.6:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0,<3:www/py-requests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}sentry-sdk>=1.0.0:devel/py-sentry-sdk@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.8:devel/py-typing-extensions@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.8:devel/py-typing-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xxhash>=3.0.0:devel/py-xxhash@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bokeh>0:www/py-bokeh@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \
@@ -72,15 +73,25 @@ TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
# test_azure.py, test_acr.py: require azure SDK
# test_gcp.py, test_gcp_artifact_registry.py: require google.api_core
# test_launch/test_runner: requires kubernetes_asyncio
+# test_saved_model.py, test_torch.py: require torch
# test_sentry.py: requires sentry-sdk>=2.0 (installed version lacks get_current_scope)
+# test_sweep_scheduler.py: requires the optional sweeps package, which is not a FreeBSD port
# test_references_s3.py: requires moto
# test_ratelimit.py, test_run_messages.py: require looptime
# test_sandbox: requires cwsandbox
# test_util.py: requires plotly
-TEST_ARGS= -n0 \
+TEST_ARGS= --disable-plugin-autoload \
+ -p pyfakefs.pytest_plugin \
+ -p pytest_asyncio.plugin \
+ -p pytest_cov \
+ -p pytest_mock \
+ -p pytest_timeout \
+ -p xdist.plugin \
+ -n0 \
--ignore=tests/system_tests \
--ignore=tests/unit_tests/test_analytics/test_sentry.py \
--ignore=tests/unit_tests/test_artifacts/test_references_s3.py \
+ --ignore=tests/unit_tests/test_artifacts/test_saved_model.py \
--ignore=tests/unit_tests/test_data_types.py \
--ignore=tests/unit_tests/test_kfp.py \
--ignore=tests/unit_tests/test_launch/test_builder/test_kaniko.py \
@@ -92,6 +103,8 @@ TEST_ARGS= -n0 \
--ignore=tests/unit_tests/test_lib/test_ratelimit.py \
--ignore=tests/unit_tests/test_lib/test_run_messages.py \
--ignore=tests/unit_tests/test_media/test_media_logging.py \
+ --ignore=tests/unit_tests/test_sweep_scheduler.py \
+ --ignore=tests/unit_tests/test_torch.py \
--ignore=tests/unit_tests/test_sandbox \
--ignore=tests/unit_tests/test_util.py \
--deselect=tests/unit_tests/test_data_types_box3d.py::test_box3d_always_box \
@@ -135,6 +148,6 @@ post-install:
${MV} ${STAGEDIR}${PREFIX}/bin/wb-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/wb; \
fi
-# tests as of 0.29.0: 3395 passed, 186 skipped, 4 xfailed, 2 xpassed, 4 warnings
+# tests as of 0.30.0: 3170 passed, 240 skipped, 7 deselected, 4 xfailed, 2 xpassed in 76.60s
.include <bsd.port.mk>
diff --git a/misc/py-wandb/distinfo b/misc/py-wandb/distinfo
index 0c3aa1adb12b..9755e0ce4016 100644
--- a/misc/py-wandb/distinfo
+++ b/misc/py-wandb/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1788626457
+TIMESTAMP = 1791629289
SHA256 (rust/crates/addr2line-0.25.1.crate) = 1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b
SIZE (rust/crates/addr2line-0.25.1.crate) = 43134
SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
@@ -657,5 +657,5 @@ SHA256 (rust/crates/zmij-1.0.23.crate) = 29666d0abbfad1e3dc4dcf6144730dd3a3ab225
SIZE (rust/crates/zmij-1.0.23.crate) = 28612
SHA256 (rust/crates/zopfli-0.8.3.crate) = f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249
SIZE (rust/crates/zopfli-0.8.3.crate) = 51589
-SHA256 (wandb-wandb-v0.29.0_GH0.tar.gz) = 6a066b28e81404c0b13b4cd9aad16de4d8521043f9cc4fe93d59aad69440b03f
-SIZE (wandb-wandb-v0.29.0_GH0.tar.gz) = 44413006
+SHA256 (wandb-wandb-v0.30.0_GH0.tar.gz) = 755258ae8edc891518b5b2d2f47c33f855c1f263e28fdf5317673eb0f153c341
+SIZE (wandb-wandb-v0.30.0_GH0.tar.gz) = 43989788
diff --git a/misc/py-wandb/files/patch-wandb_sdk_wandb__settings.py b/misc/py-wandb/files/patch-wandb_sdk_wandb__settings.py
deleted file mode 100644
index 99c4022d1e4b..000000000000
--- a/misc/py-wandb/files/patch-wandb_sdk_wandb__settings.py
+++ /dev/null
@@ -1,23 +0,0 @@
--- Wrap sentry_sdk import in _aws_lambda with try/except to handle the case
--- where sentry_sdk's import chain fails due to incompatible combinations of
--- installed packages (e.g., eventlet + trio raises NotImplementedError).
--- Without this, wandb.init() crashes when WANDB_ERROR_REPORTING=false and
--- both eventlet and trio are installed in the Python environment.
---- wandb/sdk/wandb_settings.py.orig 2026-04-28 04:23:53 UTC
-+++ wandb/sdk/wandb_settings.py
-@@ -1537,9 +1537,12 @@ class Settings(BaseModel, validate_assignment=True):
- @property
- def _aws_lambda(self) -> bool:
- """Check if we are running in a lambda environment."""
-- from sentry_sdk.integrations.aws_lambda import ( # type: ignore[import-not-found]
-- get_lambda_bootstrap,
-- )
-+ try:
-+ from sentry_sdk.integrations.aws_lambda import ( # type: ignore[import-not-found]
-+ get_lambda_bootstrap,
-+ )
-+ except Exception:
-+ return False
-
- lambda_bootstrap = get_lambda_bootstrap()
- return not (