Bug 271783 - math/py-matplotlib: Missing dependency
Summary: math/py-matplotlib: Missing dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jason W. Bacon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-02 12:25 UTC by Jason W. Bacon
Modified: 2023-06-27 13:27 UTC (History)
1 user (show)

See Also:
jwb: maintainer-feedback-


Attachments
Patch to sync run depends with setup.py (1.98 KB, patch)
2023-06-21 14:42 UTC, Jason W. Bacon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)