[Bug 259381] devel/py-platformdirs: fails to build: setuptools_scm, line 84, in dump_version > fp.write(template.format(version=version)) > KeyError: 'version_tuple'
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259381] py-platformdirs does not build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Nov 2021 11:56:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259381
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch 2021Q4 references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=5bfd0738fbe861b2a371801dbe7f12daf5d93f33
commit 5bfd0738fbe861b2a371801dbe7f12daf5d93f33
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-10-26 10:08:35 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-11-02 11:53:57 +0000
devel/py-setuptools_scm: Update to 5.0.2
* Use this release as an intermediate step before the port is updated
to the 6.x release, because it contains mostly bugfixes and is also
required for the 2021Q4 branch.
The latter is necessary in order to be able to build certain ports
successfully if devel/py-setuptools_scm is already present in the
build environment. For instance, devel/py-platformdirs, which can be
built without it but if devel/py-setuptools is already installed, it
requires the 5.x release of it for build. [1]
* Also adjust the description of the TOML option slightly with an
appropriate
warning to avoid build issues related to parsing
"pyproject.toml" files during setup. [2]
Changelog since 4.1.2:
https://github.com/pypa/setuptools_scm/blob/v5.0.2/CHANGELOG.rst
PR: 259381 [2], 259420 (both related)
MFH: 2021Q4 (after 1 week) [1]
(cherry picked from commit 33a4a1d205bd4323d330b7cc5f39925e5b3e811c)
devel/py-setuptools_scm/Makefile | 5 ++---
devel/py-setuptools_scm/distinfo | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.