From nobody Wed Mar  6 06:50:26 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 4TqNNh1mLnz5BtmF
	for <python@mlmmj.nyi.freebsd.org>; Wed,  6 Mar 2024 06:50:28 +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 4TqNNg6HYmz4YYw
	for <python@FreeBSD.org>; Wed,  6 Mar 2024 06:50:27 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709707827; a=rsa-sha256; cv=none;
	b=gDgc8XhQi/KgSSjhQrdnQOtVNXXa/AMpGpptAEVbtOP/XqV8TBh6U52WJbfBIPJ1eB2Rk6
	zW8U6vhjIwojxT2YqgJclr3CUx2TL02O4OXkTCU1TfnFCJ1M6MlhO2/zqe7jJpdPT7p9jp
	XGUjB0DQMV36BYL0/KJI5JwO35r2VZ36nGTPz/J2iJhkjCf145EJQ/Az3bfiykh0C8Ynvj
	/yFBrV7hE3hV5XD5V1staloXbngn9Tga+vZ6uJEUPixR3EFTaN9e+YAwNQkwn1oeWQrTA5
	gIszNu3GbpxC5xZ7YP2tSTXZ2EjpaYWYA4oj+41WX3x8Erw4M/mau2MO4FA2mQ==
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=1709707827;
	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=aD876Q/Q6cmhNMERrnVdULxqeMlmkMe3zlq/IWDuQl0=;
	b=QaTmuzXeqwiOI5RPfJ3ysyrVdr4202Bg/m2OTYcG7FPC8k1GZ871rVPIotPB3DnMmMyHJF
	UyHr6Zler33RLzUMMSn5W8jJ2OiXjcLWw9uwm2NFsBeI4sSSI16BzAWl2E1F7ymGQlDabB
	KU7rvOAXl2QhljPidP1sx8n0J8DyrNi+/NiVMbwqosGiLJUJjBa7/SI5Qip90pD0F3bH0C
	nFN4wW1vub2uguMKJAEXwvAFAwKt9jGNNJzUNn5JtnprqjiAdFvcm7xc9EtgfsteqMnYhP
	CUpAGngq6xExF5zO9dd+kBGJMN5+G1zvyyCA5BLJ8J2pzkwnNwM5qb2b5C25qQ==
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 4TqNNg5vhqzfYN
	for <python@FreeBSD.org>; Wed,  6 Mar 2024 06:50:27 +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 4266oRkP088222
	for <python@FreeBSD.org>; Wed, 6 Mar 2024 06:50:27 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4266oRUl088217
	for python@FreeBSD.org; Wed, 6 Mar 2024 06:50:27 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 277472] devel/py-setuptools-scm: AttributeError: module
 'setuptools_scm.integration' has no attribute 'infer_version'
Date: Wed, 06 Mar 2024 06:50:26 +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: vishwin@freebsd.org
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback+
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-277472-21822-IgWsWBowE2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277472-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-277472-21822@https.bugs.freebsd.org/bugzilla/>
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: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-python
List-Help: <mailto:python+help@freebsd.org>
List-Post: <mailto:python@freebsd.org>
List-Subscribe: <mailto:python+subscribe@freebsd.org>
List-Unsubscribe: <mailto:python+unsubscribe@freebsd.org>
Sender: owner-freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277472

--- Comment #10 from Charlie Li <vishwin@freebsd.org> ---
(In reply to Franco Fichtner from comment #9)
Others have suggested that this problem goes away upon finding and removing=
 the
old/stale setuptools_scm (under that old name). If this port didn't change
directories, this issue some of youse are encountering probably wouldn't
happen. Unfortunately MOVED isn't entirely foolproof. I have never encounte=
red
this issue myself, and neither have the official package builders, because =
of
the use of clean and isolated build environments that are destroyed upon
completion.

> While the over-reliance on poudriere is another topic I don't agree with =
the sentiment that this shouldn't be fixed, because poudriere is not infall=
ible and I've reported framework bugs in the past that had maintainers go o=
ut on a limb accusing me of all sorts of things until they figured it out a=
nd fixed it.  :)
I was only using poudriere as an example of a clean and isolated build
environment automation. For Python packages, poudriere specifically is almo=
st
irrelevant; the greater Python community have all but embraced virtual
environments for nearly everything that is purely Python. When it comes to
building PEP-517 packages (ie bdist wheels), we actually override
devel/py-build's default behaviour of creating and building in a virtualenv=
 by
passing a flag not to, because otherwise Python packages installed via pkg(=
8)
aren't picked up or prioritised. Isolating environments is thus necessary, =
as
some Python packages (unfortunately) pin specific dependency versions, and =
in
nearly every case, two versions of the same package cannot co-exist in the =
same
environment. It is further unfortunate that said pins are necessary in cert=
ain
cases due to feature/functionality deprecations/removals. setuptools is a
casualty of this. As a result, this reality extends to Python package port
builds, and as such, building Python package ports in-place is not supporte=
d.

--=20
You are receiving this mail because:
You are the assignee for the bug.=