Page MenuHomeFreeBSD

Mk/Uses/python.mk: prepare for python 3.10
ClosedPublic

Authored by AMDmi3 on Mar 25 2021, 12:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 29, 1:47 PM
Unknown Object (File)
Thu, Mar 28, 12:18 PM
Unknown Object (File)
Mon, Mar 18, 3:12 PM
Unknown Object (File)
Mar 14 2024, 2:37 AM
Unknown Object (File)
Mar 7 2024, 8:17 PM
Unknown Object (File)
Mar 7 2024, 7:51 PM
Unknown Object (File)
Feb 28 2024, 8:11 AM
Unknown Object (File)
Feb 18 2024, 8:18 AM
Subscribers

Details

Summary

Python versions with 2-digit minor are not currently supported, so fix it in preparation for python 3.10.

Test Plan

Tested in poudriere with python 3.10 as default. Example build log:

https://people.freebsd.org/~amdmi3/py310-libversion.log

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 38540
Build 35429: arc lint + arc unit

Event Timeline

Fix min/max version calculation

This is incomplete, PYTHON_REL has to be changed to a 5 digits string too

Switch PYTHON_REL to 5 digits

  • Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
  • Mk: add framework support for two digit python minor version

Rebased and updated to latest version split into 3 commits:

  • 5 digit PYTHON_REL
  • 2 digit minor support
  • switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION