fix(package): single-source Python SDK version
This commit is contained in:
1 parent
c000855ebc
commit
fea6784346
6 files changed
+30
-4
No files matched your search
+2
-2
@@ -3,6 +3,7 @@
|
||||
from .client import ElydoraClient
|
||||
from .async_client import AsyncElydoraClient
|
||||
from .errors import ElydoraError
|
||||
from ._version import __version__
|
||||
from .crypto import (
|
||||
compute_chain_hash,
|
||||
compute_payload_hash,
|
||||
@@ -70,9 +71,8 @@ from .types import (
|
||||
DeepHealthResponse,
|
||||
)
|
||||
|
||||
__version__ = "1.2.0"
|
||||
|
||||
__all__ = [
|
||||
"__version__",
|
||||
"ElydoraClient",
|
||||
"AsyncElydoraClient",
|
||||
"ElydoraError",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
"""Canonical Elydora package version."""
|
||||
|
||||
__version__ = "1.2.1"
|
||||
+2
-1
@@ -14,6 +14,7 @@ import shutil
|
||||
import sys
|
||||
from typing import Dict, Type
|
||||
|
||||
from ._version import __version__
|
||||
from .crypto import get_public_key_base64url
|
||||
from .plugins.base import AgentPlugin, InstallConfig
|
||||
from .plugins.registry import SUPPORTED_AGENTS, get_agent_names
|
||||
@@ -174,7 +175,7 @@ def build_parser() -> argparse.ArgumentParser:
|
||||
description="Elydora — tamper-evident audit trail for AI agents",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--version", action="version", version="%(prog)s 1.0.0"
|
||||
"--version", action="version", version=f"%(prog)s {__version__}"
|
||||
)
|
||||
|
||||
subparsers = parser.add_subparsers(dest="command", help="Available commands")
|
||||
|
||||
Reference in new issue
Block a user