python 3.9 compat: introduce typehelpers.py for NoneType, UnionType, TypeAlias
This commit is contained in:
parent
c357b0a968
commit
b84d2202db
9 changed files with 34 additions and 27 deletions
|
@ -6,7 +6,7 @@ import multiprocessing
|
|||
import os
|
||||
|
||||
from joblib import Parallel, delayed
|
||||
from typing import Iterable, Optional, TypeAlias
|
||||
from typing import Iterable, Optional
|
||||
|
||||
from config.state import config, ConfigStateHolder
|
||||
from constants import Arch
|
||||
|
@ -16,6 +16,7 @@ from exec.file import remove_file
|
|||
from logger import setup_logging
|
||||
from utils import git, git_get_branch
|
||||
from wrapper import check_programs_wrap
|
||||
from typehelpers import TypeAlias
|
||||
|
||||
from .srcinfo_cache import SrcinfoMetaFile
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue