[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1009439: fontparts: FTBFS: AttributeError: module 'collections' has no attribute 'Hashable'



Source: fontparts
Version: 0.9.6-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYTHONPATH=./Lib python3 ./Lib/fontParts/fontshell/test.py
> ......E...............................E........................E.....................................E..............E...................E.......................................................................................E.........................................................................................E.........................................E.............................................E..........................................................................................................................................E.................................................................................................E......................................................................................................E..............................................................s..........................E..................................E................................................................E...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ======================================================================
> ERROR: test_hash_is_hasbable (fontParts.test.test_font.TestFont)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_font.py", line 203, in test_hash_is_hasbable
>     isinstance(font_one, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_info.TestInfo)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_info.py", line 56, in test_hash
>     isinstance(info, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_groups.TestGroups)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_groups.py", line 231, in test_hash
>     isinstance(groups, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_kerning.TestKerning)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_kerning.py", line 237, in test_hash
>     isinstance(kerning, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_features.TestFeatures)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_features.py", line 109, in test_hash
>     isinstance(features, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_layer.TestLayer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_layer.py", line 99, in test_is_hashable
>     isinstance(layer_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_glyph.TestGlyph)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_glyph.py", line 697, in test_is_hashable
>     isinstance(glyph_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_contour.TestContour)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_contour.py", line 282, in test_is_hashable
>     isinstance(contour_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_segment.TestSegment)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_segment.py", line 143, in test_hash
>     isinstance(segment, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_bPoint.TestBPoint)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_bPoint.py", line 598, in test_hash
>     isinstance(bPoint, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_point.TestPoint)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_point.py", line 457, in test_is_hashable
>     isinstance(point_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_component.TestComponent)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_component.py", line 850, in test_is_hashable
>     isinstance(component_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_anchor.TestAnchor)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_anchor.py", line 519, in test_is_hashable
>     isinstance(anchor_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_image.TestImage)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_image.py", line 718, in test_is_hashable
>     isinstance(image_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_hash (fontParts.test.test_lib.TestLib)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_lib.py", line 133, in test_hash
>     isinstance(lib, collections.Hashable),
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_is_hashable (fontParts.test.test_guideline.TestGuideline)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_guideline.py", line 815, in test_is_hashable
>     isinstance(guideline_one, collections.Hashable)
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ----------------------------------------------------------------------
> Ran 1608 tests in 0.604s
> 
> FAILED (errors=16, skipped=1)
> make[1]: *** [debian/rules:16: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/fontparts_0.9.6-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: