From nobody Sun Oct 22 23:40:21 2023
X-Original-To: python@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SDFDl2mWgz4y0VK
	for <python@mlmmj.nyi.freebsd.org>; Sun, 22 Oct 2023 23:40:23 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4SDFDj45Llz3Yr0
	for <python@FreeBSD.org>; Sun, 22 Oct 2023 23:40:21 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698018021; a=rsa-sha256; cv=none;
	b=IKcKLPCe+7bl8UYkXZ+ZeuIVG0UX0c+DClKunFPHszArF/Phi7P+LT5+1wiNfM7tdJ0s2e
	M/stk0fJgvgOfwwl2Xr+GzcjsCnqGFbowM4K+WYW3pLwDGiycWfUlgYbFs/TcxgPkAwMMN
	2j0noKEVfAVx1yNu4uDyv5r/RiExRMtja4jDiddrkLhPQNfZTs4YaklXa38dgjfsI4E2em
	g2se6ZclxgXhrb8ux7qplCUNwApsOZMDO9/hDtRUUnveQb+S/5qHIvz9yJh/BjNiK91nn3
	QZ0gxozfiD7A4DACWtPvQc/mvdAb7MATfheicgaLCHbs+/v1+w2lfnDNUXS40Q==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1698018021;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=PK8rs4pdkyKZPyRNDh+4bdyNgi6sep9wtbyOAjJdWDk=;
	b=bra0D1iwt+oFlvMmsPzi8fOTgVAT2OdNvt52LSk/lIohbb52EILwTnZ2d+6uc2fJM35BVY
	MUc0M76HBPwzeFDMUkCre0oYDdCCu1SItpYYpPGYvmT/sIFui0ls+b0U2Fk1zo+MZmIUXZ
	B3YIFOqTDgGRH3VVNPTEdWO9yzO3zYlkg2g2wWdwsJr25NWqBRzpGfBDUfkKwkjyL6v5uK
	Vdw/emoGQBIWx69ZOXQsIzkruRlcCqxAruv5GIwn2X2JFU273qCcunUbdeiCpOizHOQV8o
	jV9BD58l5YSg/tlatlw/y+QXpiIHRozXzHPjLbRnYz/GGkT9gXjKxK3nkLEQfg==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SDFDj30pTz25q
	for <python@FreeBSD.org>; Sun, 22 Oct 2023 23:40:21 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39MNeLMi092924
	for <python@FreeBSD.org>; Sun, 22 Oct 2023 23:40:21 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39MNeLIS092923
	for python@FreeBSD.org; Sun, 22 Oct 2023 23:40:21 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
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
Date: Sun, 22 Oct 2023 23:40:21 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Ports Framework
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: yuri@freebsd.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-274643-21822-6iu9PH6w5f@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/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-python
List-Help: <mailto:python+help@freebsd.org>
List-Post: <mailto:python@freebsd.org>
List-Subscribe: <mailto:python+subscribe@freebsd.org>
List-Unsubscribe: <mailto:python+unsubscribe@freebsd.org>
Sender: owner-freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274643

Yuri Victorovich <yuri@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #245794|0                           |1
        is obsolete|                            |

--- Comment #8 from Yuri Victorovich <yuri@freebsd.org> ---
Created attachment 245809
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245809&action=
=3Dedit
patch-v2

(In reply to Charlie Li from comment #7)

Hi Charlie,

I agree with you that this can't be used as a permanent solution.

But there are some broken cases which we can't fix, but where fixing the bu=
ild
would have value to users.

For example, when the last released version doesn't build at all, but the
current master revision does build.
We can't use intermediate revisions now when USE_PYTHON=3Dpep517 for the re=
ason
that DISTVERSION isn't compatible with how it is handled by Uses/python.mk

One such example now is misc/py-polars that I was trying to fix.
The last release 0.18.15 doesn't build because it isn't compatible with the
latest nightly Rust.
The latest master revision does build.
But I can't update to the latest master revision because of this problem.

There is value in having this port not broken. And we don't know when will
polars' upstream decide to make another release. This might be in a month o=
r in
a year.
In the meantime we can't have it sit broken like this.

I've added the comment that advises to use PEP517_WHEEL_VERSION only in
exceptional situations, and not a permanent solution.

I believe that there is benefit in having that flexibility.


Thanks,
Yuri

--=20
You are receiving this mail because:
You are the assignee for the bug.=