From nobody Sun Oct 24 01:33:16 2021
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 04FAD18034C1
	for <python@mlmmj.nyi.freebsd.org>; Sun, 24 Oct 2021 01:33:17 +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 4HcLFS6bxTz4fss
	for <python@FreeBSD.org>; Sun, 24 Oct 2021 01:33:16 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
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 C3FAA487D
	for <python@FreeBSD.org>; Sun, 24 Oct 2021 01:33:16 +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 19O1XGUT008998
	for <python@FreeBSD.org>; Sun, 24 Oct 2021 01:33:16 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19O1XGQL008997
	for python@FreeBSD.org; Sun, 24 Oct 2021 01:33:16 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 259381] devel/py-platformdirs: fails to build: setuptools_scm,
 line 84, in dump_version > fp.write(template.format(version=version)) >
 KeyError: 'version_tuple'
Date: Sun, 24 Oct 2021 01:33:16 +0000
X-Bugzilla-Reason: CC
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: needs-patch
X-Bugzilla-Severity: Affects Many People
X-Bugzilla-Who: koobs@FreeBSD.org
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-259381-21822-JKRMgCneWM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259381-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-259381-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
X-ThisMailContainsUnwantedMimeParts: N

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

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-qa                    |needs-patch

--- Comment #2 from Kubilay Kocak <koobs@FreeBSD.org> ---
Upstream declares as build dependencies:

 [build-system]
  requires =3D ["setuptools >=3D 44", "wheel >=3D 0.30", "setuptools_scm[to=
ml]>=3D5"]

This port depends on setuptools_scm > 5 where the current portversion is 4.x

It's unlikely that all Python ports dependening on setuptools_scm will supp=
ort
both 4/5 versions, likely necessitating creation of a setuptools_scm4 for t=
hose
ports to depend on.

@Sunpoet Can you create a separate issue to track that ^ please

Regarding toml, Python packages depending on optional dependencies of their
dependencies, *must* [1] depend on those transitive/optional dependencies
directly. This is the same issue as bug 256872

[1]
https://wiki.freebsd.org/Python/PortsPolicy#Optional_.2F_Transitive_Depende=
ncies

--=20
You are receiving this mail because:
You are on the CC list for the bug.=