Date: Sun, 01 Mar 2026 22:05:17 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-approval requested: [Bug 293530] devel/py-setuptools-scm: With Python 3.10 older py-tomli version as in ports tree is required : [Attachment 268465] patched pyproject.toml to not require tomli <= 2.0.2 (for <py311) [v2] Message-ID: <bug-293530-21822-nfxoeuRTau@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-293530-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
John Hein <jcfyecrayz@liamekaens.com> has asked freebsd-python (Nobody) <python@FreeBSD.org> 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 <jcfyecrayz@liamekaens.com> --- 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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293530-21822-nfxoeuRTau>
