build_rocky: use uv to acquire more recent version of Python

This commit is contained in:
Andrej730
2026-04-14 19:04:54 +05:00
committed by Thomas Krijnen
parent 0cc4255f23
commit 9003750ea1
6 changed files with 28 additions and 22 deletions
+3 -7
View File
@@ -1,4 +1,6 @@
#!/usr/bin/python
# /// script
# ///
###############################################################################
# #
# This file is part of IfcOpenShell. #
@@ -125,13 +127,7 @@ from collections.abc import Generator, Sequence
from pathlib import Path
from urllib.request import urlretrieve
try:
from typing import Literal, Union
except:
# python 3.6 compatibility for rocky 8
from typing import Union
from typing_extensions import Literal
from typing import Literal, Union
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
+2
View File
@@ -1,3 +1,5 @@
# /// script
# ///
"""
Cache built dependencies for builds.