chore(scraper-kit): scaffold internal package + uv workspace, build-safe (#2128)
All checks were successful
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 1m22s
Deploy Trade-In / deploy (push) Successful in 1m24s
Deploy Trade-In / changes (push) Successful in 11s
Deploy Trade-In / test (push) Successful in 1m31s
All checks were successful
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 1m22s
Deploy Trade-In / deploy (push) Successful in 1m24s
Deploy Trade-In / changes (push) Successful in 11s
Deploy Trade-In / test (push) Successful in 1m31s
This commit is contained in:
parent
32d1818fd4
commit
ddf6cb7ce3
6 changed files with 1645 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ dependencies = [
|
||||||
"redis>=5.0.0", # async hot cache для /api/v1/search (Phase 3.2)
|
"redis>=5.0.0", # async hot cache для /api/v1/search (Phase 3.2)
|
||||||
"pyyaml>=6.0.0", # RBAC roles.yaml loader (app/core/auth.py)
|
"pyyaml>=6.0.0", # RBAC roles.yaml loader (app/core/auth.py)
|
||||||
"playwright>=1.45", # Playwright client для connect к tradein-browser (#905)
|
"playwright>=1.45", # Playwright client для connect к tradein-browser (#905)
|
||||||
|
# scraper-kit — internal package; подключается в шаге C (перенос core + docker-wiring #2137),
|
||||||
|
# чтобы standalone backend docker-context (COPY pyproject.toml + uv sync) не ломался на build.
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
|
|
|
||||||
17
tradein-mvp/packages/scraper-kit/pyproject.toml
Normal file
17
tradein-mvp/packages/scraper-kit/pyproject.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
[project]
|
||||||
|
name = "scraper-kit"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Internal scraper toolkit — общие утилиты для tradein-mvp скрапперов"
|
||||||
|
requires-python = ">=3.12"
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.wheel]
|
||||||
|
packages = ["src/scraper_kit"]
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
target-version = "py312"
|
||||||
|
line-length = 100
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
"""scraper-kit — общие утилиты для скрапперов tradein-mvp.
|
||||||
|
|
||||||
|
Пока пустой скаффолд: пакет установлен как uv workspace-member,
|
||||||
|
но код скрапперов ещё не перенесён сюда (см. issue #2128).
|
||||||
|
"""
|
||||||
|
|
||||||
|
__version__ = "0.1.0"
|
||||||
5
tradein-mvp/pyproject.toml
Normal file
5
tradein-mvp/pyproject.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
[tool.uv.workspace]
|
||||||
|
members = ["backend", "packages/*"]
|
||||||
|
|
||||||
|
[tool.uv]
|
||||||
|
package = false
|
||||||
1614
tradein-mvp/uv.lock
generated
Normal file
1614
tradein-mvp/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue