From nobody Mon Oct 25 16:41:55 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 85F1F18070FD for ; Mon, 25 Oct 2021 16:41:56 +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 4HdLMS3CBYz4mvR for ; Mon, 25 Oct 2021 16:41:56 +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 4F5244072 for ; Mon, 25 Oct 2021 16:41:56 +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 19PGfu7m047874 for ; Mon, 25 Oct 2021 16:41:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19PGfuRg047873 for python@FreeBSD.org; Mon, 25 Oct 2021 16:41:56 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: Mon, 25 Oct 2021 16:41:55 +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: kai@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: 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: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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 --- Comment #4 from Kai Knoblich --- (In reply to Po-Chuan Hsieh from comment #3) > Thanks for reporting. I'll check that. > I'm not sure why I did not get pkg-fallout mail of this port. The issue occurs only if devel/py-setuptools_scm is already present in the environment. You can reproduce it by adding devel/py-setuptools_scm to BUILD_DEPENDS and devel/py-platformdirs should fail in the "configure" phas= e. (In reply to Po-Chuan Hsieh from comment #3) (In reply to Kubilay Kocak from comment #2) > In this case, we have 2 choices: > - Add TOML dependency (py-toml now and py-tomli for 6+) to RUN_DEPENDS un= conditionally. Add a comment to declare that [toml] is added. > - Keep TOML option and change its description to inform users that disabl= ing it may lead to build failure of dependent ports. If people disable it, = it's their choice to get build failure. I would try to keep the TOML option and change its description first and wo= uld do so like with the 5.0.2 update for devel/py-setuptools_scm. As a last resort, if issues are still reported about the TOML option, we can fold the TOML option and add it with a appropriate comment to RUN_DEPENDS. --=20 You are receiving this mail because: You are on the CC list for the bug.=