You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently migrating our projects to uv from pdm and we are facing weird version resolution issues when specifying dependencies without lower bounds.
Consider the following minimal pyproject.toml:
[project]
name = "example"version = "0.1.0"description = "Add your description here"readme = "README.md"requires-python = ">=3.12"dependencies = [
"django-stubs[compatible-mypy]",
"djangorestframework-stubs[compatible-mypy]",
]
uv lock
This produces a lock file with the djangorestframework-stubs version 1.4.0, whereas the latest version is 3.15.1.
We are currently migrating our projects to
uv
frompdm
and we are facing weird version resolution issues when specifying dependencies without lower bounds.Consider the following minimal
pyproject.toml
:This produces a lock file with the
djangorestframework-stubs
version1.4.0
, whereas the latest version is3.15.1
.Interestingly, if we set the lower boundary the resolution works fine without any conflicts and the new version is being picked:
MacOS
The text was updated successfully, but these errors were encountered: