Bug 264679 - math/py-matplotlib: Update to 3.5.2
Summary: math/py-matplotlib: Update to 3.5.2
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL: https://discourse.matplotlib.org/t/ma...
Keywords:
Depends on: 255722
Blocks: 257412
  Show dependency treegraph
 
Reported: 2022-06-15 09:22 UTC by Thomas Guymer
Modified: 2023-05-21 22:17 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (mainland)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Guymer 2022-06-15 09:22:02 UTC
Hi,

Could MatPlotLib please be bumped to a newer version?

I am using a Python script which uses a new (minor) feature that is not present in 3.4.3 (which is what FreeBSD is currently using). I could work around it by modifying the script but I think that the better solution is to update MatPlotLib (which was last updated in the FreeBSD ports tree 6 months ago).

Thanks,

Tom

PS: The exact new feature is the "labels" keyword argument to "matplotlib.axes.Axes.set_xticks()". Here is the documentation for 3.4.3: https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.axes.Axes.set_xticks.html and here is the documentation for 3.5.2: https://matplotlib.org/3.5.2/api/_as_gen/matplotlib.axes.Axes.set_xticks.html (note the new "labels" keyword argument).

PPS: I had a look in the release notes for MatPlotLib but I couldn't find the exact version where this new (minor) feature was added. By trial-and-error of URLs, the first version that it appear in was 3.5.0, just FYI.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2022-09-23 15:55:14 UTC
I tried to upgrade matplotlib to at least 3.5.2 (3.6.0 has been released) because it is required to upgrade math/sage, but this is not yet possible, because matplotlib’s requirements should be satisfied by a PEP 517 installer.

See https://wiki.freebsd.org/Python/PEP-517

A patch has been proposed in PR 255722, but not accepted.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-12 07:34:47 UTC
> A patch has been proposed in PR 255722, but not accepted.

I'll update this patch in a few days.
Comment 3 Thomas Guymer 2023-03-12 10:54:27 UTC
Did the patch get updated? What is the status of PEP-517 in FreeBSD?

I note that "math/py-matplotlib" is still version 3.4.3; it is unclear to me how current the FreeBSD Wiki page is. The ticket that blocks this one has been completed, so does this now mean that this ticket is able to be resolved?

Cheers
Comment 4 Geoffrey Mainland 2023-05-21 21:40:03 UTC
math/py-matplotlib is at 3.7.1, so this bug can be closed.