Skip to content

Replace test and doc requirements.txt files with optional dependencies in pyproject.toml #677

@edwardchalstrey1

Description

@edwardchalstrey1

I realised that a better way than having these two separate sets of requirements in their own files at doc/requirements.txt and tests/requirements.txt we can add them as optional dependencies for pygambit in pyproject.toml, something like:

[project.optional-dependencies]
test = ["pytest"...]
doc = ["ipython"...]

TODO:

  • Update pyproject.toml and remove requirement files
  • Include ruamel.yaml (see Create initial games catalog from contrib/games #731)
  • Update contributor docs page with how to install with doc or test dependencies (and catalog docs if required)
  • Update relevant GitHub actions

Metadata

Metadata

Labels

dependenciesPull requests that update a dependency filedocumentationgithub_actionsPull requests that update GitHub Actions codetestsItems which involve the pygambit test suite

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions