DEP8 failure due to py3.10 incompatible import

Bug #1959935 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-opcua (Ubuntu)
Fix Released
Undecided
Andreas Hasenack

Bug Description

From https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/p/python-opcua/20220126_092711_9ffba@/log.gz:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/autopkgtest.Icci06/build.Qeh/src/opcua/__init__.py", line 8, in <module>
    from opcua.common.subscription import Subscription
  File "/tmp/autopkgtest.Icci06/build.Qeh/src/opcua/common/subscription.py", line 7, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

Upstream fix: https://github.com/FreeOpcUa/python-opcua/pull/1075

Related branches

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-opcua - 0.98.11-1ubuntu1

---------------
python-opcua (0.98.11-1ubuntu1) jammy; urgency=medium

  * d/p/0005-fix-collections-import.patch: fix collections import for
    python 3.10+ (LP: #1959935)

 -- Andreas Hasenack <email address hidden> Thu, 03 Feb 2022 20:22:48 +0000

Changed in python-opcua (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.