Rulepython
Package Installation Rule
Standards for installing packages with UV in StackOne. (project)
Package Installation Standards
Standards for installing packages with UV in the StackOne repository.
Root Level Dev Dependencies
# Install dev dependencies at root level
uv add --dev pytest
uv add --dev pytest-cov
uv add --dev black
Package Level Dependencies
# Install package dependencies
uv add pydantic
uv add requests
Never Use
# ❌ Don't use pip install
uv pip install package-name
# ❌ Don't use -e or editable installs
uv pip install -e .
Running Tests
# Run from root directory
uv run pytest
# Run specific package tests
uv run pytest stackone_ai
# Run tests on examples
uv run pytest examples
Package Dependencies in pyproject.toml
[project]
dependencies = [
"pydantic>=2.10.6",
"requests>=2.32.3",
]