[Bug 274643] Mk/Uses/python.mk: Add PEP517_WHEEL_VERSION to allow custom wheel versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Oct 2023 23:40:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274643 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=245809&action=edit 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 build 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=pep517 for the reason 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 or 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 -- You are receiving this mail because: You are the assignee for the bug.