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

MacPorts noreply at macports.org
Sun Dec 11 05:35:33 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  |
---------------------------------+---------------------------------
Changes (by ryandesign):

 * cc: stromnov (added)
 * port:  py-m2r => py-m2r, py-mistune


Comment:

 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)

 py-mistune was updated to 2.0.2 in April, reverted to 0.8.4 the next day,
 and updated to 2.0.4 in August.

 py-m2r could be updated to version 0.3.1 but only for python37 and later
 and it will not fix this problem; it still requires py-mistune < 2. py-m2r
 has been archived by its developer so there probably won't be further
 updates after that.

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


More information about the macports-tickets mailing list