Bug#1074650: fontparts: FTBFS: AttributeError: 'TestGlyph' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
Source: fontparts
Version: 0.12.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie
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
> /<<PKGBUILDDIR>>/Lib/fontParts/base/normalizers.py:625: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/normalizers.py:1068: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:122: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:224: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:248: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:261: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:270: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:312: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:333: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:353: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:382: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:404: SyntaxWarning: invalid escape sequence '\s'
> """
> /<<PKGBUILDDIR>>/Lib/fontParts/base/kerning.py:431: SyntaxWarning: invalid escape sequence '\s'
> """
> .....................................................................................................................................................................................................................................................................E.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ======================================================================
> ERROR: test_removeOverlap (fontParts.test.test_glyph.TestGlyph.test_removeOverlap)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/Lib/fontParts/test/test_glyph.py", line 1359, in test_removeOverlap
> self.assertEquals(len(glyph), 2)
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestGlyph' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
>
> ----------------------------------------------------------------------
> Ran 1622 tests in 0.590s
>
> FAILED (errors=1, skipped=1)
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/07/02/fontparts_0.12.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&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 mark 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: