From nobody Wed Aug 05 18:17:35 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 4hFdtT15Fqz6mwXy for ; Wed, 05 Aug 2026 18:17:37 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hFdtS6Thgz3gHw for ; Wed, 05 Aug 2026 18:17:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785953856; 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=f+ueSn78dhRjhzCHFGXyRSwCVrM+9736/aNtKYxHZC8=; b=Yv1DsOtngbIL6StKr2VRPHQCXzCJ4o8R0OFF1sPToHMs3dLV9USp++ZUycL4pkjLp4JFFi 9CZ5FkdZxPOki16tx4OEHgD/fmEpC8EiR6c50yjzJVj/zYPSl7ZPtg9oppACbPdiJZGB1x Ttf81PCE+qCzG0ZBRgMs9f6r/IBEnkxnwgn8hCLKtksyTz4Kha+A41l+mrS9L03z71eon/ GtuBvIX9xZ7EfyD+AdgGunJAk3Ooef5WvVi3RXPRgp3RemIho1QhVNtYPJpBhb67WMixtK fZH7xErRIjgzXcfFPvZfvW+v+ACvGQU7ZKDHSwjudSd15KSIQHWKLBvS7NQurg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785953856; a=rsa-sha256; cv=none; b=nG+wA4/pNBch7mc46SebSeEZvkCcxCZKb2scUi0ko1RARRLDeApDRsxr/vuTrLoV1Mae0Y XwS7dlgS3SLMCaXemX59jTG3jcNqbR+dMK/oB5SAtyazWeR04PCDkFnqkgphSn7DZ7hhCe t2Z7QBZb120kxcGGeD70ZKCr5Y6FbeE1jnIWXHTCscps8ss6sHgIF0E9uOo5FP98rWuNJO 7H/BrqLg1gKDkqlx+AA/oMLkMtByw0XVAPMnx51EKJ5Uh8xX9LLfEGgK4kvpCJ1ZWMqbe8 S7s3rtKy16fczH7WMlCJ68NL3MbKIUZ3JXHG2zptBdTuF2FbtCws7SQI2BjCLQ== 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=1785953856; 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=f+ueSn78dhRjhzCHFGXyRSwCVrM+9736/aNtKYxHZC8=; b=wDu4tAPx+l0GBTHAc15wNCXVcu7C7E6e/IvlNGp5Hm2kSd7CFTARhHltbAdXKDik1QMGyN OH6bBW/bkmul6rYHERWCrRGp20hPySnlIj1FuMzCUfiyXR9+SJbe3RC0CAZ4/3Qevi6m9J OK8H+sHGej9IjqKRCOuDswprX7hE9WypO89P50tGvtJqiFYzOxbDL18K6XGbbsoA+T9lnu OcRP4pxFKPj7m/GbEAFhjW9ZyeWRAyNKUK7T6HWMtc26rKIt6K6MDFgf5ZWFsSQTbGKOrf nJynsGsV8iYVTSV3fHgRKnklQjB3VxYhzXQvyaf8SrHp04+iA71jjToD6PrKyw== 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 4hFdtS5FrfzlrG for ; Wed, 05 Aug 2026 18:17:36 +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 675IHa2h055778 for ; Wed, 5 Aug 2026 18:17:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 675IHao0055777 for python@FreeBSD.org; Wed, 5 Aug 2026 18:17:36 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 291658] devel/py-setuptools fails to build Date: Wed, 05 Aug 2026 18:17:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: pg46726565425344@ailleurs.sytes.net 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: cc Message-ID: In-Reply-To: References: 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-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 List-Id: 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=3D291658 PG changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pg46726565425344@ailleurs.s | |ytes.net --- Comment #1 from PG --- Comment on attachment 266184 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266184 full build log Hi ! This bug is not a bug into devel/py-setuptools, but devel/py-wheel (I don't know how to change the information of this bug). This bug seems to me kind of circular dependency from devel/py-wheel, and affects those who compile from source and scratch. devel/py-wheel installs "/usr/local/lib/python3.11/site-packages/wheel/_bdist_wheel.py" and that fi= le has a line to ask for the installed version of devel/py-setuptools. At that point, devel/py-setuptools is not installed, and _bdist_wheel.py not executed. While installing devel/py-setuptools, _bdist_wheel.py is executed, but ther= e is not yet some py-setuptools installed, hence no version number available, and devel/py-setuptools fails to install. I added this patch in devel/py-wheel/files/patch-_bdist_wheel_py.diff and re-installed devel/py-wheel. Everything seems Ok now : ---------- --- ./src/wheel/_bdist_wheel.py.orig 2026-04-22 15:50:55.394143300 +0000 +++ ./src/wheel/_bdist_wheel.py 2026-08-04 16:26:47.567105000 +0000 @@ -66,7 +66,7 @@ return re.sub("[^A-Za-z0-9.]+", "-", version) -setuptools_major_version =3D int(setuptools.__version__.split(".")[0]) +setuptools_major_version =3D int(63) PY_LIMITED_API_PATTERN =3D r"cp3\d" ---------- HTH --=20 You are receiving this mail because: You are the assignee for the bug.=