[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34515] [PATCH 10/13] gnu: Add python-autobahn.
From: |
Ricardo Wurmus |
Subject: |
[bug#34515] [PATCH 10/13] gnu: Add python-autobahn. |
Date: |
Tue, 19 Feb 2019 08:36:26 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Leo Famulari <address@hidden> writes:
> On Mon, Feb 18, 2019 at 09:27:50AM +0100, Ricardo Wurmus wrote:
>> Leo Famulari <address@hidden> 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
[bug#34515] [PATCH 12/13] gnu: Add magic-wormhole-transit-relay., Leo Famulari, 2019/02/17
[bug#34515] [PATCH 13/13] gnu: Add Magic-Wormhole., Leo Famulari, 2019/02/17
[bug#34515] [PATCH 11/13] gnu: Add magic-wormhole-mailbox-server., Leo Famulari, 2019/02/17