Hi John (2024.10.24_10:44:45_+0000) > I am maintaining the package src:kiwi [1] which hasn't been updated in > Debian for some time since upstream has added tests that only work when > the package source is installed into the test environment, i.e. available > through PYTHONPATH.
If it actually needs the .dist-info to be on path (fully installed), you can try runnig the tests under tox. That's probably what the upstream does. tox tests in Debian package builds are a little different because we use --system-site-packages virtualenvs, but they can be a good way to deal with this. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272