Merge pull request 'P12: uv hygiene — build-system, link-mode, version pins, auto-recovery' (#62) from feature/uv-hygiene into main
Some checks failed
ci/woodpecker/push/deploy Pipeline failed
ci/woodpecker/push/infra-ci Pipeline was successful
ci/woodpecker/push/ci Pipeline failed

This commit was merged in pull request #62.
This commit is contained in:
2026-03-21 19:34:02 +00:00
6 changed files with 13 additions and 4 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
# Virtual environment
.venv/
# Data directories (user data, not tracked)
data/
zotero/data/

View File

@@ -1 +1 @@
cpython-3.13.12-linux-x86_64-gnu
3.13

View File

@@ -13,9 +13,7 @@ steps:
UV_LINK_MODE: copy
UV_PROJECT_ENVIRONMENT: .venv
commands:
- uv python pin 3.13.11
- uv sync --dev
- uv pip install -e .
- uv run ruff check src/ tests/ --output-format=concise
- uv run ruff format --check src/ tests/

View File

@@ -38,6 +38,10 @@ dev = [
"altair>=6.0.0",
"pandas>=3.0.1",
]
[build-system]
requires = ["uv_build>=0.7,<1"]
build-backend = "uv_build"
[tool.ruff]
line-length = 88

2
uv.lock generated
View File

@@ -2040,7 +2040,7 @@ wheels = [
[[package]]
name = "stack"
version = "0.1.0"
source = { virtual = "." }
source = { editable = "." }
dependencies = [
{ name = "databricks-cli" },
{ name = "databricks-sdk" },

4
uv.toml Normal file
View File

@@ -0,0 +1,4 @@
# Project-level uv configuration.
# Prevents broken .venv symlinks when uv runs under different users.
link-mode = "copy"
python-preference = "managed"