Bug 271783

Summary: math/py-matplotlib: Missing dependency
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Individual Port(s)Assignee: Jason W. Bacon <jwb>
Status: Closed FIXED    
Severity: Affects Some People CC: mainland
Priority: --- Flags: jwb: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to sync run depends with setup.py none

Description Jason W. Bacon freebsd_committer freebsd_triage 2023-06-02 12:25:52 UTC
Seemed to be working fine for a while after PR 271362, but now I'm seeing this:

pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by matplotlib

pkg install py39-packaging works around the issue.
Comment 1 Jason W. Bacon freebsd_committer freebsd_triage 2023-06-21 14:42:44 UTC
Created attachment 242922 [details]
Patch to sync run depends with setup.py

The attached patch brings RUN_DEPENDS in sync with setup.py.

Please approve it if it looks good to you, or submit a new patch if you think it can be improved upon.

It would be good to commit a fix before the branch at the end of this month.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-06-27 13:27:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86d2df343114836a2c11343be66f27743c4ca0d1

commit 86d2df343114836a2c11343be66f27743c4ca0d1
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2023-06-27 13:23:20 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2023-06-27 13:27:04 +0000

    math/py-matplotlib: Sync run depends with setup.py

    Fixes run-time failures of matplotlib consumers
    Maintainer timeout

    PR:             271783

 math/py-matplotlib/Makefile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)