From nobody Sun Apr 02 20:50:55 2023 X-Original-To: ports-bugs@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 4PqR4v5S4Zz44BlV for ; Sun, 2 Apr 2023 20:50:55 +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 4PqR4v4Dltz3FWX for ; Sun, 2 Apr 2023 20:50:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680468655; 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; bh=DvsLZeoyBvwo/F1O4E4+SZBx4CYFeO1DcR3jMTAhA7g=; b=GFPXHKaLLNGv9s9BeszEPn+KuYfeuWD0D4Fqx2aHlCCWHlHRWLF3q7grWRn9EuoUuKg3OF w8ng4MfRLVM4CuUjW+azPA4pCGd/VS5gFD6CuLTonxanm5t4NRJv+latl+njInWaqZCRRm EKLTeyp/GoJs0bbe1lI30X73E6w2Q8ZaSI6sh2UeG6T1WJG3qM/lVZe24v3jMmC4EJpGxC 6M2FPCP1SDiFJBqMVJ5AlGyNL4HI4jnaexZ2kd2SUU6WKsAEVRDzjbPjdJ+Kr524KjHvVu 7X+oyY3RhIgWSiqIQJK5ePrRJsENMxUJ946Cvv/E5wc9nlS8CE3yTP8NiAULnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680468655; a=rsa-sha256; cv=none; b=NUDYugIyJ1aaAT42mU5QvUKqI6aU2yMG/d+3jrE9VO099O0aO3D6v6jcJtbcoc+fs7HOVQ oyr7FAcp21a7gVWnIghLEeeWC8krhnruYuuIXeA3yx9wBmnj2dKPc4kHn7gRA9TYLyiz3O r6CIvynGtkH0gRd3nP7gZ3OcUl+c422+W8cj0rDV8arxg4UgrEQA0IqpSonQxtxjyvJM7A Uf0LB1MbXSAj+laP8Hb5sYXxExjnDMLXgK9v72NnQseoA57umy4ByCSuqiKv0rQvShiPJi DUTm91JFWCTCV5+OXDTJWrvihen2xLqM419Gub66J6bd5Al3otJJSuf8LPZGMw== 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 4PqR4v3KjbzX0k for ; Sun, 2 Apr 2023 20:50:55 +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 332Kotda031340 for ; Sun, 2 Apr 2023 20:50:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 332Kot2K031339 for ports-bugs@FreeBSD.org; Sun, 2 Apr 2023 20:50:55 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: ports-bugs@FreeBSD.org Subject: [Bug 270608] devel/py-stevedore: Fails with python 3.7 Date: Sun, 02 Apr 2023 20:50:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jonc@chen.org.nz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nivit@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270608 Bug ID: 270608 Summary: devel/py-stevedore: Fails with python 3.7 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: nivit@FreeBSD.org Reporter: jonc@chen.org.nz Assignee: nivit@FreeBSD.org Flags: maintainer-feedback?(nivit@FreeBSD.org) When running with < python 3.8 flavor, eg: py37-stevedore, a load eventually fails with: ... File "/usr/local/lib/python3.7/site-packages/stevedore/extension.py", line 19, in from . import _cache File "/usr/local/lib/python3.7/site-packages/stevedore/_cache.py", line 1= 8, in import importlib.metadata as importlib_metadata ModuleNotFoundError: No module named 'importlib.metadata' The code line in _cache.py has: import importlib.metadata as importlib_metadata But in python versions before 3.8, importlib.metadata is stored under importlib_metadata. Changing the line to read: import importlib_metadata fixes the problem. I think a conditional patch depending on flavor is required for the port. --=20 You are receiving this mail because: You are the assignee for the bug.=