From 7bf9cce33703a7a30e50c9b9964f83829ca2d6d5 Mon Sep 17 00:00:00 2001 From: Sergey Vanyushkin Date: Mon, 11 May 2026 16:48:15 +0300 Subject: [PATCH] fix: replace pytfm workspace dependency with git source for CI compatibility Remove the synthetic workspace hack from CI pipeline (fake pyproject.toml + git clone was fragile and complex). pytfm is now a clean git dependency in [tool.uv.sources], so uv resolves it automatically. Local development still works via: uv add --editable ../pytfm --- .woodpecker/pipeline.yml | 15 --------------- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.woodpecker/pipeline.yml b/.woodpecker/pipeline.yml index c411449..984e418 100644 --- a/.woodpecker/pipeline.yml +++ b/.woodpecker/pipeline.yml @@ -21,21 +21,6 @@ steps: UV_PYTHON: "3.13" commands: - pip install uv - - cd .. - - | - cat > pyproject.toml << 'EOF' - [project] - name = "pyaqa" - version = "0.1.0" - requires-python = ">=3.13" - dependencies = [] - - [tool.uv.workspace] - members = ["blog.pyaqa.ru", "pytfm"] - EOF - - git clone https://git.pyaqa.ru/pi3c/pytfm.git - - cd $CI_WORKSPACE - - rm -rf .venv - uv sync --group lints --group tests --group types --group dev - name: lint diff --git a/pyproject.toml b/pyproject.toml index af82863..c6c588d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ types = [ blog = "app.main:main" [tool.uv.sources] -pytfm = { workspace = true } +pytfm = { git = "https://git.pyaqa.ru/pi3c/pytfm.git" } [tool.pytest.ini_options] asyncio_mode = "auto"