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
The exported requirements file is no longer cross-platform. Using it on other platforms may cause unexpected result.
STATUS: Resolving packages from lockfile...
Traceback (most recent call last):
File "/home/jigsaw/.local/bin/pdm", line 8, in <module>
sys.exit(main())
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/core.py", line 295, in main
return Core().main(args or sys.argv[1:])
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/core.py", line 208, in main
raise cast(Exception, err).with_traceback(traceback) from None
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/core.py", line 203, in main
self.handle(project, options)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/core.py", line 157, in handle
command.handle(project, options)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/cli/commands/export.py", line 69, in handle
candidates = resolve_candidates_from_lockfile(project, requirements.values())
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/cli/actions.py", line 142, in resolve_candidates_from_lockfile
mapping, *_ = resolve(
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/resolver/core.py", line 36, in resolve
result = resolver.resolve(requirements, max_rounds)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/resolvelib/resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/resolvelib/resolvers.py", line 426, in resolve
name = min(unsatisfied_names, key=self._get_preference)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/resolvelib/resolvers.py", line 203, in _get_preference
return self._p.get_preference(
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/resolver/providers.py", line 91, in get_preference
deps = self.get_dependencies(candidate)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/resolver/providers.py", line 214, in get_dependencies
deps, requires_python, _ = self.repository.get_dependencies(candidate)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/models/repositories.py", line 103, in get_dependencies
requirements, requires_python, summary = getter(candidate)
File "/home/jigsaw/.local/pipx/venvs/pdm/lib/python3.10/site-packages/pdm/models/repositories.py", line 555, in _get_dependencies_from_lockfile
return self.candidate_info[self._identify_candidate(candidate)]
KeyError: ('pydantic[dotenv]', '1.10.11', None, False)
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Actual behavior
Expected behavior
Environment Information
related: #1786
The text was updated successfully, but these errors were encountered: