From nobody Thu Oct 29 22:25:02 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 4jFzLk23Kdz6xlPf for ; Thu, 29 Oct 2026 22:25:02 +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 4jFzLk0nTkz4cxq for ; Thu, 29 Oct 2026 22:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793312702; 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=8o5V229c1z9oEXVtwtmcI68EvEXOqRdQG7S17LwUO7E=; b=EbfQX+NAFHlp5nExao9wcInUJijIZrER8kgidgPAmvSP5yfZ13QTxsB04xBLnH3/i9NBaP 2KlXMmkYfR0BlVxnRAhlaSQISU0bSNJw8R2SqwZ33ovWkwWZx2zjf1V7mu5+Ut+MtlVQUW 5LGa5HUxm7Bw1nloy0y1WJhjtXA9bMya43saVPmakCwfvvMQZu9Z7I5JBEo9wvtj9CqSNk +0noYiqgt19XehBI8oCzrdOWizs6Zy1lX0nJNvk8U3fgwK4DCTaCXksoGteBYnSHsMwHuf Xm8P8snO4V7wsisvbwY4a1iZST0OH5OJKPxllJfzvA22qmFnUJ3h6022mDHQhQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793312702; b=DUOLcNgQTxYXaW0v8TJeAb5pL46HvOXYnxzgv7DpA8MchXFtROujsjyKcUMBIH+J8aXAQV w5uNzWkficEFRmeJ08CNXgVWek/HAB4+vi1jCHY+jryM96GQp7xXjQBoAXNt61XeDsxqAH b/SaFQ+et8Y+Cuiz35E9yu2nykHFlBke0sDl63i7yEz7oaPhhdgNXtdZ7m1J1Nr8sDxoti jCc1x/+JG+doqj65B5HNAa5TqfXGtpyfy89ZdlK4OeYUOz7mYRO6Px0QPSBt5v+Xv6ERpE JgQ1qFyOsBVchwc6GuzwE6e7tMXmjJ9svHZ7clQchd40sE/8k4ViRofshQU1Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793312702; 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=8o5V229c1z9oEXVtwtmcI68EvEXOqRdQG7S17LwUO7E=; b=TyTnoRlOMmWm4OCm0QTgviexuYTKVsOe4lzBlCoRPltdq+BdYrp2oRQ/vnp6CkZVd+VGVt h3wONv48lbutHqg6blsYhP+02S3zQcuIfhQCOiwiLcQuNfS/c0IIOZH7W8ss8Y/3iSDDPR 9qrz2z89GYsQOw+7pxX1nkBxzVHDAv0+NbO98ML7NqTr3uW5Mc2sFzQTPUpGBXd6Onp7ac /zQct1Oi64YC05UeJsAt+eT6V1gJjgez9UieLwDB7RiPx4gyE0Kpauk3ouQ1ybxWcJzqbD SriIitZwvWPdNSCQwi0aAnaaUUUVIsGVhSLFxJd36ps2R0VHwgCxDYLBUh8HCQ== 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 4jFzLk09Nvz107x for ; Thu, 29 Oct 2026 22:25:02 +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 69TMP1Vl020492 for ; Thu, 29 Oct 2026 22:25:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69TMP1JQ020491 for python@FreeBSD.org; Thu, 29 Oct 2026 22:25:01 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 300268] devel/py-py_interface: Fix import on Python 3.10+ (erl_term imports collections.MutableMapping) Date: Thu, 29 Oct 2026 22:25:02 +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 300268: devel/py-py_interface: Fix import on Python 3.10+ (erl_term imp= orts collections.MutableMapping) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300268 --- Description --- py_interface cannot be imported on any Python since 3.10 (3.12, the current default, shown): $ python3.12 -c 'import py_interface.erl_term' ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/local/lib/python3.12/collections/__init__.py) py_interface/erl_term.py:55 does "from collections import MutableMapping as DictMixin". The ABC aliases in collections were removed in Python 3.10. erl_term is the term codec and is imported by erl_node and erl_node_conn, the main API, so the whole package is unusable. The patch imports MutableMapping from collections.abc instead and bumps PORTREVISION. Misc changes: - the portlint warnings in pkg-descr are fixed - the patch in files/ gets a header saying what it does and its upstream status (Description, Issue ID, Changeset, TODO) Impact: no ports depend on it. Tested: poudriere bulk -C -t on 15.1-RELEASE amd64 with DEFAULT_VERSIONS+=3Dpython=3D3.13 and poudriere bulk on 14.5-RELEASE amd64 with Python 3.12: builds, passes check-plist, and all 9 modules import from the built package. A TermToBinary/BinaryToTerm round-trip works on 3.12. Upstream: 2.3 (2018-03-13) is the latest release and the upstream repository has had no commits since 2018-01-03, so there is nowhere to send this.