[MacPorts] #60902: py37-matplotlib-basemap 1.2.1_0 imports dedent removed from matplotilb 3.3

MacPorts noreply at macports.org
Sun Jul 26 08:36:59 UTC 2020


#60902: py37-matplotlib-basemap 1.2.1_0 imports dedent removed from matplotilb 3.3
------------------------+-----------------------------------
 Reporter:  EJFielding  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.3
 Keywords:              |       Port:  py-matplotlib-basemap
------------------------+-----------------------------------
 The present port version py37-matplotlib-basemap @1.2.1_0 imports "dedent"
 that was in matplotlib 3.2 but is not in matplotlib 3.3

 {{{
   File ".../geodeticplot.py", line 21, in <module>
     import mpl_toolkits.basemap as basemap
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
     from .proj import Proj
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
     from matplotlib.cbook import dedent
 ImportError: cannot import name 'dedent' from 'matplotlib.cbook'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/cbook/__init__.py)
 }}}
 Works with   py37-matplotlib @3.2.2_0+cairo+webagg (active).
 Fails with   py37-matplotlib @3.3.0_1+cairo+webagg (active).

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


More information about the macports-tickets mailing list