Public bug reported:

Ubuntu release affected: 22.04 (Jammy)
package: python3-scikit-rf
repository: Universe
version:  0.15.4-2

What Happens:
$ python3
Python 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import skrf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/skrf/__init__.py", line 14, in <module>
    from . import frequency
  File "/usr/lib/python3/dist-packages/skrf/frequency.py", line 39, in <module>
    from .util import slice_domain,find_nearest_index
  File "/usr/lib/python3/dist-packages/skrf/util.py", line 289, in <module>
    class HomoList(collections.Sequence):
AttributeError: module 'collections' has no attribute 'Sequence'


Importing collections.Sequence was apparently deprecated in Python 3.7. It's 
worth noting that release 0.15.4 of scikit-rf is a couple of years old already, 
upstream version is 0.22.1. It would  be ideal if this could be upgraded or at 
least patched (can just "sed -E 's#collections[.](.*)#collections.abc.\1#' -i 
utils.py")  so that the version in the repo will work with Ubuntu 22.04's 
version of Python without modification.

** Affects: scikit-rf (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1974482

Title:
  python3-scikit-rf module in Universe can't be loaded with Python
  >=3.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scikit-rf/+bug/1974482/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to