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
I tried to use PDM on OpenBSD ( using vmactions/openbsd-vm ) and the installation commands failed.
Expected behavior
pdm install and pdm sync work.
Actual behavior
I get this error after running pdm install --frozen-lockfile:
Traceback (most recent call last):
File "/usr/local/bin/pdm", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/pdm/core.py", line 379, in main
return core.main(args or sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/pdm/core.py", line 267, in main
raise cast(Exception, err).with_traceback(traceback) from None
File "/usr/local/venv/lib/python3.11/site-packages/pdm/core.py", line 262, in main
self.handle(project, options)
File "/usr/local/venv/lib/python3.11/site-packages/pdm/core.py", line 194, in handle
command.handle(project, options)
File "/usr/local/venv/lib/python3.11/site-packages/pdm/cli/commands/install.py", line 103, in handle
actions.do_sync(
File "/usr/local/venv/lib/python3.11/site-packages/pdm/cli/actions.py", line 284, in do_sync
packages = list(resolve_from_lockfile(project, requirements, groups=list(selection)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/pdm/cli/actions.py", line 176, in resolve_from_lockfile
env_spec = project.environment.spec
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/functools.py", line 1001, in __get__
val = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/pdm/environments/base.py", line 186, in spec
return get_env_spec(self.interpreter.executable.as_posix())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/pdm/models/in_process/__init__.py", line 56, in get_env_spec
return EnvSpec.from_spec(**json.loads(subprocess.check_output([executable, "-EsS", script, *shared_libs])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/dep_logic/tags/tags.py", line 139, in from_spec
Platform.parse(platform) if platform else None,
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/dep_logic/tags/platform.py", line 88, in parse
return cls(_os_mapping[os_](release), Arch.parse(arch))
^^^^^^^^^^^^^^^^
File "/usr/local/venv/lib/python3.11/site-packages/dep_logic/tags/platform.py", line 386, in parse
return cls(arch)
^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 714, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 1137, in __new__
raise ve_exc
ValueError: '64' is not a valid Arch
The text was updated successfully, but these errors were encountered:
Bug description
I tried to use PDM on OpenBSD ( using vmactions/openbsd-vm ) and the installation commands failed.
Expected behavior
pdm install
andpdm sync
work.Actual behavior
I get this error after running
pdm install --frozen-lockfile
:The text was updated successfully, but these errors were encountered: