Skip to content

Org venv standard predates uv; officials-admin wants to use it #33

Description

@gavinbee

docs/design/0002-venv-standard.md settles whether to use a venv (yes in persistent or shared environments, no on ephemeral CI runners) and assumes the tooling is pip plus requirements-dev.txt.

swimblocks/officials-admin specifies uv for dependency management and pnpm for the TypeScript side. uv is compatible with the rule — it creates and manages .venv — but not with the documented mechanism, since it uses pyproject.toml and a lockfile rather than requirements-dev.txt.

This needs an org position rather than a silent deviation, because it affects the reusable CI (which installs requirements-dev.txt by name), the devcontainer postCreateCommand, and what AGENTS.md tells an agent to run.

Options as I see them:

  1. Extend 0002 to permit uv where a repo has a pyproject.toml, and teach the reusable CI to detect which is in use.
  2. Require requirements-dev.txt everywhere and have officials-admin export one from uv.
  3. Declare officials-admin an explicit, documented exception.

Raising it rather than choosing unilaterally, since it binds every Python repo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions