amyreese / fissix

backport of lib2to3, with enhancements
Other
45 stars 22 forks source link

Please make fissix/tests relocatable and able to load from system libs rather than source tree #30

Closed sten0 closed 3 years ago

sten0 commented 3 years ago

Description

Please make fissix/tests relocatable and able to load from system libs rather than source tree. This is required for Debian's CI, because we must test packages as-installed rather than from their source trees. Additionally, we're supposed to load libs and modules from their build directory rather than from the source repo during the initial build. Setting and exporting PYTHONPATH has no effect on this issue at present (a67281e). Ideally it would be nice to be able to skip the loading of a helper script that sets up the existing strict load-from-source-tree expectation.

Details

Thank you for your consideration, Nicholas

graingert commented 3 years ago

@sten0 does python -m pytest --verbose tests fissix/tests work for you?