Fedora 43 changes system Python version to 3.14. Update do_cmake.sh
Tested on Fedora Rawhide as of Jan 1 2026
Ref: https://fedoraproject.org/wiki/Changes/Python3.14
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
source /etc/os-release
case "$ID" in
fedora)
- if [ "$VERSION_ID" -ge "41" ] ; then
+ if [ "$VERSION_ID" -ge "43" ] ; then
+ PYBUILD="3.14"
+ elif [ "$VERSION_ID" -ge "41" ] ; then
PYBUILD="3.13"
elif [ "$VERSION_ID" -ge "39" ] ; then
PYBUILD="3.12"