Support Python 3.11 through 3.14

This commit is contained in:
Victor Kuznetsov
2026-08-12 15:52:11 -07:00
parent 58146dbc6d
commit 25eaa7458c
12 changed files with 293 additions and 1240 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# /// script
# requires-python = ">=3.10"
# requires-python = ">=3.11"
# dependencies = [
# "click",
# "numpy",
+1 -1
View File
@@ -1,5 +1,5 @@
# /// script
# requires-python = ">=3.10"
# requires-python = ">=3.11"
# dependencies = [
# "diffusers>=0.35.0",
# "transformers>=4.51.0",
+2 -2
View File
@@ -22,7 +22,7 @@ import shutil
import subprocess
import sys
from collections import Counter
from datetime import datetime, timezone
from datetime import UTC, datetime
from pathlib import Path
import click
@@ -180,7 +180,7 @@ def ingest(
"c2pa_issuer": issuer,
"synthid_metadata": "yes" if synthid else "",
"verified_via": verified_via,
"added": datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"),
"added": datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ"),
"notes": notes,
}
)