Skip to content

Commit

Permalink
Fix typing for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoesters committed Sep 10, 2024
1 parent 0c211da commit c6858a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion constructor/osxpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit c6858a1

Please sign in to comment.