From nobody Tue Jul 18 23:30:58 2023 X-Original-To: ports-bugs@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 4R5FZB56Vyz4mqdX for ; Tue, 18 Jul 2023 23:30:58 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R5FZB3z3dz3N7j for ; Tue, 18 Jul 2023 23:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689723058; 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=VlH9rNZPWgJJ0/razieiuJ81JX94l664r0X/srSyRGI=; b=XlseQ43LVd34mrg+PxxOFvv4EL4DW6vgxDzUM9V6ntCMutij3FVku04iZwmYi/vib5EJeS UnknKm0gGvu7mMAdrPFXkh1mkbItK4yG7IBwaUfnXk5V9KoQFXRBmCqTjTCuLZ5VD1t5qa fESehUZt3jzY79m1ZZPfKLgYHTjHUAqp8WOUB2XzF4mdR4WFU83LdpqSsYjOADUfPXA3hE rAP+ivcv66pGPkoyhQitVs9UMSC/wN/nsDkTPf08YzJysLQfQGjjPIEjQLUfrtsyMZnyNF j6wmUugLmPAI7dSC1j14p5Vr9SObjeG2JxDjsb6/NvhmdpItGvlEgOmeB3GA0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689723058; a=rsa-sha256; cv=none; b=UbJednddvwRuqUy9giPwbrie9+ERnTXU3TAgEAQXUtw5RApC8Bj31ikAJmNtLTjLeZMO77 KW0kyXeQF7uBOXMh3bU7WsaEHlsWteM2CgtMYFfCV6aDTz0EmVrJML80MWuX8z/N80CAnM ZfD6dtrj4AMSAKEr/C7LY48fWpkO7D9hX7+QDk3cN2q3WJ1SvF7nuEkwCMElSHIysH1MHs uecynWmDr1q6U2lBc2vE8qhPnnBP/1uRgZraGibWFGsPcbawS+yrA1btQ1ILcR3LMtcA13 +DlMZz54hm/6So1tu5CWG2JMhOe1HozlUz5ZeExcaDZbRl+DSPY1ldgceMnkLg== 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 4R5FZB2ymfzPZK for ; Tue, 18 Jul 2023 23:30:58 +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 36INUwbv062071 for ; Tue, 18 Jul 2023 23:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36INUwA1062070 for ports-bugs@FreeBSD.org; Tue, 18 Jul 2023 23:30:58 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: ports-bugs@FreeBSD.org Subject: [Bug 270510] python.mk: remove setuptools from RUN_DEPENDS Date: Tue, 18 Jul 2023 23:30:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vishwin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? X-Bugzilla-Changed-Fields: dependson blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270510 Charlie Li changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |272584 Blocks|272584 | --- Comment #4 from Charlie Li --- Quick glean from exp-run and some RUN_DEPENDS snooping reveal that setuptools_scm, hatch-vcs et al specify setuptools in RUN_DEPENDS. Technica= lly correct per upstream package metadata, but causes environment pollution with our build processes. Still need to check for any pkg_resources consumers bu= t I doubt any exist anymore. For documentation purposes (will add to wiki later): RUN_DEPENDS should never contain ${PY_SETUPTOOLS} unless the port in questi= on is a leaf port (ie no further consumers). Those ports that specify setuptoo= ls as a runtime dependency in the Python package metadata should have their consumers specify them instead. The ${PY_SETUPTOOLS} dependency line return= ed is only correct for the port it is used in. As different setuptools versions cannot exist concurrently in the same environment (chroot, jail, Python vir= tual environment, etc), it is essential to prevent environment pollution via RUN_DEPENDS, especially when multiple ports in a dependency chain differ between USE_PYTHON=3Dpep517 and USE_PYTHON=3Ddistutils. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272584 [Bug 272584] devel/py-attrs: Fix build with planned changes to RUN_DEPENDS = in Mk/Uses/python.mk --=20 You are receiving this mail because: You are on the CC list for the bug.=