workspace

This commit is contained in:
2026-06-09 17:28:25 +08:00
parent a651e08fff
commit 7eb3647539
6 changed files with 142 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "surugaya-common"
version = "0.1.0"
description = "Shared contracts (Redis keys, future models) for jp_surugaya services"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.0.0,<3.0.0",
"redis>=5.0.0,<6.0.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/surugaya_common"]
# NOTE (deferred): redis pin here intentionally matches the API service (<6).
# The worker's redis==8 requirement is NOT introduced in this increment, so there
# is no conflict to resolve yet. Do not add fastapi/playwright/opencv/numpy/
# pyautogui/pillow here — surugaya_common must stay light.