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

next in thread | previous in thread | raw e-mail | index | archive | help
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 on the CC list for the bug.=



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