python-pyscss 1.3.7-3build3 FTBFS - ImportError: cannot import name 'Iterable' from 'collections'

Bug #1950391 reported by Athos Ribeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-django-pyscss (Ubuntu)
Fix Released
Undecided
Unassigned
python-pyscss (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

python-pyscss FTBFS with Python 3.10, as per https://launchpad.net/ubuntu/+source/python-pyscss/1.3.7-3build3/+build/22285498

ImportError while loading conftest '/<<PKGBUILDDIR>>/conftest.py'.
../../../conftest.py:11: in <module>
    import scss
../../../scss/__init__.py:56: in <module>
    from scss.compiler import Compiler
../../../scss/compiler.py:22: in <module>
    from scss.calculator import Calculator
../../../scss/calculator.py:11: in <module>
    from scss.ast import Literal
../../../scss/ast.py:24: in <module>
    from scss.types import Boolean
../../../scss/types.py:6: in <module>
    from collections import Iterable
E ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyscss/build; python3.10 -m pytest {dir}/scss/tests

Tags: ftbfs
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
tags: added: ftbfs
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

This failure also affects python-django-pyscss builds: https://launchpad.net/ubuntu/+source/python-django-pyscss/2.0.2-10/+build/22341442

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

This bug was fixed in the package python-pyscss - 1.3.7-4

---------------
python-pyscss (1.3.7-4) unstable; urgency=medium

  [ Athos Ribeiro ]
  * Team upload.
  * d/p/support-python-3.10.patch: Add support for Python 3.10 (LP: #1950391)

 -- Scott Talbert <email address hidden> Tue, 09 Nov 2021 21:54:00 -0500

Changed in python-pyscss (Ubuntu):
status: New → Fix Released
Changed in python-django-pyscss (Ubuntu):
status: New → Invalid
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Changed in python-django-pyscss (Ubuntu):
status: Invalid → New
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :
Changed in python-django-pyscss (Ubuntu):
status: New → 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.