Skip to content

Thoughts on switching to dependency groups in pyproject.toml? #625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stefmolin opened this issue May 23, 2025 · 1 comment · May be fixed by #626
Open

Thoughts on switching to dependency groups in pyproject.toml? #625

stefmolin opened this issue May 23, 2025 · 1 comment · May be fixed by #626

Comments

@stefmolin
Copy link
Contributor

PEP 735 added dependency groups to pyproject.toml, which would remove the need to have multiple requirements files.

This would allow us to hopefully remove those requirements.txt files and the logic to generate them. For example, in .circleci/config.yml we could make the following change:

- python -m pip install --upgrade -r requirements/doc.txt
+ python -m pip install --upgrade --group doc
@stefanv
Copy link
Contributor

stefanv commented May 24, 2025

Woohoo! Finally. I'm so happy to see this.

@stefmolin stefmolin linked a pull request May 24, 2025 that will close this issue
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 a pull request may close this issue.

2 participants