On Thu, 2026-03-05 at 10:58 +0100, Thomas Goirand wrote:
Hi,
In its last version of fixtures, the tests folder has been move one directory up.
Trying to rebuild testresources, it fails with:
ERROR: unittest.loader._FailedTest.testresources.tests.test_test_resource ---------------------------------------------------------------------- ImportError: Failed to import test module: testresources.tests.test_test_resource Traceback (most recent call last): File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name __import__(name) ~~~~~~~~~~^^^^^^ File "/build/testresources-nCTnwj/testresources-2.0.2/testresources/tests/test_test_resource.py", line 18, in <module> from fixtures.tests.helpers import LoggingFixture ModuleNotFoundError: No module named 'fixtures.tests'
This isn't seen downstream, as it's still possible to run latest versions of both fixtures and testresources, only testresources unit testing is broken with lastest fixtures, but I don't think it creates any issue for the users of these 2 libs.
FYI this isn't an OpenStack deliverable: we just happen to use it a lot. You want github.com/testing-cabal for this library, along with fixtures, testtools, and possibly other testing-related libraries. It would be better to raise issues there since they're most likely to get attention if I don't see them here. In this case though, fortunately I did and pushed [1] in response. Stephen [1] https://github.com/testing-cabal/testresources/pull/22
However, on the distro level, I'm not sure how to fix this... :/
Cheers,
Thomas Goirand (zigo)