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
when tool.pdm.resolution.overrides is set to a range incompatible with project.dependencies for that dependency, the optional-dependencies group locked may be unusable in the resulting .whl file.
To Reproduce
Steps to reproduce the behavior:
Set i.e. tool.pdm.resolution.overrides to sphinx<7 and project.dependencies to sphinx>7.
sphinx==6.2.1 will be locked by pdm
build the wheel using pdm build
install the wheel using pip install mypkg[locked] - will yield ResolutionImpossible
Desired behavior pdm build shall be aborted with an error stating that the locked dependency is incompatible with project.dependencies
The text was updated successfully, but these errors were encountered:
Describe the bug
when
tool.pdm.resolution.overrides
is set to a range incompatible withproject.dependencies
for that dependency, the optional-dependencies grouplocked
may be unusable in the resulting.whl
file.To Reproduce
Steps to reproduce the behavior:
tool.pdm.resolution.overrides
tosphinx<7
andproject.dependencies
tosphinx>7
.sphinx==6.2.1
will be locked by pdmpdm build
pip install mypkg[locked]
- will yieldResolutionImpossible
Desired behavior
pdm build
shall be aborted with an error stating that the locked dependency is incompatible withproject.dependencies
The text was updated successfully, but these errors were encountered: