Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2023 17:38:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 274643] Mk/Uses/python.mk: Add PEP517_WHEEL_VERSION to allow custom wheel versions
Message-ID:  <bug-274643-21822-ahzwpLcjit@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274643-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274643-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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 the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274643-21822-ahzwpLcjit>