From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aJTBIwoQu2O9xgAAbAwnHQ (envelope-from ) for ; Sun, 08 Jan 2023 19:48:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OJmDIwoQu2O7RAAAauVa8A (envelope-from ) for ; Sun, 08 Jan 2023 19:48:42 +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 34A1FEC3A for ; Sun, 8 Jan 2023 19:48:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEaiI-00064P-LI; Sun, 08 Jan 2023 13:48:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEaiE-00062l-4g for guix-devel@gnu.org; Sun, 08 Jan 2023 13:48:07 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEaiB-0000cD-E5 for guix-devel@gnu.org; Sun, 08 Jan 2023 13:48:05 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4AF5B5C0080; Sun, 8 Jan 2023 13:47:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 08 Jan 2023 13:47:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=mesmtp; t=1673203679; x=1673290079; bh=HwGw2uLEQ5AoopyJ/OxlH9YK5UYYNJR+AZjo/gaq50Y=; b=DCBtUvUq3gzu h0I2gQaq1kRCZ7g0tWAJWrpNSbpah9oGzau9fT8nzvEELRcmUHBDxyobFKMlTO4a vrgG6DSqBQYDrcMBlGmYcYHsa+2NdLuCKNY2tPAKM1QogRgrSBQvSM27uHBm55iH D1ngxNyKTETTBMFxb+8jbOrdheo4Z0I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1673203679; x=1673290079; bh=HwGw2uLEQ5AoopyJ/OxlH9YK5UYY NJR+AZjo/gaq50Y=; b=WslKcrznkNZS5svY19R6CF7chD6pnled3kiu9S7t/fXE 9nAspvS5dFYj+3qF2kHeETg2LiuBiaAKGeksrlJunubj16JS1g5O0wOkc8thatqO 1278bO6+oHOFMexOKWdxVrLK9JZ8RwZ/shB+hTundHafC3XOt6JHYVs05kLSToAW BGjpuXu3ALz0knsZmSCcVQaRDAoOAjkapoiy8zGvqt/2p8dCJ6FTNCZwiQHDdYgr Ku0lgTceX6XY88rYqAmlfaTJIBuMTi7mDyMl5uZ+z1gjtGlsnlD9pZspmkWWyEvS DmRcxUcv/fpsH4EFNdNhROAC4tLf15gEwLSe+2Ycxg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrkeeggdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepjedvueefleeuleefudevtddtveeitdelgfevleffieegueejfeeiieehtdeg keeknecuffhomhgrihhnpehnihigohhsrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 8 Jan 2023 13:47:58 -0500 (EST) Date: Sun, 8 Jan 2023 13:47:57 -0500 From: Leo Famulari To: zimoun Cc: Guix Devel Subject: Re: Be careful with PyPI Message-ID: References: <87sfgnivbd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sfgnivbd.fsf@gmail.com> Received-SPF: pass client-ip=66.111.4.27; envelope-from=leo@famulari.name; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673203722; a=rsa-sha256; cv=none; b=mQsowrJhKpaGN9SwfXEaXsv+piVzwvZmMj9FYPOfphT4ZdgfJZ2hva1tntWBTXyFj4PYw4 6s0ARr0bNUZc5CqES5IPNeQgFdGKnI/Yr188JEzwocZlMvd4QdNKnvf5nvVBAhPYcKHowV +qvbdT5VTUyaRpO/A1oN2Ddgn8TCMt8s90xVFLiNsMVOjPiHlSIXpSmiIicDxTZYv2+LYq Jxw1cjF7RX4KzK8eGwd3KlrNz95RZkUrQZhJjnNqr4pdkFJYn4Sd5SfhI5ULfIJewePUqc LEgrVYR/HNMaUqmif2k+kPE2U1yDFEru5JHFYcP3jvr086ygIqM/AfMiCnfytw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=DCBtUvUq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=WslKcrzn; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673203722; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HwGw2uLEQ5AoopyJ/OxlH9YK5UYYNJR+AZjo/gaq50Y=; b=KVR69WXGh0GUSnPQL5dGGDezo1VRBU9FB378hFFqhavLZI4gDw3Y9AWbC8w1vxKzv8WrMm sUjdaZmlNhb6tWtgUEESB9QSskOJ4cMHRZgzJqrBELuspGmtPgk9ohjWp27kinRo86AL2F vU6bRNm4fQcN7ZZMhrh2qaYI6yOGGuX2zQ+hguUW4tNxAc8ugLtIFqkfXpT1nhkmQtKjcw 665p46Lm/+pDu45CQSJwO3QVE8j29UW4AcEOs4N0xFNAS1IQMh463HJE0L2WAjPjVYnkbX MdbWOrKA5n/hzKbU7XIOmW1/g5Ht/YJpjVyseULbaa6OFQAn6EghK8IaDOTBlA== X-Spam-Score: -1.27 X-Migadu-Queue-Id: 34A1FEC3A Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=DCBtUvUq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=WslKcrzn; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.27 X-TUID: BKfKyl/CXT/S On Fri, Jan 06, 2023 at 03:36:38PM +0100, zimoun wrote: > If the origin does not exist upstream, then Guix try other servers as > fallback. For instance, [...] > downloading from https://tarballs.nixos.org/sha256/1j8bsqzh49vjdxy6l1k4iwax5vpjzniynyd041xjavdzvfii1dlh ... > One potential issue is that the tarballs.nixos.org is using the checksum > as lookup key. Therefore, when modifying only the version and not the > checksum, the something is returned with an inconsistent name/content. Many of us discover this behaviour the hard way. It's not just about PyPi: this can happen with any download, unless something changed. Thanks for the detailed explanation!