Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941848 - dev-python/pytest-mpl: add python 3.13
Summary: dev-python/pytest-mpl: add python 3.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py3.13-tracker
  Show dependency tree
 
Reported: 2024-10-19 12:53 UTC by APN-Pucky
Modified: 2025-03-18 20:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description APN-Pucky 2024-10-19 12:53:54 UTC
I'd like to also have 3.13 for testing in https://github.com/gentoo/sci/pull/1292/commits/ee3dd9dc8bca4364f9841deeef9446169ac29905.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-24 17:07:56 UTC
I'm sorry to say but pytest-mpl is completely broken by design.  It relies on matching output to references images, and these are roughly correct only for very specific freetype version.  We specifically build a separate matplotlib instance in src_test() for its own tests, but since matplotlib proper uses system freetype already, other packages (such as pytest-mpl) are broken.

In fact, if not for cartopy I would have removed pytest-mpl from ::gentoo already.
Comment 2 Larry the Git Cow gentoo-dev 2025-03-18 20:13:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53f91fbe27e4ec7c9eb9762065d16bd85a3c165

commit f53f91fbe27e4ec7c9eb9762065d16bd85a3c165
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-03-18 19:44:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-03-18 20:13:06 +0000

    dev-python/pytest-mpl: Enable py3.13
    
    Closes: https://bugs.gentoo.org/941848
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild | 30 ++++++++++++++++----------
 1 file changed, 19 insertions(+), 11 deletions(-)