Created attachment 225286 [details]
- Copy devel/py-setuptools to devel/py-setuptools44
- Update the former to latest 57.0.0 which supports python3.10
- Use the latter for python2
This allows us to have latest setuptools and working python3.10
without breaking python2 modules for a few ports which still require
Created attachment 225291 [details]
Limit setuptools44 with python 2.7 only and avoid need for CONFLICTS
Antoine, should I request exp-run explicitly? IMO this is ready for testing the approach.
(In reply to Dmitry Marakasov from comment #2)
exp-run is already requested explicitely
Shall we update numpy with the same way?
We update numpy to 1.20.3 and preserving py-numpy116 for python2.
(In reply to Wen Heping from comment #4)
Please no, we don't need any py27 flavor for numpy so please don't add it back
(In reply to Antoine Brodin from comment #5)
I did not notice numpy use python3.6+ now, sorry!
Some new failure logs on 11.4 i386:
(In reply to Antoine Brodin from comment #7)
On other archs, the new failures are similar
All 3 ports can be fixed by updating them to latest versions, PRs submitted.
A commit in branch main references this bug:
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-05-26 15:17:56 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-06-03 11:36:56 +0000
devel/py-setuptools: update to 57.0.0 preserving old version
- Copy devel/py-setuptools to devel/py-setuptools44 (for Python 2.7 support)
- Update devel/py-setuptool to 57.0.0 (adding support for Python 3.10)
- Update Mk/Uses/python.mk to chose between py-setuptools and
py-setuptools44 based on Python version
This allows us to have latest setuptools and working Python 3.10
without breaking packages requiring Python 2 support for remaining
reports that require it.
Exp-run showed 3 ports failing to build with latest setuptools and
they were fixed.
Exp-run by: antoine
Reviewed by: koobs (python)
Approved by: koobs (python)
Mk/Uses/python.mk | 8 +++-
devel/Makefile | 1 +
devel/py-setuptools/Makefile | 5 +--
devel/py-setuptools/distinfo | 6 +--
devel/py-setuptools44/Makefile (new) | 49 ++++++++++++++++++++++
devel/py-setuptools44/distinfo (new) | 3 ++
.../files/easy-install.pth.dist (new) | 2 +
devel/py-setuptools44/files/pkg-message.in (new) | 8 ++++
devel/py-setuptools44/pkg-descr (new) | 10 +++++
9 files changed, 85 insertions(+), 7 deletions(-)