From nobody Thu Oct 22 21:31:08 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 4j9fTm2K1yz6wY55 for ; Thu, 22 Oct 2026 21:31:08 +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 4j9fTm0nM3z4v84 for ; Thu, 22 Oct 2026 21:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792704668; 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=vk0HqRJkZn9P4XVVDYbw5UwE8GG3Zd5QMRLzo4utdD0=; b=hvZxdkx4oMfZHnyO5aNJiqqJu4SUDgK6tGn/jsj0/ugZbqyv9Nx/VQMRetMCSXKhHtuSGJ EauToxpH6V57cWpCHVyiHSoGSmF7gAwhud5lnsn1zuSeaXzdfuKbL+gNrgCLVjmfuYjS9L aQ59kwIeYNmgXAdhFBIYr7FXWQVQWO/Em37dFpmvObBMEj3/ySTpuUyEeZypn7/1NF0kGT 0LumrdSZhq5c3AJydaU+LqpkRzJ1N5ApuifSPL4xATggzkrKNSdPn/in12mE2OfU3mavUA HA2oiHs6cv2eobYZge+DXmirB/eWP0d3pneXcxq3g3saAextX/rgOv2FSvdeDA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792704668; b=a5DWEETRR5WJDrEPjS87LY27DFJsZa9cyqVukrUxix/IxPFdYq2m3I2jZEeRFIVGGuRnyt 7EroVbnvyk9pf+ynakOEvjf3+cc+KqtxEuhQAoaH0b+nGMn27gh9jdkGhjhaet3x9peY7i y5t7WRKkPF3ubwKK/bgkC9pZY1RXLxm3yUHR4PQd5tR618n0alFi+m9QksGYZuqVTUHdr1 lzkayQuMdSuOaVDybNfOekRJ0nVJgLyKOHBO06by2N7wu0mfr7LPWomY/VBuNqZYVaqHaE HhNeSi4mm1VXdzmw6rZ6hkCPM3/iv9z9zJt58SgKSMc2/Lgw/UwTcTxW09UNyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792704668; 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=vk0HqRJkZn9P4XVVDYbw5UwE8GG3Zd5QMRLzo4utdD0=; b=kJ0M58/TDUWj6GLLV/83ionxx6N+62Fh/Ybgf6hx1GbP2YRzimGL6owOiaAJw1C6zPLxP8 bQf5x0S9+AkC+Qva4ORoBcn426u8X65YlS92acFkAs62k7Ac9ulM/iNsCGZ6tI1iY6owpN S2Jqq+/GX5ztGtj/NipjOWCP8et4Nwsb9GJTCkkS5nTq3jxck6JHOLmlzy8+lu9EKSWlVM IzRT5gyh1v21LFRqSVMq3eU15GoHft/LMdSTB+O72bW0QqhjW9lEKdHSha1w2FT1H73UeE N2UdXGJjIQPfnWmQNHuS16pI+3C8pFb960eGPElcm3mLPVqcG4VLY2RUkPA4Cw== 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 4j9fTm08NNz105N for ; Thu, 22 Oct 2026 21:31:08 +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 69MLV7Ro000359 for ; Thu, 22 Oct 2026 21:31:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69MLV7nm000358 for python@FreeBSD.org; Thu, 22 Oct 2026 21:31:07 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 299752] textproc/py-humanfriendly: Replace pipes with shlex for Python 3.13 (humanfriendly.cli fails to import) Date: Thu, 22 Oct 2026 21:31:08 +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=3D299752 Bug ID: 299752 Summary: textproc/py-humanfriendly: Replace pipes with shlex for Python 3.13 (humanfriendly.cli fails to import) 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) humanfriendly.cli, the module behind the humanfriendly console script, fails to import on Python 3.13: $ python3.13 -c 'import humanfriendly.cli' ModuleNotFoundError: No module named 'pipes' humanfriendly/cli.py and humanfriendly/testing.py do `import pipes` and use pipes.quote. The pipes module was removed in Python 3.13. The library API (format_size, parse_*, terminal, ...) does not import either module and is not affected. The patch replaces pipes.quote with shlex.quote in cli.py and testing.py and bumps PORTREVISION. Misc changes: - the port switches to USE_PYTHON=3Dpep517 (the package metadata becomes dist-info) - the patches in files/ get a header saying what each one does and its upstream status (Description, Issue ID, Changeset, TODO) Impact: 17 ports depend on py-humanfriendly; they use the library API, and none of them needs a change. Tested: poudriere bulk on amd64, both with Python 3.12 and with DEFAULT_VERSIONS+=3Dpython=3D3.13, after the pep517 switch: builds, installs the package metadata as .dist-info, and the modules import from the built package (only optional extras are missing). Upstream: 10.0 (2021-09-17) is the latest release and the project is unmaintained; GitHub master still imports pipes. --=20 You are receiving this mail because: You are the assignee for the bug.=