-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
#4890 introduced a lock file which when installed with uv, ensures that every environment has the same set of dependencies (including transitive ones).
There is also a newly introduced pylock.toml file from PEP 751 which would ideally be a tool independent way to install dependencies from the environment. However not all tools are "fully" supporting it yet.
Some open issues/discussions across different python tools:
- Add support for PEP 751 lockfiles (pylock.toml) renovatebot/renovate#35704
- Add support for PEP 751 lockfiles astral-sh/uv#12584
- Implement installation from PEP 751 aka standardized lockfiles pypa/pip#13334
- PEP 751 pylock.toml support dependabot/dependabot-core#12094
Describe the solution you'd like
Once all tools have good support for pylock.toml, e.g. uv, pip, renovate, dependabot, etc. We should delete the uv.lock file then.
Describe alternatives you've considered
Keep using uv.lock for now.
Additional context
From #4796 (comment)
Notably uv says in the linked issue that pylock.toml doesn't have the feature set it needs for it to be used natively, so we'll have to see if they improve / support it more in the future.