From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gBv1KLjXPWFbeQEAgWs5BA (envelope-from ) for ; Sun, 12 Sep 2021 12:34:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4OCrJLjXPWHgGQAAB5/wlQ (envelope-from ) for ; Sun, 12 Sep 2021 10:34:32 +0000 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 09B0BA9DE for ; Sun, 12 Sep 2021 12:34:32 +0200 (CEST) Received: from localhost ([::1]:60988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPMoh-0002Gm-7X for larch@yhetil.org; Sun, 12 Sep 2021 06:34:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPMoQ-0002GR-12 for guix-devel@gnu.org; Sun, 12 Sep 2021 06:34:14 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:41645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPMoO-0006QB-4F for guix-devel@gnu.org; Sun, 12 Sep 2021 06:34:13 -0400 Received: by mail-wr1-x444.google.com with SMTP id w29so9055897wra.8 for ; Sun, 12 Sep 2021 03:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=z6hxskhDUIweKzkLcOPstGVemZuuvt4j4pyqwlQaKZk=; b=aWZezp8ZVvd7pcozmGOavQNojLhqfgToJUndhRXPVNtDdGRx8TTxwxiGEXmjKuHTFz OypgmBwoyOSVUWifZhJeY3LZKGeE9cqdyy5cPPhIHuCrAN+jltnVMr/K2XzTGp+qxGku bev/qr3GRp2rcB3jgbt9KBHO1DZNcVBwnWXioOREGSkwhVu9dt0Ki1x0AHyQD6ORlZVw 9qVClGHyYbG0E6qKhdUuv5C5yRsZ7fwGxM04ZxiMx23Z2a3QXwESPaJVBh191uzsdtbX jes4Tr0KPkLiKLaBfsE/9vutOahSi0d0h072ESyu8l9gt8u/UkW/7HQoSTKIppLjAT5N YFow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=z6hxskhDUIweKzkLcOPstGVemZuuvt4j4pyqwlQaKZk=; b=3Qcfj0Oh/Ly9T+hDgUyoEcMvGR92fXDEOwD1ZIQY4F7bX8eHI7Ba5HC0kwCGqm8AF7 DYSqz3B1HhmemHS1Hj+MeI5ef9hGUWnqQxQeNAfnSD7mAqIiNU3/SiiYo7Yw1ixo4yVi Vgbt1cjoOw/pyMk4CbCS4/wQLR0R6tgUKr65+ESXhTWGUybZ/uv4JEDx+0LRvHdXVvrh bWqzkir+p/IOSMAh5tJw7OcPAez7yKUmE1y3EuUw5XrFRV93MpyMmkiiqaeo3WwOmpUe H+omfeCXykyT+jlcF0ruH5PNSq3hF0ShdbjX5xoORi1yDkLYBGZQz5Vl7BJLAbGd1jgy FQBQ== X-Gm-Message-State: AOAM530FbSvY25Wd1JKbzbWVyTKltJYiFNal7JEarSnhdgEhdgVEZPBP k6DPUVpxxh19lU449EvJ5CA= X-Google-Smtp-Source: ABdhPJx34IW7C/WeKlhvlSkBmjv5Xy/h1J+yl1b4QzyfBLXN6L4Pp+qqjQAh5QCiI7SVrTWIlGBeIA== X-Received: by 2002:a5d:59ae:: with SMTP id p14mr6744745wrr.278.1631442848370; Sun, 12 Sep 2021 03:34:08 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id v20sm4186100wra.73.2021.09.12.03.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 03:34:08 -0700 (PDT) Message-ID: <4a0cc6cc294f5788657ef88818497835dc244d4c.camel@gmail.com> Subject: Re: PEP 668 -- Graceful cooperation between external and Python package managers From: Liliana Marie Prikler To: Maxim Cournoyer , Leo Famulari Date: Sun, 12 Sep 2021 12:34:06 +0200 In-Reply-To: <87sfyapliw.fsf@gmail.com> References: <87sfyapliw.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=liliana.prikler@gmail.com; helo=mail-wr1-x444.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631442872; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z6hxskhDUIweKzkLcOPstGVemZuuvt4j4pyqwlQaKZk=; b=Z6fGFOQrCD/7UVBaAB00U1v0HNFt39iLvlBRN3z06ZXxrcvVF9UYbZWxpqEo/azzcXeQt8 Sm4gouyC6RpnW07+nTCvXcDqgoEy611VL1oEH2aedJ/DIpReTTPXhoKhV09cPQr8EV/WM4 PJTj6WnJiNN3mJmjlXEauOhEn+sqawOTGm7i49JQSQL0bJDJRIykIpl2OeQmCIHJNAwZCs 5Qjtb0+7+LiX8Vd9ZxS8bJrXdCRjsfgITuAzNAxmLi0UeA3OqKbci1sdBnSTvhmMpMtYvA 9yMFaTRkeztek5XRsp4FjkQydtPxkYDvVWX9iCB5X62w+NZh1GTc+ikBpqm75w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631442872; a=rsa-sha256; cv=none; b=X5oQTx22xIRKVcabQI03zE5ZVlSWjC6Krz5W+eyqpE7BzFwrw7gPmIrqp5M/CGL4hNnbYN p2MZ9cjpSuSRNeRUMMkJLNY7RuWB+hQYSHyFVLEhiy0jTwgyZastsRnqp8AM1e0d2ZWKg0 0PRqkoBOK5selLM5zd5dBgT1ssI3Ck8ctfpKQuIY4z6KbBscPG1HWfmn6m0qxcjVo1eCR0 jzwtH4LgcJakWgz+DqnKrpPWyk0BKWOV28Prq9MkSFUoHAZXm52CSmSgrrzOblFtMD7sPE TcXz3AHwLZk3LVX66DF1Qnd8UcBU0emkakCB6N2696K2taeTWOze4kQce+1zug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aWZezp8Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aWZezp8Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 09B0BA9DE X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: tgkoqrKyXmAN Hi, Am Samstag, den 11.09.2021, 22:36 -0400 schrieb Maxim Cournoyer: > IIUC, PEP 668 is about *warning* a pip user when installing a package > would shadow a system one; it does so by reading a EXTERNALLY-MANAGED > file in the Python library site-packages directory. > > So simply put, all we have to do to enable this future warning in pip > is to install an EXTERNALLY-MANAGED file as a phase in our > python-build-system. Imho I don't think Guix needs to do anything to address PEP 668. PEP 668 concerns traditional distros, in which pip and the distro package manager may both write to the same location (that location typically being /usr/lib). IIUC it does not concern Nix or Guix, whose store paths should already not be written to by pip. Regards