workspace— step2

This commit is contained in:
2026-06-09 17:44:07 +08:00
parent 7eb3647539
commit 4e591b07eb
7 changed files with 29 additions and 28 deletions
+4 -5
View File
@@ -9,13 +9,12 @@ description = "Shared contracts (Redis keys, future models) for jp_surugaya serv
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.0.0,<3.0.0",
"redis>=5.0.0,<6.0.0",
"redis==8.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.
# Keep surugaya_common light: stdlib + pydantic + redis only. redis is pinned to
# ==8.0.0 to stay in lockstep with both the API service and the worker. Do not add
# fastapi/playwright/opencv/numpy/pyautogui/pillow here.