Open 0-wiz-0 opened 1 month ago
Hi Thomas. The error looks unrelated with pytest. Usually that means a broken psutil installation (e.g. after a psutil upgrade). You can try:
make clean uninstall install
Hi Giampaolo! No, that's not it, the tests are run in an empty sandbox, there is no psutil installed there.
Can you import psutil? I mean python3 -c "import psutil"
?
If I install psutil (which doesn't make a difference for the test) then yes:
# python3.12 -c "import psutil"
#
In 6.1.0 the test system was switched from unittest to pytest. I've updated the package in pkgsrc using the pypi source distfile, but I can't run the tests any longer. Using the command line from
HISTORY.rst
:Using pytest directly, from the top level:
It doesn't matter if I install the package first or not. In case it matters, in pkgsrc, the package is built using:
What is the proper way to run the tests now? Thanks.