From nobody Mon Oct 26 22:18:04 2026 X-Original-To: python@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 4jD7L44Jh1z6xkwL for ; Mon, 26 Oct 2026 22:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jD7L41fm4z4XGh for ; Mon, 26 Oct 2026 22:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793053084; 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=3Zp2s5vfZ3aOeOsv0VH1LrAxKPmYuLojLnRkPdVJ8mA=; b=BSypwOEm3Nx27RJnR+xGu7HhI38EYm7Ib6V4Jyk43xjuaio9VY8QPBCr2W0pbqlK3+KbXm 1IRghegWRaoQ2s5KgbQb4YV42igUlmrtnu9Vea0Jmi/f/fSQUKJWov+zDN+Sthx6nHztr+ gwThWjhWeEONbISKuaADrwic/fGKknJ4ZuE6b3wu5IxXT2yoMT3GS1kzoJUrZSCnSRWS43 RRwN3r3JzOJrXuLoC4HQaJSEGJBSbBcN2cGf6l7ctpOXPbC5lR0c0zyUYlC1cF4h89nIl1 yEDy9g8rA3ZFdAa9+6HDimOTeHQhF6AQCfMPIXlrTWIOAgTHZsakQ0j12LEHOA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793053084; b=E7pWS6pmip3fNbCk8+bhZjZYP+3u9aN6G2AYWx/PSjit/p6c0AKN5ZjlXanDqWf9m1ZCNm +shwz691c4iEklhdKzntIDjZELcEq6SzzHNXTaH3W8BM6p5Jcqvhpvp7leCU+BkVFwdqKw N9O//hrnrWuQxV8ttFF7TPbmYN75OjA5qI16PLs02s/zYOYBuzYd94LUJXCndNU/XhFxeF kw3YRRBsA/fTSSjvsG+NzjLYLzU6Fyx9y9Ik1hRzIv0rSj251q82GqfZEbJlxUJMWdVdtl 7EFDRG/9gVClYLA8lpp6JTPbeIKCUUeHRgO7C1qwza5usnYwhUqlYjlWHOEqQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793053084; 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=3Zp2s5vfZ3aOeOsv0VH1LrAxKPmYuLojLnRkPdVJ8mA=; b=rUtLVE7Cnmmrx83T0lorUZd3n4Du6xVBNmPBWcIREAHSV5HYDBJX4Mu3C1BGMp+qI86RBU W8zAtV8JxLengs+Hh6zVYz6gqSPiG93Hyn6uF0SM1Z0emCpGN1BE8v9OPD6OoXd5uVh4Km NHLZZ0CGXMTUgHvu4g661tGr1j0u0AU4wH/T081cpd9BcaU4SzYIiLKYiikWE1UCJwDtyj Dt9cM6uhK/T3J6mb0Q7UNV5lXiYZSbTDLvoAWIcAF2HHHXJybY9qMOHF+Ie+F6PKd4BK1E 5qY/TGbpqODQbXDcDP4gYFpD+4C1oBgL166UfwKA7KI9XPGc1odh5svdfbMtPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4jD7L413R9zsgG for ; Mon, 26 Oct 2026 22:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 69QMI4Tr053078 for ; Mon, 26 Oct 2026 22:18:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69QMI4BV053077 for python@FreeBSD.org; Mon, 26 Oct 2026 22:18:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 300116] archivers/py-warctools: Update to 5.0.1 Date: Mon, 26 Oct 2026 22:18:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: patrick@crandol.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Archive: https://lists.freebsd.org/archives/freebsd-python X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300116 Bug ID: 300116 Summary: archivers/py-warctools: Update to 5.0.1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: patrick@crandol.com Assignee: python@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) hanzo.warclinks fails to import, on any Python version (3.12, the current default, shown): $ python3.12 -c 'import hanzo.warclinks' ImportError: cannot import name 'HTMLParseError' from 'html.parser' (/usr/local/lib/python3.12/html/parser.py) html.parser dropped HTMLParseError in Python 3.5 (HTMLParser no longer raises it). warclinks also compares the record types, URLs, headers and bodies that warctools returns as bytes with str, so even when it imports it logs an error per record and prints no links. The patch defines a stand-in for HTMLParseError, compares with bytes and decodes where needed, and updates the port to 5.0.1 (2025-08-18): - 5.0 moved to a PEP 621 pyproject.toml with a PEP 639 license string, which needs setuptools>=3D77; files/patch-pyproject.toml puts back the license table for the tree's setuptools 63.1.0; - the same patch keeps the hanzo.*.tests packages that the sdist now ships out of the install: they are excluded from package discovery, and include-package-data (on by default with pyproject.toml) is turned off, since it would otherwise add their files back from the sdist's SOURCES.txt (warctools has no other package data); - LICENSE_FILE is added; - concurrent is added to USE_PYTHON (bin/arc2warc, bin/warcdump, ...) and the patches in files/ get a header saying what each one does and its upstream status (Description, Issue ID, Changeset, TODO). Impact: no ports depend on it. Tested: poudriere bulk -C -t on 14.5-RELEASE amd64, both with Python 3.12 and with DEFAULT_VERSIONS+=3Dpython=3D3.13: builds, all 21 modules import from the built package, and no test packages are installed. In an earlier build with the same warclinks patch, warclinks printed both links of a generated WARC file. Upstream: 5.0.1 and master still import HTMLParseError; the fix has been submitted upstream (https://github.com/internetarchive/warctools/pull/39). = The setuptools requirement that the PEP 639 license string needs has been submitted as well (https://github.com/internetarchive/warctools/pull/40). --=20 You are receiving this mail because: You are the assignee for the bug.=