Re: git: b9a3602bb3da - main - devel/py-pyproject_hooks: Update to 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Thu, 06 Jun 2024 21:33:04 UTC
On Tue, Jun 4, 2024 at 2:08 AM Charlie Li <vishwin@freebsd.org> wrote:

> Po-Chuan Hsieh wrote:
> > The branch main has been updated by sunpoet:
> >
> > URL:
> https://cgit.FreeBSD.org/ports/commit/?id=b9a3602bb3da661da313a970d4177a95a1233afc
> >
> > commit b9a3602bb3da661da313a970d4177a95a1233afc
> > Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> > AuthorDate: 2024-05-19 16:17:56 +0000
> > Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> > CommitDate: 2024-05-19 17:15:43 +0000
> >
> >      devel/py-pyproject_hooks: Update to 1.1.0
> >
> >      Changes:
> https://github.com/pypa/pyproject-hooks/blob/main/docs/changelog.rst
> >
> https://pyproject-hooks.readthedocs.io/en/latest/changelog.html
> This is causing all setuptools builds under PEP-517 even upstream to fail:
> https://github.com/pypa/pyproject-hooks/issues/192
> https://github.com/pypa/setuptools/issues/4333
>
> So far the only fallout here is with devel/py-setuptools58 since it uses
> PEP-517 to build, but may want to consider rolling back pyproject_hooks
> for now in case it takes a bit for upstream to figure out.
>
> --
> Charlie Li
> ...nope, still don't have an exit line.
>
>
IMHO, we do nót need to do anything right now as py-setuptools58 is not
used by anything.
It means we do not need to revert py-pyproject_hooks.

Furthermore, I don't think current PY_SETUPTOOLS and devel/py-setuptools58
are needed in our ports tree.
Since we could build almost every python port with pep517 (with minor fixes
for the case in its name), we should always use devel/py-setuptools
with correct version requirement rather than PY_SETUPTOOLS.
In my case, there are 1,310 ports with USE_PYTHON=pep517 and only 3 ports
with USE_PYTHON=distutils which are intentional for simplicity.

We should encourage people to convert their ports to pep517 build.
And we should preserve PY_SETUPTOOLS for conditional dependency on
py-setuptools for Python 3.12+.

Best regards,
sunpoet