[MacPorts] #67702: import matplotlib.pyplot as plt fails

MacPorts noreply at macports.org
Thu Jun 29 01:38:33 UTC 2023


#67702: import matplotlib.pyplot as plt fails
----------------------------+------------------------
  Reporter:  dershow        |      Owner:  reneeotten
      Type:  defect         |     Status:  accepted
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  py-matplotlib  |
----------------------------+------------------------
Changes (by reneeotten):

 * owner:  (none) => reneeotten
 * cc: reneeotten (removed)
 * status:  new => accepted
 * port:  matplotlib => py-matplotlib


Comment:

 sorry for the trouble and thanks for reporting!

 I never noticed this as many other packages have {{{importlib-resources}}}
 as a dependency so many people will have this already.
 But yes, you are correct that it should be a dependency; it's just a
 little strange to me that they have only listed it under
 {{{extra_requires}}}, which typically means it's only needed for certain
 additional features and not needed for "normal" usage. However, from
 looking at the documentation it looks like that is not their intention. Of
 course, it's also possible that I am misunderstanding the intended usage
 of {{{extra_requires}}}. Nevertheless, I will add it as a dependency
 shortly and push the change.

-- 
Ticket URL: <https://trac.macports.org/ticket/67702#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list