Avoid 3.10 type hinting

This commit is contained in:
Mykola Grymalyuk
2023-04-13 07:54:44 -06:00
parent 980142c6ad
commit 5011b2c3f1
2 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,8 @@ import plistlib
import os
import logging
import subprocess
from typing import Union
from pathlib import Path
from datetime import datetime
@@ -213,7 +215,7 @@ class SysPatchHelpers:
logging.info(f" - Failed to install RSRRepair: {result.stdout.decode()}")
def patch_gpu_compiler_libraries(self, mount_point: str | Path):
def patch_gpu_compiler_libraries(self, mount_point: Union[str, Path]):
"""
Fix GPUCompiler.framework's libraries to resolve linking issues