Closed jimparis closed 2 years ago
As you said, PDM fails to parse the setup.py because it uses binary +
to build the dependency list, which the parser can't read(In fact, you can never build a 100% working setup.py parser due to the dynamic ability of Python language).
So I would suggest you generate the lock file on a macOS platform.
Steps to reproduce
pyproject.toml
:Running on a Linux host, it appears that
pdm lock
wants to check Windows and Darwin dependencies. It can't build the Darwin dependency, so it falls back to parsing package files, but fails.Environment Information