- Notifications
You must be signed in to change notification settings - Fork5.7k
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
Now that pip 25.1 has support forPEP 735 Dependency Groups (finally!), we can use them in our project to replace the requirements.txt files we have for unit tests and linting.
Describe the solution you'd like
I suppose we can have 3 groups - [tests
,docs
, andall
].
If I saw correctly, the spec does not allow installing optional dependencies of your own project with the "all" extra like wecurrently have in the dependency group. i.e.pip install . --group all
wouldn't install all the optional dependencies. But something likepip install .[all] --group all
should install all optional dependencies and dev dependencies.
Describe alternatives you've considered
Not doing this and staying outdated.
Additional context
uv has had this for a while, but since pip didn't support it, I didn't open an issue earlier.