fix: replace pytfm workspace dependency with git source for CI compatibility
All checks were successful
ci/woodpecker/pr/pipeline Pipeline was successful

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
This commit is contained in:
2026-05-11 16:48:15 +03:00
parent 8ca36cdb44
commit 7bf9cce337
2 changed files with 1 additions and 16 deletions

View File

@@ -21,21 +21,6 @@ steps:
UV_PYTHON: "3.13" UV_PYTHON: "3.13"
commands: commands:
- pip install uv - 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 - uv sync --group lints --group tests --group types --group dev
- name: lint - name: lint

View File

@@ -61,7 +61,7 @@ types = [
blog = "app.main:main" blog = "app.main:main"
[tool.uv.sources] [tool.uv.sources]
pytfm = { workspace = true } pytfm = { git = "https://git.pyaqa.ru/pi3c/pytfm.git" }
[tool.pytest.ini_options] [tool.pytest.ini_options]
asyncio_mode = "auto" asyncio_mode = "auto"