-
I just locked dependencies with % pdm use -f python3.7 && pdm install
Using the last selection, add '-i' to ignore it.
Using Python interpreter: /home/pawamoy/.basher-packages/pyenv/pyenv/shims/python3.7 (3.7)
Using __pypackages__ because non-venv Python is used.
Updating executable scripts...
See /tmp/pdm-install-resolve-9700ffmb.log for detailed debug log.
[ResolutionImpossible]: [RequirementInformation(requirement=NamedRequirement(name='importlib-metadata', marker=<Marker('python_version < "3.8"')>, extras=set(),
specifier=<SpecifierSet('')>, editable=False, prerelease=False), parent=None)]
Add '-v' to see the detailed traceback I re-locked without the flag, and then was able to install dependencies with Python 3.7. I thought |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It also considers the Python version, in fact the wheels and dependencies will be evaluated against the current Python interpreter(compared to not evaluated at all when the flag isn't given). |
Beta Was this translation helpful? Give feedback.
It also considers the Python version, in fact the wheels and dependencies will be evaluated against the current Python interpreter(compared to not evaluated at all when the flag isn't given).