Closed markuskowa closed 2 months ago
I took a quick look. The quick-and-dirty solution is to remove pytest_runner
and patch it out, e.g.:
postPatch = ''
sed -i '/^setup_requirements/d; /setup_requires/d' setup.py
'';
Is there a better solution than that?
Given the package is somehow build in a standard way (a big "if", I know), the correct solution is the pythonRelaxDepsHook
and the pythonRemoveDeps
list. For setup.py
this should work.
EDIT: Of course only works with pyproject setups. #541 has a workaround more in the spirit of your suggestion.
Closed via #541
Fails now in the evaluation phase with:
CC @sheepforce