From nobody Fri May 1 04:29:28 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g6J3L5wZMz6blxx for ; Fri, 01 May 2026 04:29:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g6J3L10Trz3H4N for ; Fri, 01 May 2026 04:29:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777609774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q6hTes7+Gy5ZcHKI0H95b3Wmch6UpSZ0h8c9lMHvHjY=; b=TAU+laQIYrFhn6Fj9Wj0svKje/tLfGUe/lhlVB4Py3nOWYyKnGloJgYc7LXbP1CAaTkhBK 5It+F52jZyuo0eOKx28Cn5GaqOHqMA621+T53PEY6DYz02GIn1aPJz3SPBwYWmhNSvts3C 3w4AlD1owov53HATXuQBHrTZsOiUCtaIx3JCu/PHgi039Ztya3AgSOvXaxf4FL4qFq7STz AK/gTFtxUo4jr3mqqiuwX93FqB/B+Tbl52SNQE8FZyi/veGLIR/AIICsDb019uJbDX1AS1 GPtKvrII4dLe8VsR5TjAW5tABvu7d3wNseeS1b65zwlznTw3Dq2LZfoLuGdwxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777609774; a=rsa-sha256; cv=none; b=MHcqVBsPKQ8FoEeS2tz5qKr6XkPD9gcBMgv/5A6LkVAPc0zLnZf6T0creSo6NzW4HuJznd lyfOtV/beiauwqlzwwxqlB2v8G0sxMUyh6EFZHmBPXqexWyVxCP8zp1HctdKttBML7qRbP L1aU3OuPsDt743XcanG9iFf2LdPdSCD8TxZcqyzBs6MEsW+B+zbjRJz0roVkpQtCaPADU5 FGbnK4T9OJkhlR5NA2CNeV9zLw/sf4yAXybSZk/ey+BfhZU6Ejw9a5EZ9FrdODOIazGyIc PXphpTBncAbroVlQnPdwPuJv449NIbYm50fWXxuiXjvUPQ0Btsc2QDvbjv/OfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777609774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q6hTes7+Gy5ZcHKI0H95b3Wmch6UpSZ0h8c9lMHvHjY=; b=rE3QywYC3PFGoj1cnE1bz2YGndRYkrKg6OgMYu6OWPnz+bx/fnOoydisJFFP3zKr6b8cPW 6SJiXz9ckZgu2dJMiqH73lwFepLxLLOhq0k5GdWP9dRwgeF/4aSK1DnkI/9wwpFwjlyyVI tep4N9lojYgHQFK8Kn69503WshyXczCIK51MN3T214bFL9I2S8xU+7Gnrh6DxAm1+/z6EB Lz4mNz9dioJEtJe15z/AJa/iZn0u3V46Tz1mp3CdFV3EeGslRaN1FT/5BcGMTqhVgr9j8s xX/6a2dVDVMdAmHMbA/jhkNGtXlZBPK4mX8i5w2mKv51ecPlJuS2tmho12WESw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g6J3L0ZZFzjrK for ; Fri, 01 May 2026 04:29:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1e0d5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 01 May 2026 04:29:28 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 5757d961e7be - main - audio/py-torchaudio: update 2.=?utf-8?Q?10.0 =E2=86=92?= 2.11.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5757d961e7befde86f316a9b24f14d18df13fd7e Auto-Submitted: auto-generated Date: Fri, 01 May 2026 04:29:28 +0000 Message-Id: <69f42c28.1e0d5.3b8a3272@gitrepo.freebsd.org> The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5757d961e7befde86f316a9b24f14d18df13fd7e commit 5757d961e7befde86f316a9b24f14d18df13fd7e Author: Yuri Victorovich AuthorDate: 2026-05-01 02:40:45 +0000 Commit: Yuri Victorovich CommitDate: 2026-05-01 04:29:24 +0000 audio/py-torchaudio: update 2.10.0 → 2.11.0 --- audio/py-torchaudio/Makefile | 6 ++-- audio/py-torchaudio/distinfo | 6 ++-- .../files/patch-tools_setup__helpers_extension.py | 36 ++++++++++++++++++++++ 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/audio/py-torchaudio/Makefile b/audio/py-torchaudio/Makefile index 6b82cf039ad3..a9be8c7b4a58 100644 --- a/audio/py-torchaudio/Makefile +++ b/audio/py-torchaudio/Makefile @@ -1,7 +1,6 @@ PORTNAME= torchaudio DISTVERSIONPREFIX= v -DISTVERSION= 2.10.0 -PORTREVISION= 1 +DISTVERSION= 2.11.0 CATEGORIES= audio python # machine-learning MASTER_SITES= https://downloads.sourceforge.net/project/sox/sox/14.4.2/:sox PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,6 +26,7 @@ LIB_DEPENDS= libabsl_symbolize.so:devel/abseil \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}SoundFile>0:audio/py-SoundFile@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}torchcodec>0:multimedia/py-torchcodec@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expecttest>0:devel/py-expecttest@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest @@ -39,6 +39,6 @@ GH_PROJECT= audio TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -# tests as of 2.10.0: 8 failed, 37 passed, 2 skipped, 75 errors in 308.41s (0:05:08) +# tests as of 2.11.0: 592 passed, 4 failed, 473 skipped (segfault in rnnt_pipeline_test upstream issue) .include diff --git a/audio/py-torchaudio/distinfo b/audio/py-torchaudio/distinfo index b8e5a5f1c867..3cf169ed05a6 100644 --- a/audio/py-torchaudio/distinfo +++ b/audio/py-torchaudio/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1769235027 +TIMESTAMP = 1777543942 SHA256 (sox-14.4.2.tar.bz2) = 81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c SIZE (sox-14.4.2.tar.bz2) = 935449 -SHA256 (pytorch-audio-v2.10.0_GH0.tar.gz) = d0d0d9575025eb85150356a0b0de75b553484838006af17a62470b52d59845d1 -SIZE (pytorch-audio-v2.10.0_GH0.tar.gz) = 74300957 +SHA256 (pytorch-audio-v2.11.0_GH0.tar.gz) = 599ec24e7e1eef476ef21f0178e33da00e2434f930ba42e9cc20bf4002220486 +SIZE (pytorch-audio-v2.11.0_GH0.tar.gz) = 74293948 diff --git a/audio/py-torchaudio/files/patch-tools_setup__helpers_extension.py b/audio/py-torchaudio/files/patch-tools_setup__helpers_extension.py new file mode 100644 index 000000000000..f084e0dee37c --- /dev/null +++ b/audio/py-torchaudio/files/patch-tools_setup__helpers_extension.py @@ -0,0 +1,36 @@ +-- Fixes compatibility with newer setuptools versions that require +-- extension sources to be strings instead of Path objects. +-- This is necessary because setuptools.Extension no longer accepts +-- pathlib.Path objects in the sources list. + +--- tools/setup_helpers/extension.py.orig 2026-04-30 10:45:29 UTC ++++ tools/setup_helpers/extension.py +@@ -106,8 +106,8 @@ def get_ext_modules(): + extension( + name="torchaudio.lib._torchaudio", + sources=[ +- _CSRC_DIR / "_torchaudio.cpp", +- _CSRC_DIR / "utils.cpp", ++ str(_CSRC_DIR / "_torchaudio.cpp"), ++ str(_CSRC_DIR / "utils.cpp"), + ], + py_limited_api=True, + extra_compile_args=extra_compile_args, +@@ -115,7 +115,7 @@ def get_ext_modules(): + ), + extension( + name="torchaudio.lib.libtorchaudio", +- sources=[_CSRC_DIR / s for s in sources], ++ sources=[str(_CSRC_DIR / s) for s in sources], + py_limited_api=True, + extra_compile_args=extra_compile_args, + include_dirs=[_CSRC_DIR.parent], +@@ -127,7 +127,7 @@ def get_ext_modules(): + extension( + name="torchaudio.lib.torchaudio_prefixctc", + sources=[ +- _CSRC_DIR / "cuctc" / "src" / s ++ str(_CSRC_DIR / "cuctc" / "src" / s) + for s in ["ctc_prefix_decoder.cpp", "ctc_prefix_decoder_kernel_v2.cu", "python_binding.cpp"] + ], + py_limited_api=True,