Source: python-websockets, python-hbmqtt
Control: found -1 python-websockets/10.2-1
Control: found -1 python-hbmqtt/0.9.6-1.2
Severity: serious
Tags: sid bookworm
User: [email protected]
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-websockets the autopkgtest of python-hbmqtt fails in testing when that autopkgtest is run with the binary packages of python-websockets from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-websockets      from testing    10.2-1
python-hbmqtt          from testing    0.9.6-1.2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python-websockets to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-websockets

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-hbmqtt/20680286/log.gz

..........................................................EE....
======================================================================
ERROR: Failure: ImportError (cannot import name 'InvalidURI' from 'websockets.uri' (/usr/lib/python3/dist-packages/websockets/uri.py))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName
    module = self.importer.importFromPath(
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.9/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.9/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/tmp/autopkgtest-lxc.2lsi273v/downtmp/build.QiD/src/tests/test_broker.py", line 21, in <module>
    from hbmqtt.client import MQTTClient, ConnectException
File "/tmp/autopkgtest-lxc.2lsi273v/downtmp/build.QiD/src/hbmqtt/client.py", line 21, in <module>
    from websockets.uri import InvalidURI
ImportError: cannot import name 'InvalidURI' from 'websockets.uri' (/usr/lib/python3/dist-packages/websockets/uri.py)

======================================================================
ERROR: Failure: ImportError (cannot import name 'InvalidURI' from 'websockets.uri' (/usr/lib/python3/dist-packages/websockets/uri.py))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName
    module = self.importer.importFromPath(
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.9/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.9/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/tmp/autopkgtest-lxc.2lsi273v/downtmp/build.QiD/src/tests/test_client.py", line 8, in <module>
    from hbmqtt.client import MQTTClient, ConnectException
File "/tmp/autopkgtest-lxc.2lsi273v/downtmp/build.QiD/src/hbmqtt/client.py", line 21, in <module>
    from websockets.uri import InvalidURI
ImportError: cannot import name 'InvalidURI' from 'websockets.uri' (/usr/lib/python3/dist-packages/websockets/uri.py)

----------------------------------------------------------------------
Ran 64 tests in 1.074s

FAILED (errors=2)
autopkgtest [01:10:11]: test command1

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to