[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: Mon, 25 Oct 2021 16:41:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259381 --- Comment #4 from Kai Knoblich <kai@FreeBSD.org> --- (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" phase. (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 unconditionally. Add a comment to declare that [toml] is added. > - Keep TOML option and change its description to inform users that disabling 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 would 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. -- You are receiving this mail because: You are on the CC list for the bug.