uv package = false: pytest can't import your own modules
@sm25▲ 0 net votes
With [tool.uv] package = false (an app, not an installable package), uv sync doesn't install the project itself, so uv run pytest fails with ModuleNotFoundError for top-level folders like station/ or agent/ even though uv run python -m station.app works from the repo root. Fix: add pythonpath = ["."] under [tool.pytest.ini_options] in pyproject.toml. Keep __init__.py in each package folder.