Skip to content

fix(runtime): support Python 3.10 runtime on Hugging Face Spaces - #54

Merged
abhirajadhikary06 merged 1 commit into
OBLIQ-in:mainfrom
abhirajadhikary06:dev/fix-python310-compat
Nov 17, 2026
Merged

abhirajadhikary06 merged 1 commit into
OBLIQ-in:mainfrom
abhirajadhikary06:dev/fix-python310-compat

Conversation

@abhirajadhikary06

Copy link
Copy Markdown
Member

Summary

Fixes \ImportError: cannot import name 'UTC' from 'datetime' (/usr/local/lib/python3.10/datetime.py)\ on Hugging Face Space containers running Python 3.10.

  • Added \obliq_api.compat.UTC = timezone.utc.
  • Broadened
    equires-python\ to >=3.10,<3.13\ in \pyproject.toml.
  • All unit tests pass cleanly.

@github-actions github-actions Bot added documentation Improvements or additions to documentation or runbooks test Adding or updating test suites and test fixtures api Endpoints, request and response contract, versioning ocr obliq-ocr engine boundary and extraction results labels Nov 17, 2026
@abhirajadhikary06
abhirajadhikary06 merged commit 5ffcff4 into OBLIQ-in:main Nov 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Endpoints, request and response contract, versioning documentation Improvements or additions to documentation or runbooks ocr obliq-ocr engine boundary and extraction results test Adding or updating test suites and test fixtures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant