Skip to content

Commit 9e75acb

Browse files
QuantQJclaude
andcommitted
fix: Python 3.9 compat — add __future__ annotations for str | Path union
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e11706a commit 9e75acb

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "modelsign"
7-
version = "1.0.2"
7+
version = "1.0.3"
88
description = "Sign AI models with identity. Verify anywhere."
99
authors = [{name = "QJ", email = "qj@constantone.ai"}]
1010
license = {text = "Apache-2.0"}

src/modelsign/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""modelsign — Sign AI models with identity. Verify anywhere."""
22

3-
__version__ = "1.0.2"
3+
__version__ = "1.0.3"
44

55
from modelsign.identity.card import ModelCard, validate_card
66
from modelsign.identity.canonical import canonical_json

src/modelsign/middleware/response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Ed25519 response signing for API authenticity."""
22

3+
from __future__ import annotations
4+
35
import base64
46
import hashlib
57
from datetime import datetime, timezone

0 commit comments

Comments
 (0)