You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by zi...@apache.org on 2025/09/03 01:57:22 UTC
(hamilton) 02/06: use absolute import as fallback; required by proxy
This is an automated email from the ASF dual-hosted git repository.
zilto pushed a commit to branch feat/hamilton-core
in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit 0b50e607c14da25b37a00d30ee7dce94b48e2cac
Author: zilto <68...@users.noreply.github.com>
AuthorDate: Tue Sep 2 21:20:58 2025 -0400
use absolute import as fallback; required by proxy
---
hamilton/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hamilton/__init__.py b/hamilton/__init__.py
index a302407d..4d3fd39f 100644
--- a/hamilton/__init__.py
+++ b/hamilton/__init__.py
@@ -1,7 +1,7 @@
try:
from .version import VERSION as __version__ # noqa: F401
except ImportError:
- from version import VERSION as __version__ # noqa: F401
+ from hamilton.version import VERSION as __version__ # noqa: F401
# this supposedly is required for namespace packages to work.
__path__ = __import__("pkgutil").extend_path(__path__, __name__)