GNU bug report logs -
#34515
Magic-Wormhole
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Sun, 17 Feb 2019 20:53:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
Message #104 received at 34515 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> On Mon, Feb 18, 2019 at 09:27:50AM +0100, Ricardo Wurmus wrote:
>> Leo Famulari <leo <at> famulari.name> writes:
>> > * gnu/packages/python-web.scm (python-autobahn): New variable.
>> […]
>> > + (arguments
>> > + `(#:tests? #f)) ; fail mysteriously
>>
>> Mysteriously, eh? Do you have any more information about this that
>> might help us debug this?
>
> Basically, the tests quit early after several errors like this:
>
> ------
> ______ ERROR collecting build/lib/autobahn/nvx/test/test_utf8validator.py ______
> import file mismatch:
> imported module 'test_utf8validator' has this __file__ attribute:
> /tmp/guix-build-python-autobahn-19.2.1.drv-0/autobahn-19.2.1/autobahn/nvx/test/test_utf8validator.py
> which is not the same as the test file we want to collect:
> /tmp/guix-build-python-autobahn-19.2.1.drv-0/autobahn-19.2.1/build/lib/autobahn/nvx/test/test_utf8validator.py
> HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
> ------
>
> I don't fully understand the issue but it's discussed in the pytest bug
> tracker as a general issue:
>
> https://github.com/pytest-dev/pytest/issues/529
>
> What do you think? My opinion is that the test suite is broken.
Yeah, I think it’s fine to disable tests in this case. Would be good to
report this upstream, though. This might be a Python 2 vs Python 3
difference (due to implicit namespaces in the latter).
--
Ricardo
This bug report was last modified 6 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.