[MacPorts] #66440: py27-m2r @0.2.1: AttributeError: 'module' object has no attribute 'BlockGrammar'

MacPorts noreply at macports.org
Sun Dec 11 05:55:58 UTC 2022


#66440: py27-m2r @0.2.1: AttributeError: 'module' object has no attribute
'BlockGrammar'
---------------------------------+---------------------------------
  Reporter:  ryandesign          |      Owner:  MarcusCalhoun-Lopez
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.8.0
Resolution:                      |   Keywords:  ventura
      Port:  py-m2r, py-mistune  |
---------------------------------+---------------------------------

Comment (by ryandesign):

 Replying to [comment:1 ryandesign]:
 > According to [https://github.com/Tribler/tribler/issues/6624 this
 tribler issue]:
 >
 > > the API in version 2.0.0 of mistune has changed, and for the m2r
 library to work correctly, we need to use a previous version of mistune
 (0.8.4)

 Downgrading py27-mistune to 0.8.4 does fix the problem for me. (Not saying
 that's what we should do necessarily, just confirming that it's the same
 issue.)

 > py-mistune was updated to 2.0.2 in April, reverted to 0.8.4 the next
 day,

 because it broke py-nbconvert

 > and updated to 2.0.4 in August.

 but nobody who had the downgraded 0.8.4 received the 2.0.4 update because
 the `epoch` was decreased.

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


More information about the macports-tickets mailing list