Control: severity -1 important Tags: -1 unreproducible Hi Julien,
I'm downgrading because the pytest currently does work with hundreds of packages, implying that it cannot be (generally) unusable. On Wed, 09 Dec 2020 21:08:39 +0100 Julien Puydt wrote: > I was trying to update another package in the Debian Python Team, and > couldn't understand why its testsuite failed with the above error. > > After some failed poking around, I put the following in a file named > test_foo.py: > > def test_foo(): > pass This works fine in a clean environment on my end. > PS: the full trace is: > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", > line 572, in import_plugin > __import__(importspec) > ModuleNotFoundError: No module named 'pytest_tornasync' That's looking for the tornasync plugin [1], which is not available in Debian. I assume that your source package needs this in one way or another, and it is failing because of this. Could you try to run your test_foo.py above in some other directory? If it works, I recommend checking the upstream source for tornasync, and which part of the tests require it. [1] https://pypi.org/project/pytest-tornasync/ Best, Christian