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 4jD7L42wDMz6xkq3 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 4jD7L36pVTz4X7h for ; Mon, 26 Oct 2026 22:18:03 +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: in-reply-to:in-reply-to:references:references; bh=IGYTc6f8NS+juPahpktbtWUmRZ5Foxl6UkBi3k0ws3g=; b=EoOWcB+nFjJ/QmNqLAESrxpoeRhysI/+ApiCHFVtlPR/chZWzCTjtX1Cn4L9hAwrCbE6Nu 0z5K0xEZNKaDFmWIU53nTPuMbM70B13osCoC7zxH0BkvVeek/yRKalc8a75f01UpKFJ6Hm GVfzZhQ7YIW3/Trcs5rQRDTavX1tCL/m8/qgXNSib5uPf3OyH2snLBI7MXjwMBfPBWmvQ5 foRDtSa3dUSUaAHyHoeRCarkRBahnh00ruLRyrPzbSwdGMwisv6znQ/wp82l9Hlef4lgpk DxEpIdG9Cn3TRnEEQ0mMJHuOjcsYsJpOjOBCMX4unrUqWEIUSsattz6gT/+cxg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793053084; b=Bf+g2e2amzjm1+Jo5oCPreGExJS2mDekCK/35tCcwW02rygkf9R+ZQiTPRX7gO75lDg49l X/d9Ov/ByiZVVnJYcjFnPcmzGXbnf0m8bLe4WQPrZk6G8NDKNcTl0zATr6mxKecPw0kW0S pXQwHb+cY7nMd4IYYa26iIRrTxmBd7zCS53GE0kQ1rZ6U2j+z1fscRzh40rXLfkp1o05jU ibnJEAxGqGTSltwxks+P+HWHmfSUt93Y7nX6lJYWOncN2/LGvI+hxtIPhoSmSg5DCm6RDG B4ctK9zSDVukELbdXPFS3agANNx11vWCrpjAPBOly+XxJ0VUPHVn99cD+rG+tQ== 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: in-reply-to:in-reply-to:references:references; bh=IGYTc6f8NS+juPahpktbtWUmRZ5Foxl6UkBi3k0ws3g=; b=Jnw+X45bkR8uifLe19XqsJAlJdpBsblDGxhwO21zYEkqekHtoxy5B7JADv2kgP9Z71RvTD qugjvWjd9o0V6bygCctCYBi0/d0bnPtALy7V26b4hM5Hf8LsgMbKO2CyTP1/lKd4tbr0Ec /nukf1MiaNsROlRf0gG2lcugR3WLvZvSFpv1NnFyNp6gSuC8vPgWHGuSgrPADZFPf220b3 p74AVasp2omXVGRs7UU5B1xeqJ8XXMNAT8uGrFdo0rPka1Yp5u3Ra0TUierL3/todeGIyh tXdhOmPfvJCARR5WeZj7FJpECiRAT+/Hk2QqaE2r7vYZ6o5l4V2B1vhE2MfH0A== 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 4jD7L36TQvztN2 for ; Mon, 26 Oct 2026 22:18:03 +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 69QMI3DD053066 for ; Mon, 26 Oct 2026 22:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69QMI3Ql053065 for python@FreeBSD.org; Mon, 26 Oct 2026 22:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 300116] archivers/py-warctools: Update to 5.0.1 Date: Mon, 26 Oct 2026 22:18:04 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-python (Nobody) for maintainer-feedback: Bug 300116: archivers/py-warctools: Update to 5.0.1 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300116 --- Description --- 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).