[Bug 291209] Mk/Uses/python.mk: generalize .whl and .dist-info name in PEP517 install command

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Nov 2025 12:44:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291209

            Bug ID: 291209
           Summary: Mk/Uses/python.mk: generalize .whl and .dist-info name
                    in PEP517 install command
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: nick@kirby.cx
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 265640
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265640&action=edit
python.mk diff

As our inability to update devel/py-setuptools past 63.1.0 has been hampering
an increasing number of python port updates I've been doing some work on trying
to resolve some of the exp-run issues from 80.9.0

Generalizing .whl and .dist-info install commands in python.mk seems to fix the
issues in all of the staging failures I've tested (~30 different ports I've
tested so far)

For reference I'm testing in an up to date (as of Nov 25, 2025) ports tree on
14.3-RELEASE-p5 (both machine and jails). One has been left default, and the
other has had the 80.9.0 patch applied found in review D46236. Only other
change is my patch here.

It was suggested on bug 270358 that I submit it as a new PR for review. I'd
love to see it applied and an exp-run done to see if it clears at least one of
the hurdles we're facing re: python setuptools.

Thanks,
Nick

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