New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/27050#issuecomment-742228822 Comment: `tox` is generally disfavored because it doesn't actually test against the contents of the package and the Void-packaged dependencies. It creates a virtualenv and populates it with `pip`, then tests that. For `pytest`, you need to make sure all dependencies are available, plus a couple of extras just for testing. We don't package a couple of these, so you have to ignore tests that require thigns we don't provide. You also need, in this case, to set `PYTHONPATH=src` because the project package are inside this subdirectory (you could also use `build/lib*` to get the staged package created by setuptools). See https://github.com/void-linux/void-packages/commit/e285453b7d1457b1026f84a0c23e254523882664 for more information.