Add infrastructure support for python 3.10.
- Switch to 5 digit PYTHON_REL due to two digit minor version
- Add the rest of 2 digit minor version support
- Switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION to simplify adding prerelease python versions
Complete git branch: https://github.com/freebsd/freebsd-ports/compare/main...AMDmi3:python310
Created attachment 224060 [details]
Patch 1: switch to 5 digit PYTHON_REL
Created attachment 224061 [details]
Patch 2: support for 2 digit python minor version
Created attachment 224062 [details]
Patch 3: Switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
Requesting an exp-run
Created attachment 224403 [details]
Cumulative patch, actual version
Patch for exp-run
Exp-run looks fine.
@kai : can you review the patch?
For the record, in private email wen@ has approved the patch. He also suggested to wait with python 310 import till first beta release, but I don't see any reason for this - we can and should start testing and improving 3.10 support as soon as possible.
(In reply to Dmitry Marakasov from comment #7
Feel free to create a issue and review for, and land a lang/python310 port, suffixing the comment with (Development Version), just add python@ to reviewers
(In reply to Antoine Brodin from comment #6)
No, I have to pass because I don't have much spare cycles at the moment.