[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: Sun, 24 Oct 2021 01:33:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259381

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 = ["setuptools >= 44", "wheel >= 0.30", "setuptools_scm[toml]>=5"]

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 support
both 4/5 versions, likely necessitating creation of a setuptools_scm4 for those
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_Dependencies

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