From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0NKxCvfZqmGPwQAAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 04:01:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2JY6BvfZqmEMJgAAbx9fmQ (envelope-from ) for ; Sat, 04 Dec 2021 03:01:11 +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 E63EC2C26C for ; Sat, 4 Dec 2021 04:01:10 +0100 (CET) Received: from localhost ([::1]:58936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtLIU-0001lt-3P for larch@yhetil.org; Fri, 03 Dec 2021 22:01:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtLIM-0001lk-LS for bug-guix@gnu.org; Fri, 03 Dec 2021 22:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtLIM-0000Bu-8x for bug-guix@gnu.org; Fri, 03 Dec 2021 22:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtLIM-0007zz-8G for bug-guix@gnu.org; Fri, 03 Dec 2021 22:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52269: [core-updates-frozen] Some Python packages relying on .pth are broken Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Dec 2021 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52269 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52269@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.163858680230578 (code B ref -1); Sat, 04 Dec 2021 03:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Dec 2021 03:00:02 +0000 Received: from localhost ([127.0.0.1]:52552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLHO-0007x4-1C for submit@debbugs.gnu.org; Fri, 03 Dec 2021 22:00:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:60566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtLHK-0007wR-4G for submit@debbugs.gnu.org; Fri, 03 Dec 2021 22:00:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtLHJ-0001iF-Rw for bug-guix@gnu.org; Fri, 03 Dec 2021 21:59:57 -0500 Received: from [2607:f8b0:4864:20::836] (port=43927 helo=mail-qt1-x836.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtLHH-0008KE-Vj for bug-guix@gnu.org; Fri, 03 Dec 2021 21:59:57 -0500 Received: by mail-qt1-x836.google.com with SMTP id q14so5340042qtx.10 for ; Fri, 03 Dec 2021 18:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=2oXFAQdEa8lc536uALeWkocgLYySx9wJzPtQghiiLRE=; b=kGuVGJPwSaTYILJViLb3RyEnzoetvnQXzvGa/ertN70197VvBrBe3+4JJgfu0eUo/T JN18y6lekZChDM1z1qauIz6hDYBKXt4IZrr+oP68JHfIVQLV4FpPxlFBQNk2bxIt80gj 3SSmBz75dFhkDwNSkWlRbbi/pGBfRObVIdB285JxCA+UXlNlFHLaccsxZS0dSekvfBD6 ofKcQYI7C0lvMxayPncobOOd5dJ3JjXKm4EKA74il/4+o7xjWQXSHFwMxcktVF29+cuu SGri6AthT6LwuIvA5rKE8c6OhfXQRt1B6dX8ZT7SDp/f76+aAv9ou+AumsnM2jNy+rcR G++w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=2oXFAQdEa8lc536uALeWkocgLYySx9wJzPtQghiiLRE=; b=gBd8rwgsWKytD/I9DPUGHx4xeGDDJDZ/v+5cyFqPoZpOnUocl2FHW8lkL31IZXGFqZ 0/KSoMc+QvYJ5Wx2tGiQSexgLPEeSUZhkK5bsIbFDEkQs0fkOKnrGz6/TEWzx2aun/Ix +3NZFJPd721iGeibqYBp6yy+IHU3wtvMTcPSVhjdljiZ/6tPrGEq0IHboZD20jd1nxdv xcxbAWTZ4fsQ28kh31WMdy9MDdLzHiiwZqx8epgADrqq0vP1Whvxti8y13nA7Nb0N42v CwildSmYCv+0WD8QXa7QtQ+Npae3dEmG4rs5BrjIkPoTeObEK74/OszP5xE3O5AM8ROS RBBA== X-Gm-Message-State: AOAM530F9JAxCi2Rwg6UP1anuei9+cLAVg2mCuB0ocvciZUSFEihNIVM Pr9d9vWC1HLJhwdIWRKEKdDRIRugrN8= X-Google-Smtp-Source: ABdhPJxK+kTjetxpgs+u00VbleH9A7Z+3zeQEO3QmWB/NgAAeHxSiT7dWe8np7c8xCQ5/o1JYjqtSg== X-Received: by 2002:a05:622a:54d:: with SMTP id m13mr24798570qtx.33.1638586794702; Fri, 03 Dec 2021 18:59:54 -0800 (PST) Received: from hurd (dsl-156-29.b2b2c.ca. [66.158.156.29]) by smtp.gmail.com with ESMTPSA id de13sm3162844qkb.81.2021.12.03.18.59.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 18:59:54 -0800 (PST) From: Maxim Cournoyer Date: Fri, 03 Dec 2021 21:59:53 -0500 Message-ID: <871r2taxcm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::836 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x836.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , 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=1638586870; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=2oXFAQdEa8lc536uALeWkocgLYySx9wJzPtQghiiLRE=; b=CJLAE7kTkAv1WTW7j8K+Q9xf80FGkkcIFGg8/iA5pa9qd8nE+koxRlDzee/hW5vImu6BMr yapPghaClXiFugE51hMMpnKfzJ3ky/ysuHUHNmSsMvHA+3p++ZlGtbdXWq+Zu2L9Aq5Gbq CgTxhnhM6H8ZOvxKqUJ+y17GSs0IkywbsySqulLqYHvx2z1YT1xxdWZj801CRASmhO3lei R/8+fE9IxaoTJZOhXw1aAxQjNVul/JT9aSBjrwr57qwSyoflDd1Afyjocefs+K3CKmUbtz dx6j2dy7COiSX7TdjXXthVdaZy74TrKKzmYEKQKmJUJm7LusRbIL7LuEfJv9VA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638586870; a=rsa-sha256; cv=none; b=oBnaIjo3YBOZZFpPKGXMbQCFOXZ0r+GA85P2Ju04pxocksplqTZ2jrjis2WFDl9D5B2HC+ tA0WEOuILptwAZRuyff3wjC7IrUdYw3Y5GkbLyPA06NxLQZsFCJenaYIlm5pqy2qBpOhC+ gAi4CegUvf3ATFkF0PC5P45/F0KdsQsVfO61r1G9JXlg1L7PqrwUyyBfy1XhENQLESgllr lOEQzql4DhkQ38SNnCbBR+vsPBnK7UcPXPoiMK8L+xdYUUfsDhWmx6u8FjKuB/HbGa9ys5 VolBu7fcbjLJWl+k/4axZCDC6Iezk3xZ/MOEpClyEC9yXRKGXz5FFvOsIl6f4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kGuVGJPw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kGuVGJPw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: E63EC2C26C X-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: vr96j0VYRRCP Hello Guix, This was already something Harmut noted during their review of the site.py loader (that it should honor .pth files), but at the time I wasn't aware of a Python package that still made use of that mechanism and thought it was legacy. To my dismay it seems to be used by the tool 'pdbpp', which is an improved pdb (debugger) for Python; using core-updates-frozen I noticed that it was no longer in use; looking at its installed files I see: --8<---------------cut here---------------start------------->8--- pdbpp_hijack_pdb.pth --8<---------------cut here---------------end--------------->8--- So I'm guessing that because the new loader doesn't handle .pth files its "hijacking" technique doesn't work. Unfortunately touching this site.py file would causes a massive rebuild (of the whole Python world). Hopefully this use of .pth is a rare occurrence and can be worked around. Thanks, Maxim