Skip to content

Switch from optional-dependencies (extras) to dependency groups #539

@Kamforka

Description

@Kamforka

Dependency groups are a relatively new feature to the pyproject but seems more matching than the optional dependencies: https://packaging.python.org/en/latest/specifications/dependency-groups/#dependency-groups

Optional dependencies are meant for end-users, while the newly introduced dependency groups are meant for the developers, which what we want. More on the topic here: https://pydevtools.com/handbook/explanation/what-are-optional-dependencies-and-dependency-groups/

Todos:

  • update the pyproject.toml with dependency groups
  • change all the pip installs to conform with dependency groups in the workflows
  • change all pip install references to conform with dependency groups in the readmes and docs

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions