Re: git: b9a3602bb3da - main - devel/py-pyproject_hooks: Update to 1.1.0
- In reply to: Po-Chuan Hsieh : "Re: git: b9a3602bb3da - main - devel/py-pyproject_hooks: Update to 1.1.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Jun 2024 01:31:55 UTC
Po-Chuan Hsieh wrote: > 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+. > setuptools needs to build itself under PEP-517, which I will handle as part of the next update when we are ready. We cannot build it the current way as we have it in the tree (using distutils as a hack) when we finally land Python 3.12 as distutils no longer exists there. pyproject-hooks needs to work in order to build setuptools itself under PEP-517. As long as there are any ports with USE_PYTHON=distutils, setuptools58 has to exist as the distutils method is explicitly not supported past this version, even if it works by accident. -- Charlie Li ...nope, still don't have an exit line.