John Hein <[email protected]> has asked freebsd-python (Nobody) <[email protected]> for maintainer-approval: Bug 293530: devel/py-setuptools-scm: With Python 3.10 older py-tomli version as in ports tree is required https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293530
Attachment 268465: patched pyproject.toml to not require tomli <= 2.0.2 (for <py311) [v2] https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268465&action=edit --- Comment #6 from John Hein <[email protected]> --- Created attachment 268465 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268465&action=edit patched pyproject.toml to not require tomli <= 2.0.2 (for <py311) [v2] (In reply to Michael Osipov from comment #5) Agreed. nitpick: The upstream patch is slightly different than yours (>=1 vs >1). Pointless difference in practice. The upstream commit will not apply cleanly to 9.2.2 because there is an incompatible context change on the line above. In addition to some other context conflicts, setuptools 77.0.3 is now required instead of >=61. The upstream patch will apply cleanly to 10.0.0 (does not have the tomli fix). That, however, opens a different can of worms for FreeBSD with its very old setuptools still in place. This is v2 of the patch (vs bug 28677, comment 14) - very slightly different.
