Skip to content

build: declare dependencies in pyproject.toml #135

Closed

Description

@uniqueg

Why?

Dependencies are still listed in requirements.txt, requirements_dev.txt and (since #139) requirements_docs.txt, although the project is configured with pyproject.toml (dynamic = ["dependencies", ...]). One place is simpler, and this repo is the template for other FOCA apps.

How?

  1. Move the runtime dependencies into [project] dependencies, the development dependencies into [project.optional-dependencies] dev and the docs dependencies into a docs extra, as FOCA does (version ranges; the environment marker for tomli stays).
  2. Delete the three requirements*.txt files.
  3. Update everything that uses them: Dockerfile, CI and release workflows, Read the Docs config, Dependabot, pre-commit, docs and comments (e.g. the setuptools-scm note in pyproject.toml).

Locked, hash-checked installs stay out of scope (#125).

Acceptance criteria

  • pip install . and pip install ".[dev]" install everything that was in the three files.
  • The two files are gone, and nothing refers to them.
  • Image build, CI, release workflow and docs build work as before.

Activity

  1. added
    priority: high
    status: blocked
    type: maintenance
    workload: hours
    type: dependencies
    on Oct 21, 2026
  2. added
    status: in progress
    and removed
    status: blocked
    on Oct 21, 2026
  3. removed
    status: in progress
    on Oct 21, 2026
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

    priority: hightype: dependenciestype: maintenanceworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions