From nobody Thu Oct 20 00:02:13 2022 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mt77p016sz4g6yS for ; Thu, 20 Oct 2022 00:02:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mt77n534pz3cFk for ; Thu, 20 Oct 2022 00:02:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mt77n47FDzhgg for ; Thu, 20 Oct 2022 00:02:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29K02DbF038450 for ; Thu, 20 Oct 2022 00:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29K02Dnp038449 for python@FreeBSD.org; Thu, 20 Oct 2022 00:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 267188] textproc/py-m2r: Fails to build: AttributeError: module 'mistune' has no attribute 'BlockGrammar (textproc/py-mistune0) Date: Thu, 20 Oct 2022 00:02:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666224133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ipxClknB8t+jO7x0AVqm3/XFSueQvfEY2Uw96ZZmo/I=; b=hC+Mb+vc8rquxWGP4GvNu73pnNwqSMkKV9CIIoQHp4kRBQhbC8q43xuDwI49lQonzrGZGS hKyl4BwTFWT4Icqqg728GsjNDGpAeHKIG4nJkDpJvN02MFn1UI5hGmoSg9SsYrDGz3se0z EOH3cP1XM00a787Z5NYGqxSzuUVkdEbKoBLGrcZm63GOkuIgno57JhnFNjcNLMtO8IJ/M4 2Q0/+pm4lpgnJPi6DobBO50g4OhAvUQpeTYrJISFnRUkybi/m2N+aiTmv3p2RhqQYHAlmJ LjNBuVUKfEKxkehgjuywPu/Hu0r4XaapQoAwuSqchDUfN/Vxcc1Z5jFGbie3mw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666224133; a=rsa-sha256; cv=none; b=WhLDEYYSj+cj2D5X0MULTu8YNbJ4A6jLb9d9xl2hkbvpBwR3zSH7YnzBY3SZT2T7x1UICE Cbglk2iLyJz9yaVzXyk52OsAAzE9KWombZLU2FbM62UIBxeZ57P2/WgumZ/K7TqtpnKBSq nKcOQ0SF2XqeCOLs3nM5kGiLqFNh1rW3KF8xeYRHFUIw0ZBOOBp7wUhgjrBQh0BGNcNqDA UDNfRRPQBPjCcrYr6LS56xVJnFuE20DZyDWLr2bhPLuzif08WTXKEBlVySn6NXLaHExqrf 5J5ExYxXNueaF8NMtPqABOwx8h/jG5HTvbTDSeHeIba42B0esiJrwxOHiIhEIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267188 --- Comment #1 from John W. O'Brien --- 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 on the CC list for the bug.=