From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6N5OIWAZy2F6tgAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 15:04:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4CNFG2AZy2EWUwEAG6o9tA (envelope-from ) for ; Tue, 28 Dec 2021 15:04:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3FA232DF49 for ; Tue, 28 Dec 2021 15:04:16 +0100 (CET) Received: from localhost ([::1]:52860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2D5L-0001e2-GO for larch@yhetil.org; Tue, 28 Dec 2021 09:04:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2D58-0001cM-Mr for bug-guix@gnu.org; Tue, 28 Dec 2021 09:04:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2D58-0007Ke-DD for bug-guix@gnu.org; Tue, 28 Dec 2021 09:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2D58-0006ae-3Y for bug-guix@gnu.org; Tue, 28 Dec 2021 09:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52834: sanity-check fails with namespace packages Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 28 Dec 2021 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52834 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Received: via spool by 52834-submit@debbugs.gnu.org id=B52834.164070023225315 (code B ref 52834); Tue, 28 Dec 2021 14:04:02 +0000 Received: (at 52834) by debbugs.gnu.org; 28 Dec 2021 14:03:52 +0000 Received: from localhost ([127.0.0.1]:45381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2D4y-0006aF-2d for submit@debbugs.gnu.org; Tue, 28 Dec 2021 09:03:52 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:48414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2D4v-0006a1-7I for 52834@debbugs.gnu.org; Tue, 28 Dec 2021 09:03:50 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4JNbqL6VtgzQkBl; Tue, 28 Dec 2021 15:03:42 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1640700221; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NXhket9JegO1rubQlxNHEU6gobA2H9vXkPlYAqZ1Ke0=; b=kPOnzwd9xPjMxssyn493e8y8zYfGF2yzE6NCCdntyt72sYAWF7ZsjfxfmhpSaL5pt/roc3 8O45kDtTXspBw1kcVNhllE06mS8IHK0jDGBA/A35j3QrQLVTxWH3xbd2ZtevzQuBPooG2n jcGzTLMZdkkiKOfpr3YaULl0UG/yp7wjQ3fiGnH15Qb1Hj+HQ1iN/KRa1PO6JrOoCJRne8 aDttvxCFUmd93XYOlayCdBVK45kotGidNU0KrnfU8B3KIuJMbiMMG66HSL1SRHY5Fu8w9y aYNU81pZCKNK9juqIDpibm8EinX1V9PeinluJi28FgKTuVkJxOziAVAcAcUDfQ== Date: Tue, 28 Dec 2021 15:03:38 +0100 From: Lars-Dominik Braun Message-ID: References: <1df628db-1c7b-dd86-0b77-cd767fea593d@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1df628db-1c7b-dd86-0b77-cd767fea593d@crazy-compilers.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 52834@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640700256; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NXhket9JegO1rubQlxNHEU6gobA2H9vXkPlYAqZ1Ke0=; b=uhxAarwDbT6t2e2EoRTScf099QALmgxUuWNcO1RxUBZIHvGnL/aU7MFlz3N0SWtJ7lFs6V khoaoOW878X84PzuSrjbENsklzV4wjgzfisgHia08YNhAA8zY06GxjX24ERlKVXG+MeatO 1ofyov0T/u7AbGM9lmPtp0L4RRivRVHEhXLQ8YNQ/5yt4cTyLQ9Tpjp1WLwAn/mdHeZkpw s3DB5pM3yh4i9sT3X62pFoGDmzMHX6Fd02jGxSlGuIg/EJLUa1fZY2NFXc2G4kN2tMs5dO 8QpqNPFW8KyHtZXqaVDaTyUQOFKV8hzHniXxqHrP01AFjhzyMwbW6ssG/slcng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640700256; a=rsa-sha256; cv=none; b=QVUBZn55s1FmUSeOe3xUHnZNBp9upQKDr8L/iWIn5TRzUBcP1mVu/mOOAUdnfhKbbdl7aC I6EjjllphK/JU1mXFeCxmye7DMAupF8bPqKV45c6biwcdvO4NKUEynQVEtyGnYY1l3DyEF cdlXIyOXLze9DnC54PUD7zaGb7rhrCf5ZaYeRVr5rUXrT0MU+s1mlqk6LisWXoDnU3ZdbH eaZ9oo2ekqtadql1ooPxFYJxwAs6GcldV+MIBKGZFDAXZlT/+QZbyrGOZkH7Gq2sr6jKXS i0r83yoCzYNhEVmaNjmGcnDikSN6V8EssGGU9Dq4JvWbWlWR9NPknqAYp2flpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=kPOnzwd9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=kPOnzwd9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3FA232DF49 X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: vVCDJb8psREe Hi Hartmut, > These fail due to sanity-check not being able to import "zope" - which > is a namespace package. Both use the "src directory layout" (source is > contained in a sub-directory "src"). As far as I see PEP 420 (implicit namespace packages) is supported by Python >=3.3 only, so I’m not sure the packages would work even if we disabled 'sanity-check, do they? Either way, I’m in favor of removing broken Python 2 packages. > This could be solved by fetching a list og namespace-packages and > checking whether a fails import is a namespace-package. Maybe there are > other solution. > […] >      nspkgs = set(dist.get_metadata_lines('namespace_packages.txt')) Depending on undocumented setuptools behavior should imo be avoided and – for top_level.txt – phased out if possible. Cheers, Lars