[MacPorts] #67885: py310-matplotlib requires pyparsing < 3.1, but py310-parsing provides 3.1.0

MacPorts noreply at macports.org
Mon Jul 31 16:59:20 UTC 2023


#67885: py310-matplotlib requires pyparsing < 3.1, but py310-parsing provides 3.1.0
----------------------+--------------------
 Reporter:  bernstei  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 With the latest macports (2.8.1) on macOS 11.7, py310-matplotlib requires
 pyparsing < 3.1
 {{{
 $ grep parsing
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/matplotlib-3.7.2-py3.10.egg-info/requires.txt
 pyparsing<3.1,>=2.3.1
 }}}

 But py310-parsing provides 3.1.0
 {{{
 $ python3 -c "import pyparsing; print(pyparsing.__file__,
 pyparsing.__version__)"
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/pyparsing/__init__.py 3.1.0
 }}}

 I don't really know where this gets fixed, or if it's just something in
 pypi, but it means that if you install something that depends on
 matplotlib to your local directory (i.e. `~/Library`) it also installs an
 older pyparsing.

 These are the installed versions, which appear to be the latest (i.e.
 `port upgrade outdated` doesn't update them)
 {{{
 bernstei at cadmium davtk % port info py310-matplotlib py310-parsing
 py310-matplotlib @3.7.2_1 (python, graphics, math)
 Variants:             [+]cairo, dvipng, ghostscript, gtk3, latex, pdftops,
 pyside, qt5, tkinter, universal, [+]webagg

 Description:          Matplotlib strives to produce publication quality 2D
 graphics for interactive graphing, scientific publishing, user interface
 development and web
                       application servers targeting multiple user
 interfaces and hardcopy output formats. There is a 'pylab' mode which
 emulates matlab graphics. The library uses
                       numpy for handling large data sets and supports a
 variety of output backends. This port provides variants for the different
 GUIs (gtk2, gtk3, tkinter, qt4,
                       qt5, cairo, latex).
 Homepage:             https://matplotlib.org/

 Build Dependencies:   pkgconfig, py310-certifi, py310-pybind11,
 py310-setuptools, py310-setuptools_scm
 Library Dependencies: freetype, qhull, py310-contourpy, py310-cycler,
 py310-dateutil, py310-fonttools, py310-kiwisolver, py310-numpy,
 py310-parsing, py310-packaging,
                       py310-Pillow, py310-cairo, python310
 Platforms:            darwin
 License:              (PSF or BSD)
 Maintainers:          Email: reneeotten at macports.org, GitHub: reneeotten
                       Policy: openmaintainer
 --
 py310-parsing @3.1.0 (python, lang)

 Description:          The parsing module is an alternative approach to
 creating and executing simple grammars, vs. the traditional lex/yacc
 approach, or the use of regular
                       expressions. The parsing module provides a library
 of classes that client code uses to construct the grammar directly in
 Python code.
 Homepage:             https://github.com/pyparsing/pyparsing/

 Build Dependencies:   py310-build, py310-installer, py310-flit_core
 Library Dependencies: python310
 Platforms:            darwin any
 License:              MIT
 Maintainers:          Email: reneeotten at macports.org, GitHub: reneeotten
                       Policy: openmaintainer
 }}}

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


More information about the macports-tickets mailing list