From 7ebd7ebd65a69d2e79336bd622def56190d793a7 Mon Sep 17 00:00:00 2001 From: Yannik Tausch Date: Tue, 26 Nov 2024 16:17:12 +0100 Subject: [PATCH] import fix --- conda_forge_tick/feedstock_parser.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/conda_forge_tick/feedstock_parser.py b/conda_forge_tick/feedstock_parser.py index fb51eefc9f..38cacba9af 100644 --- a/conda_forge_tick/feedstock_parser.py +++ b/conda_forge_tick/feedstock_parser.py @@ -1,6 +1,7 @@ import collections.abc import hashlib import logging +import os import re import tempfile import typing @@ -19,11 +20,14 @@ from requests.models import Response from conda_forge_tick.lazy_json_backends import LazyJson, dumps, loads -from conda_forge_tick.migrators_types import RecipeTypedDict +from conda_forge_tick.migrators_types import ( + PackageName, + RecipeTypedDict, + RequirementsTypedDict, + TestTypedDict, +) from conda_forge_tick.utils import as_iterable, parse_meta_yaml, parse_recipe_yaml -from .migrators_types import PackageName, RequirementsTypedDict, TestTypedDict - logger = logging.getLogger(__name__) PIN_SEP_PAT = re.compile(r" |>|<|=|\[") @@ -698,7 +702,6 @@ def load_feedstock( if __name__ == "__main__": import json - import os import sys # Do not use docker when debugging