pdm install from requirements.txt does not consider auto selected python version #3095
Closed
1 task done
Labels
🐛 bug
Something isn't working
I want to use
pdm install
for "quick install and run" but it doesn't work properlySteps to reproduce
create dir with requirements.txt (with one dep:
requests
)Actual behavior
it selects version of python
The project's requires-python has been set to >=3.12
and immediately ignores
because it requires Python>=3.8 but the lock targets to work with all Python versions
and break
outdated
commandExpected behavior
Consider auto selected version of Python when installing dependencies.
Environment Information
I have 3 versions of python installed: 3.10, 3.11, 3.12
pdm installed via pipx
The text was updated successfully, but these errors were encountered: