[3dprinter-general] Bug#973230: cura: FTBFS: plugins/Toolbox/src/AuthorsModel.py:71: error: Argument "key" to "sort" of "list" has incompatible type "Callable[[Dict[str, Union[str, List[str], int, None]]], Union[str, List[str], int, None]]"; expected "Callable[[Dict[str, Union[str, List[str], int, None]]], _SupportsLessThan]"

Lucas Nussbaum lucas at debian.org
Tue Oct 27 16:58:47 GMT 2020


Source: cura
Version: 4.7.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> Running tests...
> /usr/bin/ctest --force-new-ctest-process -j4
> Test project /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
>       Start  1: invalid-imports
>       Start  2: pytest-main
>       Start  3: pytest-FirmwareUpdateChecker
>       Start  4: pytest-LegacyProfileReader
>  1/14 Test  #1: invalid-imports ..................   Passed    0.13 sec
>       Start  5: pytest-PostProcessingPlugin
>  2/14 Test  #3: pytest-FirmwareUpdateChecker .....   Passed    0.69 sec
>       Start  6: pytest-VersionUpgrade25to26
>  3/14 Test  #4: pytest-LegacyProfileReader .......   Passed    0.73 sec
>       Start  7: pytest-VersionUpgrade26to27
>  4/14 Test  #6: pytest-VersionUpgrade25to26 ......   Passed    0.29 sec
>       Start  8: pytest-VersionUpgrade27to30
>  5/14 Test  #7: pytest-VersionUpgrade26to27 ......   Passed    0.27 sec
>       Start  9: pytest-VersionUpgrade34to35
>  6/14 Test  #8: pytest-VersionUpgrade27to30 ......   Passed    0.29 sec
>       Start 10: pytest-VersionUpgrade43to44
>  7/14 Test  #9: pytest-VersionUpgrade34to35 ......   Passed    0.26 sec
>       Start 11: pytest-VersionUpgrade44to45
>  8/14 Test  #5: pytest-PostProcessingPlugin ......   Passed    1.17 sec
>       Start 12: pytest-XmlMaterialProfile
>  9/14 Test #10: pytest-VersionUpgrade43to44 ......   Passed    0.26 sec
>       Start 13: code-style
> 10/14 Test #11: pytest-VersionUpgrade44to45 ......   Passed    0.28 sec
>       Start 14: shortcut-keys
> 11/14 Test #14: shortcut-keys ....................   Passed    0.26 sec
> 12/14 Test #12: pytest-XmlMaterialProfile ........   Passed    1.18 sec
> 13/14 Test #13: code-style .......................***Failed   21.02 sec
> Success: no issues found in 4 source files
> Success: no issues found in 162 source files
> Success: no issues found in 2 source files
> Success: no issues found in 3 source files
> Success: no issues found in 7 source files
> Success: no issues found in 2 source files
> Success: no issues found in 5 source files
> Success: no issues found in 2 source files
> Success: no issues found in 7 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 5 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 3 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 5 source files
> Success: no issues found in 3 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 6 source files
> Success: no issues found in 5 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> plugins/Toolbox/src/AuthorsModel.py:71: error: Argument "key" to "sort" of "list" has incompatible type "Callable[[Dict[str, Union[str, List[str], int, None]]], Union[str, List[str], int, None]]"; expected "Callable[[Dict[str, Union[str, List[str], int, None]]], _SupportsLessThan]"
> plugins/Toolbox/src/AuthorsModel.py:71: error: Incompatible return value type (got "Union[str, List[str], int, None]", expected "_SupportsLessThan")
> Success: no issues found in 2 source files
> Found 2 errors in 1 file (checked 17 source files)
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 53 source files
> Success: no issues found in 10 source files
> Success: no issues found in 3 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 5 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 2 source files
> Success: no issues found in 5 source files
> Success: no issues found in 2 source files
>   ->  sys.executable location: /usr/bin/python3.9
>  -> Searching 
>  -> Searching /usr/bin
>  -> Searching /usr/scripts
>   ->  sys.executable location: /usr/bin/python3.9
>  -> Searching /bin
>  -> Searching /sbin
>  -> Searching /usr/bin
> Found mypy exe path: /usr/bin/mypy
> Found mypy module path: /usr/bin/mypy
> 
> Command /usr/bin/python3.9 /usr/bin/mypy -p Toolbox --ignore-missing-imports failed checking. :(
> MYPY check was completed, but did not pass
> 
> 14/14 Test  #2: pytest-main ......................   Passed   27.33 sec
> 
> 93% tests passed, 1 tests failed out of 14
> 
> Total Test time (real) =  27.33 sec
> 
> The following tests FAILED:
> 	 13 - code-style (Failed)
> Errors while running CTest
> make[2]: *** [Makefile:140: test] Error 8

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/cura_4.7.1-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the 3dprinter-general mailing list