[Bug 274643] Mk/Uses/python.mk: Add PEP517_WHEEL_VERSION to allow custom wheel versions

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Oct 2023 17:38:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274643

--- Comment #7 from Charlie Li <vishwin@freebsd.org> ---
There should not be *any* manual intervention in this regard, ever, which means
providing a public variable that individual ports can override. How you have it
set up allows PORTVERSION/DISTVERSION to be foundationally different than what
the Python package metadata specifies, which causes problems on our end when we
try to match version pinning/minimum/maximum specifications.

PEP-440 is very strict when it comes to allowable version formats in Python
metadata, which forms the basis for all other file formats like the wheel
filename. Since none of these are overridable on the Python side, we need to
adapt them to our formats in *automated* manners only.

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