[MacPorts] #64168: py39-matplotlib @3.5.0_0 breakes import in matplotlib/__init__.py

MacPorts noreply at macports.org
Thu Dec 9 17:34:29 UTC 2021


#64168: py39-matplotlib @3.5.0_0 breakes import in matplotlib/__init__.py
-------------------------------+-----------------------------
 Reporter:  aaronm6            |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.7.1
 Keywords:  matplotlib import  |       Port:  py39-matplotlib
-------------------------------+-----------------------------
 I recently upgraded from `py39-matplotlib @3.4.3_0+cairo+webagg` to
 `py39-matplotlib @3.5.0_0+cairo+webagg` and experience a problem when
 trying to import anything from matplotlib.

 {{{
 Python 3.9.9 (main, Nov 16 2021, 07:33:57)
 [Clang 12.0.5 (clang-1205.0.22.11)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/matplotlib/__init__.py", line 105, in <module>
     from packaging.version import parse as parse_version
 ModuleNotFoundError: No module named 'packaging'
 }}}

 Reactivating my previous matplotlib version fixes the issue.

-- 
Ticket URL: <https://trac.macports.org/ticket/64168>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list