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 4j9fTl743sz6wY7d for ; Thu, 22 Oct 2026 21:31:07 +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 4j9fTl6Wrnz4v9t for ; Thu, 22 Oct 2026 21:31:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792704667; 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=lDhJYeXsHDNjeHUyvniGEIpehmGF2SMlhcP1eM7bck4=; b=ye3R91ayyI8nK/kdrbMKloPLeOm1cCcumrTj1EplsuMSUfZFqvKK03r9HcKoXe/aRRCuCV xl1jXj8ipwY2wBpJkSp821VuwiR6u4o4e+LCe5eYjOeENak1Pn+rK9yJ6e3ljpHim4bAzd lAxZoXJuH7BbLaa30Txde8AkotCFo8N9t8DMX826cAqL+xIYRhU3nn/Y8RRYkRT1iQ6D7f byvK5m+GzXdtRiTSVyf9wYPaiCOZ04GuTKXSJENrdJlP5lExfuFB5xXov9WfPOFeOFcVRB wQ/hbGhtgbeqh9Bioy2YJqmgr1K0UrJxXrQYTGgScS1tfMrH7rXS3fRMbYF6Kw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792704667; b=B6ihS+ViNqUrU1a8kyN8YF63wqdTMbgUSLw8X4HKxKhjekk7daG0TIbjbvPQreYqLYWFHX gt+ZJAoPHWWWtS+wlI+32MorMFEZnQvQ/YC2LE0DQZcVtxJcJaXH75CCJLGf1mx+bUUUHr B1U51vKQSZO5upu1afwmsAzqzjFqOwGCDbtSbVriW9E2ap5/Hub6ChxMCboPPs433D92rb xJmhN5RnsxktqpFr+iPtWhGxp3nAg7G/NkmcVrJ5my1AARmSCWAMNykKDYbj3txJ173J07 1moAmDaDNyy1eupvCBxkPG9PcE0btIpNgfzz+tbV981Of7Sg1RUUxEv3MX0MPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792704667; 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=lDhJYeXsHDNjeHUyvniGEIpehmGF2SMlhcP1eM7bck4=; b=EbfJwrbHsbOyDtZfmDtItnsxHVzTwt+HRQTvueRQbXYHd7qXKb/iK0IJaba9JpM/Oexnie IVYNhRvItemQ6kdcG6LxGa1mfx2VPPbKzruVuEfWXw4T91c3hMzuSQzbmXOt5oM4liZDu9 Hr0zSE2ot1TxprG9zU6cMcs71l/Rm7D4Re7YEwKxxVtgnHmTnq4U+YAQ3T4IeJ7lt1wV4F Bo0onlp0v2p6HVQBhlpoHF/iUdJ+VnMJG7yy961YrXYiOefEUQ1kn3d77KCEqY4Ly8VZZm Acawm1sQ+Q47XhayW07eEhZ7i7eOrj5MJfn8pyf5p39S5XOw7SB0BBqMGhWfSg== 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 4j9fTl6BJDz107w for ; Thu, 22 Oct 2026 21:31:07 +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 69MLV7Y0000351 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 69MLV7NK000350 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 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 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-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 299752: textproc/py-humanfriendly: Replace pipes with shlex for Python = 3.13 (humanfriendly.cli fails to import) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D299752 --- Description --- 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.