From c6858a1d69e20b9b4fc00650bfb8c5a739f340f3 Mon Sep 17 00:00:00 2001 From: Marco Esters Date: Tue, 10 Sep 2024 09:12:54 -0700 Subject: [PATCH] Fix typing for python 3.8 --- constructor/osxpkg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/constructor/osxpkg.py b/constructor/osxpkg.py index b2ae4c38a..a2280adf2 100644 --- a/constructor/osxpkg.py +++ b/constructor/osxpkg.py @@ -9,6 +9,7 @@ from pathlib import Path from plistlib import dump as plist_dump from tempfile import NamedTemporaryFile +from typing import List from . import preconda from .conda_interface import conda_context @@ -426,7 +427,7 @@ def pkgbuild_prepare_installation(info): def create_plugins(pages: list = None, codesigner: CodeSign = None): - def _build_xcode_projects(xcodeporj_dirs: list[Path]): + def _build_xcode_projects(xcodeporj_dirs: List[Path]): xcodebuild = shutil.which("xcodebuild") if not xcodebuild: raise RuntimeError(