FS#57050 - [python-matplotlib] add local_freetype = True to setup.cfg to reduce test failures

Attached to Project: Community Packages
Opened by David McInnis (daavve) - Thursday, 11 January 2018, 10:46 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 11 January 2018, 17:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Please consider appending the following to the end of setup.cfg:

setup.diff:
>
> [test]
> local_freetype = True

When running makepkg on python-matplotlib I get the following message during check():

UserWarning: Matplotlib is not built with the correct FreeType version to run tests. Set local_freetype=True in setup.cfg and rebuild. Expect many image comparison failures below. Expected freetype version 2.6.1. Found freetype version 2.9.0. Freetype build type is not local

The tests then contain over 1,000 image mismatch failures

Appending "local_freetype = True" to setup.cfg gets rid of the incorrect FreeType version warning. Additionally all the image mismatch failures go away.

-Dave
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 11 January 2018, 17:47 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#55891 
Comment by David McInnis (daavve) - Thursday, 11 January 2018, 11:43 GMT
Correction, the image mismatch failures go from over 1,000 to less than 10. They don't ever go away for me.

-Dave
Comment by Eli Schwartz (eschwartz) - Thursday, 11 January 2018, 17:02 GMT
Are there any actual issues when running the matplotlib? Expected test failures that don't actually cause issues, are not a problem.

Loading...