Page MenuHomeFreeBSD

various: Normalize py-wheel dependency
ClosedPublic

Authored by des on Jun 26 2026, 8:26 AM.
Tags
None
Referenced Files
F164574811: D57869.id180778.diff
Sun, Aug 2, 4:14 AM
F164568725: D57869.id180684.diff
Sun, Aug 2, 3:33 AM
F164564763: D57869.id180711.diff
Sun, Aug 2, 3:06 AM
Unknown Object (File)
Sat, Aug 1, 8:24 PM
Unknown Object (File)
Sat, Aug 1, 5:38 AM
Unknown Object (File)
Wed, Jul 29, 4:50 PM
Unknown Object (File)
Mon, Jul 27, 9:43 PM
Unknown Object (File)
Mon, Jul 27, 9:30 PM
Subscribers

Details

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74299
Build 71182: arc lint + arc unit

Event Timeline

des requested review of this revision.Jun 26 2026, 8:26 AM
des created this revision.

Thanks for these good catches! There's just one question left regarding devel/py-python-semantic-release. Otherwise, everything looks fine.

devel/py-python-semantic-release/Makefile
19 ↗(On Diff #180684)

Is there a reason why the <1 was removed? Since pyproject.toml declares "wheel ~= 0.42", the specification in the Makefile is therefore intentional.

devel/py-python-semantic-release/Makefile
19 ↗(On Diff #180684)

First, there is no py-wheel >= 1. Second, ~= 0.42 actually translates to >=0.42<0.43, which we cannot satisfy, so if you insist on blindly following what pyproject.toml says, this port should be marked BROKEN. Or we can just accept that upstream made a mistake.

FWIW, they also claim not to support py-setuptools 81.0.0...

devel/py-python-semantic-release/Makefile
19 ↗(On Diff #180684)

Yes, I'm aware that there isn't currently no py-wheel >= 1. If py-wheel reaches version 1.0 at some point, these version specifications are always quite helpful for identifying problematic ports in advance and taking a closer look at them..

No, ~= 0.42 resolves to >= 0.42, == 0.* or, more simply put as >= 0.42<1.

~= 0.42.0 would resolve to >=0.42<0.43 and it can also be verified accordingly by setting wheel ~= 0.42.0 in pyproject.toml. After that, the port can no longer be built due unsatisfied version requirements of py-wheel.

See also Compatible release clauses.

It seems that the port can be built with newer py-setuptools without any problems if py-setuptools < 81.0.0 is removed in pyproject.toml. As for the runtime and the other features, the current maintainer would have to take a look at that, because I'm not very familiar with that port.

This revision is now accepted and ready to land.Jun 26 2026, 1:44 PM
This revision was automatically updated to reflect the committed changes.