[Bug 259381] devel/py-platformdirs: fails to build: setuptools_scm, line 84, in dump_version > fp.write(template.format(version=version)) > KeyError: 'version_tuple'

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Oct 2021 10:15:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259381

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=33a4a1d205bd4323d330b7cc5f39925e5b3e811c

commit 33a4a1d205bd4323d330b7cc5f39925e5b3e811c
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-10-26 10:08:35 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-10-26 10:08:35 +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]

 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.