[lxml] problem running self tests

2024-08-12 Thread wiz
Hi! I'm trying to run the self tests for the pkgsrc package for lxml, currently at 5.3.0. lxml itself seems to work fine AFAICT, but I can't get the self tests to runs. I tried following the documented method from https://lxml.de/build.html but I get: ``` # python3.12 test.py Traceback (most rece

[lxml] Re: problem running self tests

2024-08-12 Thread abepolk
Hi, I believe the tests can only be run from an in-place build. Because pkgsrc builds to a build/ directory outside the src/ directory, it is not in-place. To build in-place, use python setup.py build_ext -i --with-cython. You may also have to use --static-deps or --with-xml2-config= and --wit