From nobody Thu Oct 20 21:05:41 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 4Mtg9f097nz4gZRk for ; Thu, 20 Oct 2022 21:05:42 +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 4Mtg9d4yTQz3R8V for ; Thu, 20 Oct 2022 21:05:41 +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 4Mtg9d3ZD1z10jQ for ; Thu, 20 Oct 2022 21:05:41 +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 29KL5fAh033901 for ; Thu, 20 Oct 2022 21:05:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29KL5f0C033900 for python@FreeBSD.org; Thu, 20 Oct 2022 21:05:41 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 267040] devel/py-nbformat and devel/py-black incorrectly install files belonging to the test infrastructure Date: Thu, 20 Oct 2022 21:05:41 +0000 X-Bugzilla-Reason: AssignedTo 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 X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kai@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: cc attachments.created 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=1666299941; 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=YNdhJ0pn8Wu9jkMgw9xU0HodVpmf2xGei2w8IyQdQmI=; b=hxtZEFNKGobzXEM8rZkJsevOkUdXTTa+NMD/KimKY7ey59q2uN65C3PCmZHIbkWwq03Aoy lzB7N/LkJanV0Xz8ZA/XzQbtyYLd0Jpg4TUIBZSntOyKUoBPSRe0g7n632dGl+Owv2MYNj oJzQOhVS8xRGBklFK4l716TTd8GpbmG4dj4m87Agm7KpTvNHBquI26xOucC9TAu//YPQk4 sXW+netyG0GX+31Ru8J/anClhDzj2422FBi3a9qXfrGF3SJkheWODVYH0ZtTBwAd41biY6 2ocrd/1zO13Amh4tH+CXZhDVprVc1tcg8vpHsJ4OCBvrqe9dlRChVcRtgBHttQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666299941; a=rsa-sha256; cv=none; b=w7tK5uRk1Wg1LF8Hbr4yY7OO8AUOiQNxfiLN5Eg180ww5zzws/0s1WR+BFgZm/p3prSEai d3S3cb4yyGa6Qn0EBslxLZ7hC1fcLAADmaEbRSVDzJmOpWQovH4459prtnpMG3ejcYmsiz p4OEszbYWnAln6HnFFn5s8FwX3bMTZglASPYA3rdUZVS6hcZmhjPRtab9YN6fHyspiB9u7 jAIBc6b6gjyIvdUyrGx9JbOsG2bNKub0W++oN/pBHB2vQUHgIDbZ/36212pxaaQKt/iwp1 E5n+G0qaMWLtQfewVfLRl74/tsKGiYLHqfIRdrqfdKqdpIk05dnSRzozjwYUnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267040 Kai Knoblich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kai@FreeBSD.org --- Comment #5 from Kai Knoblich --- Created attachment 237489 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237489&action= =3Dedit py-black-fix-packaging-issues.patch The current version of devel/py-black is still broken as it has packaging issues. The games/anki port, which requires devel/py-black for build, also fails to build due this regression. For instance if one tries to do a > $ python3.9 -m black > /usr/local/bin/python3.9: No module named black or even try to run the script "black" > $ black > Traceback (most recent call last): > File "/usr/local/bin/black", line 33, in > sys.exit(load_entry_point('black=3D=3D22.10.0', 'console_scripts', 'b= lack')()) > File "/usr/local/bin/black", line 25, in importlib_load_entry_point > return next(matches).load() > File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load > module =3D import_module(match.group('module')) > File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in > i= mport_module > return _bootstrap._gcd_import(name[level:], package, level) > File "", line 1030, in _gcd_import > File "", line 1007, in _find_and_load > File "", line 984, in _find_and_load_unloc= ked > ModuleNotFoundError: No module named 'black' Attached is a patch that should remedy the packaging issues. (At least games/anki builds fine so far and I haven't had the time to do a bulk run against all consumers of devel/py-black, yet). --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=