Soren Stoutner
2024-09-27 03:10:01 UTC
I am in the process of updating python-mnemonic. Historically, tests have not
been enabled. I can build the new version just fine, but when I enable tests
by adding a Build-Depend on "python3-pytest <!nocheck>â the build fails [1]
E FileNotFoundError: [Errno 2] No such file or directory: 'vectors.json'
tests/test_mnemonic.py:45: FileNotFoundError
vectors.json is located in the root [2]. But for some reason it is not
available in the test environment (or the test is looking in the wrong place).
I could, of course, disable the tests again. But I would like to run them if
possible. Does anybody have any idea what I would need to do to make this file
available to the test?
[1] https://salsa.debian.org/python-team/packages/python-mnemonic/-/jobs/
6341467#L1138
[2] https://salsa.debian.org/python-team/packages/python-mnemonic/-/blob/
debian/master/vectors.json?ref_type=heads
been enabled. I can build the new version just fine, but when I enable tests
by adding a Build-Depend on "python3-pytest <!nocheck>â the build fails [1]
E FileNotFoundError: [Errno 2] No such file or directory: 'vectors.json'
tests/test_mnemonic.py:45: FileNotFoundError
vectors.json is located in the root [2]. But for some reason it is not
available in the test environment (or the test is looking in the wrong place).
I could, of course, disable the tests again. But I would like to run them if
possible. Does anybody have any idea what I would need to do to make this file
available to the test?
[1] https://salsa.debian.org/python-team/packages/python-mnemonic/-/jobs/
6341467#L1138
[2] https://salsa.debian.org/python-team/packages/python-mnemonic/-/blob/
debian/master/vectors.json?ref_type=heads
--
Soren Stoutner
***@debian.org
Soren Stoutner
***@debian.org