From nobody Fri Jul 12 23:27:24 2024 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 4WLSRw2wrxz5R2Kx for ; Fri, 12 Jul 2024 23:27:24 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLSRw07xvz4DsQ for ; Fri, 12 Jul 2024 23:27:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720826844; a=rsa-sha256; cv=none; b=vbDhpCzfmmHVTJAjiv2rxwPkPsGdvooBc+nBPQi69/AmkEMlQoq4kQEV0GNSO5brA76F74 PYySzLu9y8Wqqc7ZxtVMwccolMpoIZkylwvCrRM5Yq4tHUxaeAz5RPi5KWWYMb/nAiqDzO 3yLOkxjH+BGyhA9CFhj15Z7iOraT3PX6qTw236CDRbObPBom0gk0Gdp7B6t8IXyHTpGGQ2 U1uyUR2lNKok5ezQ/zuTAQq56sJMdnUJ81yRPe6bW8hzprcUzuHdnGaWEdbIo3/DvCVteN LWaj1nXLH8p3rGjSElmS9GQLoDupa1KBSnHXJ0u6wA85SU7JyJDc3UsjQa87Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720826844; 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=SS3sC2WkqHuPwx73Qka3odxUFK8BP+lbgGjTj69P0V4=; b=rhGEivfk2/vuIwxboLAtp5gHzhjOhofsKJWjH/SwfcuhbSuCunSaZaTWWVNNg3JcpjrAjN OxFIZW7T2XNk6N6MXWQq/85I6GBS4SLwxjY+WDnhf+ilRjICvnClA6H30TXIT6OyZOBtw3 4ptTlAgKqj2eYRa9junELtqvA5R5jgXzLALNFYfZ39wtb/cgDqhOgAHscq6tmJEuXyLF5e TVYpWEoW6HFouPM3xAaQ6/fwaKlh/gLHWc1x+uZihSajWTLWe+FCX+xVDenjeH3BTcbb8h bDdYt7h4zx+8J92sFYO+V7qi8ee17fi91eBKpiPLEt8lU3oa5R8FnhZm7b4ang== 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 4WLSRv6s4Fz12lp for ; Fri, 12 Jul 2024 23:27:23 +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 46CNRNrY027290 for ; Fri, 12 Jul 2024 23:27:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46CNRNTL027289 for python@FreeBSD.org; Fri, 12 Jul 2024 23:27:23 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 280251] py-setuptools broken after py311 update Date: Fri, 12 Jul 2024 23:27:24 +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-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-python (Nobody) for maintainer-feedback: Bug 280251: py-setuptools broken after py311 update https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280251 --- Description --- After the recent update (using packages) to python 3.11 as default Python, setuptools doesn't work anymore. Basically ever build that uses setuptools fails in the same way; Example; trying to build a new setuptools: root@elysium:/usr/ports/devel/py-setuptools # make =3D=3D=3D> License MIT accepted by the user =3D=3D=3D> py311-setuptools-63.1.0_1 depends on file: /usr/local/sbin/pkg= - found =3D> setuptools-63.1.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/python. =3D> Attempting to fetch https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-63.1= .0.t ar.gz setuptools-63.1.0.tar.gz 2538 kB 14 MBps 00s =3D=3D=3D> Fetching all distfiles required by py311-setuptools-63.1.0_1 for= building =3D=3D=3D> Extracting for py311-setuptools-63.1.0_1 =3D> SHA256 Checksum OK for python/setuptools-63.1.0.tar.gz. =3D=3D=3D> Patching for py311-setuptools-63.1.0_1 =3D=3D=3D> Applying FreeBSD patches for py311-setuptools-63.1.0_1 from /usr/ports/devel/py-setuptools/files =3D=3D=3D> py311-setuptools-63.1.0_1 depends on file: /usr/local/bin/pyth= on3.11 - found =3D=3D=3D> Configuring for py311-setuptools-63.1.0_1 Traceback (most recent call last): File "/usr/ports/devel/py-setuptools/work-py311/setuptools-63.1.0/setup.p= y", line 87, in dist =3D setuptools.setup(**setup_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/ports/devel/py-setuptools/work-py311/setuptools-63.1.0/setuptools/__i= nit_ _.py", line 86, in setup _install_setup_requires(attrs) File "/usr/ports/devel/py-setuptools/work-py311/setuptools-63.1.0/setuptools/__i= nit_ _.py", line 75, in _install_setup_requires dist =3D MinimalDistribution(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/ports/devel/py-setuptools/work-py311/setuptools-63.1.0/setuptools/__i= nit_ _.py", line 57, in __init__ super().__init__(filtered) File "/usr/ports/devel/py-setuptools/work-py311/setuptools-63.1.0/setuptools/dis= t.py ", line 474, in __init__ for ep in metadata.entry_points(group=3D'distutils.setup_keywords'): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 104= 1, in entry_points return SelectableGroups.load(eps).select(**params) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 476= , in load ordered =3D sorted(eps, key=3Dby_group) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 103= 8, in eps =3D itertools.chain.from_iterable( ^ File "/usr/local/lib/python3.11/importlib/metadata/_itertools.py", line 1= 6, in unique_everseen k =3D key(element) ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 955= , in _normalized_name or super()._normalized_name ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 627= , in _normalized_name return Prepared.normalize(self.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 882= , in normalize return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/re/__init__.py", line 185, in sub return _compile(pattern, flags).sub(repl, string, count) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected string or bytes-like object, got 'NoneType' *** Error code 1