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 wheel should build succesfully, as it does with both poetry and pip.
According to PEP518:
If the file exists but is lacking the [build-system] table then the default values as specified above should be used. If the table is specified but is missing required fields then the tool should consider it an error.
So, when build-system.requires is present, pdm should just accept it verbatim. Appending the default backend requirements to the specified backend requirements is not supported by either PEP517 or PEP518.
Environment Information
Reproduces on both dev (1.0.0b0) stable (0.12.13)
The text was updated successfully, but these errors were encountered:
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pdm use python3.9
pdm add "multidict==4.7.6"
This will reproduce for any dependency meeting the following criteria:
Actual behavior
pip will fail when setting up the isolated build environment.
Build log:
contents of the errant build-reqs.txt:
This is the build system requirements of multidict prepended to the requirements of pdm's DEFAULT_BACKEND.
Expected behavior
The wheel should build succesfully, as it does with both poetry and pip.
According to PEP518:
So, when build-system.requires is present, pdm should just accept it verbatim. Appending the default backend requirements to the specified backend requirements is not supported by either PEP517 or PEP518.
Environment Information
Reproduces on both dev (1.0.0b0) stable (0.12.13)
The text was updated successfully, but these errors were encountered: