From aae7aa981d6cb96915bdaa1a966c6a0ac834132b Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Wed, 8 Oct 2025 06:49:34 +0530 Subject: [PATCH] Fix expr imports --- pythonbpf/functions/functions_pass.py | 2 +- pythonbpf/helper/helper_utils.py | 2 +- pythonbpf/maps/maps_pass.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pythonbpf/functions/functions_pass.py b/pythonbpf/functions/functions_pass.py index 5b04311..7fc3feb 100644 --- a/pythonbpf/functions/functions_pass.py +++ b/pythonbpf/functions/functions_pass.py @@ -7,7 +7,7 @@ from dataclasses import dataclass from pythonbpf.helper import HelperHandlerRegistry, handle_helper_call from pythonbpf.type_deducer import ctypes_to_ir from pythonbpf.binary_ops import handle_binary_op -from pythonbpf.expr_pass import eval_expr, handle_expr, convert_to_bool +from pythonbpf.expr import eval_expr, handle_expr, convert_to_bool from .return_utils import _handle_none_return, _handle_xdp_return, _is_xdp_name diff --git a/pythonbpf/helper/helper_utils.py b/pythonbpf/helper/helper_utils.py index 0da1e5e..68ab52c 100644 --- a/pythonbpf/helper/helper_utils.py +++ b/pythonbpf/helper/helper_utils.py @@ -3,7 +3,7 @@ import logging from collections.abc import Callable from llvmlite import ir -from pythonbpf.expr_pass import eval_expr +from pythonbpf.expr import eval_expr logger = logging.getLogger(__name__) diff --git a/pythonbpf/maps/maps_pass.py b/pythonbpf/maps/maps_pass.py index cc8dfa6..95748a8 100644 --- a/pythonbpf/maps/maps_pass.py +++ b/pythonbpf/maps/maps_pass.py @@ -3,7 +3,7 @@ from logging import Logger from llvmlite import ir from enum import Enum from .maps_utils import MapProcessorRegistry -from ..debuginfo import DebugInfoGenerator +from pythonbpf.debuginfo import DebugInfoGenerator import logging logger: Logger = logging.getLogger(__name__)