Skip to content

Conversation

ArnabTechiee
Copy link

Description

This PR fixes a bug in the developer setup process where the installation command from the CONTRIBUTING.md guide would fail.

The failure was caused by a mismatch between the dependency group definitions in pyproject.toml and the --extra flags used in the guide's command. This change aligns the pyproject.toml file with the documentation by moving the dev and docs dependency groups to [project.optional-dependencies] and adds the missing pre-commit package to the dev group.

This ensures a smooth setup experience for new contributors.

Closes #1970

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How has this change been tested, please provide a testcase or example of how you tested the change?

I have tested the change by following the steps to reproduce the bug:

  1. Set up a clean virtual environment.
  2. Run the installation command from the contributing guide: uv pip install -r pyproject.toml --extra dev --extra docs --extra metrics.
  3. Verified that the command, which previously failed, now completes successfully and installs all dependencies.

Any specific deployment considerations

None.

Docs

  • Docs updated? What were the changes: N/A

@ArnabTechiee ArnabTechiee requested a review from SkalskiP as a code owner October 3, 2025 15:31
@CLAassistant
Copy link

CLAassistant commented Oct 3, 2025

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--extra dev/docs not recognized by uv

2 participants