From 41cabd33d33ffd64027795c397bb9df4de00f45e Mon Sep 17 00:00:00 2001 From: TPV Date: Fri, 14 Aug 2026 11:01:20 -0700 Subject: [PATCH] add dev/docker uv sources split; normalize monitor-utils URL to rethinkstudios.io Co-Authored-By: Claude Fable 5 --- Dockerfile | 2 +- pyproject.toml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25caf32..b6a478e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends git \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY pyproject.toml ./ -RUN uv pip install --system --no-cache -r pyproject.toml +RUN uv pip install --system --no-cache --no-sources -r pyproject.toml COPY samsung_shop/ ./samsung_shop/ COPY configs/proxies.txt ./proxies.txt RUN mkdir -p logs && chmod -R a+rwX /app diff --git a/pyproject.toml b/pyproject.toml index e35961c..20cc9a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dependencies = [ "aioweb-tls[curl] @ git+https://git.rethinkstudios.io/rethink-public/aioweb_tls.git", "curl-cffi>=0.15.0", "log-setup @ git+https://git.rethinkstudios.io/rethink-public/log_setup.git", - "monitor-utils @ git+https://git.profitlounge.us/pl_devs/monitor-shared-utils.git", + "monitor-utils @ git+https://git.rethinkstudios.io/pl_devs/monitor-shared-utils.git", "tenacity>=9.1.4", ] @@ -28,3 +28,8 @@ dev = [ "pytest>=9.1.1", "pytest-asyncio>=1.4.0", ] + +# Local dev only: uv sync/run use the sibling checkout; the Dockerfile +# passes --no-sources so images resolve the git URL above instead. +[tool.uv.sources] +monitor-utils = { path = "../monitor-shared-utils", editable = true }