8000 Merge requirements-tests.txt into pyproject.toml? · Issue #13974 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Merge requirements-tests.txt into pyproject.toml? #13974

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
srittau opened this issue May 9, 2025 · 1 comment · May be fixed by #14085
Open

Merge requirements-tests.txt into pyproject.toml? #13974

srittau opened this issue May 9, 2025 · 1 comment · May be fixed by #14085
Labels
project: infrastructure typeshed build, test, documentation, or distribution related

Comments

@srittau
Copy link
Collaborator
srittau commented May 9, 2025

Apart from this being the "modern way" to do things, this would allow us to use dependency groups. Nowadays we have a hodgepodge of dependencies in requirements-tests.txt for various purposes. This not only install unnecessary installs, it can also make unrelated tests fail if there is a problem with a more exotic requirement.

That said, splitting the requirements into groups would be a second step (and issue).

@srittau srittau added the project: infrastructure typeshed build, test, documentation, or distribution related label May 9, 2025
@srittau srittau changed the title Merge requirements-tests.txt into pyproject.toml Merge requirements-tests.txt into pyproject.toml? May 9, 2025
@Avasam
Copy link
Collaborator
Avasam commented May 12, 2025

I actually have a wip branch on this! I was waiting for pip 25.1 to release with support for dependency groups.
Avasam#40 (although I was playing around with a bit more than just moving deps)

However, it would further delay installing ts_lib as local editable install because afaik there's currently no way to do that in a way that's compatible with both pip and uv.

@Avasam Avasam linked a pull request May 16, 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
project: infrastructure typeshed build, test, documentation, or distribution related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0