Date: Thu, 20 Oct 2022 00:02:13 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267188] textproc/py-m2r: Fails to build: AttributeError: module 'mistune' has no attribute 'BlockGrammar (textproc/py-mistune0) Message-ID: <bug-267188-7788-bvnyCUgvQm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267188-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-267188-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267188 --- Comment #1 from John W. O'Brien <john@saltant.com> --- Thank you for the report. A corresponding bug reported upstream [0] blames breaking changes in mistune 2.x for this error. I see that neither textproc/py-mistune0 nor textproc/py-mistune mention the other in CONFLICTS. textproc/py-mistune0 installs as a module in site-packages/mistune.py while textproc/py-mistune installs as a package in site-packages/mistune/. Consequently, pkgng detect= s no conflict when both are installed. The Python import logic seems to prefer packages over modules. If py39-mistune-2.0.4 is installed on your build sys= tem, m2r will use it instead of its stated dependency, py39-mistune0-0.8.4. In the short-term it will be necessary for sunpoet to update the two mistune ports to conflict with each other. Longer term, m2r would have to add suppo= rt mistune 2.x. Unfortunately, m2r may now be abandonware. The last release was four years ago, almost to the day (2018-10-11 [1]), and the last commit in = the canonical repository was over three years ago (2019-06-04 [2]). Unless something changes upstream, the fate of textproc/py-m2r is inseparable from= the fate of textproc/py-mistune0. [0] https://github.com/miyakogi/m2r/issues/66 [1] https://github.com/miyakogi/m2r/releases/tag/v0.2.1 [2] https://github.com/miyakogi/m2r/commit/66f4a5a500cdd9fc59085106bff082c9cada= faf3 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267188-7788-bvnyCUgvQm>