From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kB50AMNstmEuVQAAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 22:42:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KJLWN8JstmFPcQAA1q6Kng (envelope-from ) for ; Sun, 12 Dec 2021 21:42:26 +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 B76E824B71 for ; Sun, 12 Dec 2021 22:42:26 +0100 (CET) Received: from localhost ([::1]:33450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwWbx-000250-Up for larch@yhetil.org; Sun, 12 Dec 2021 16:42:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwWbZ-00023k-Ra for bug-guix@gnu.org; Sun, 12 Dec 2021 16:42:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwWbZ-0002X5-Ip for bug-guix@gnu.org; Sun, 12 Dec 2021 16:42:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwWbZ-0004Op-I4 for bug-guix@gnu.org; Sun, 12 Dec 2021 16:42:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52139: jupyter trying to modify /gnu/store Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Dec 2021 21:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52139 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars-Dominik Braun Received: via spool by 52139-submit@debbugs.gnu.org id=B52139.163934529416877 (code B ref 52139); Sun, 12 Dec 2021 21:42:01 +0000 Received: (at 52139) by debbugs.gnu.org; 12 Dec 2021 21:41:34 +0000 Received: from localhost ([127.0.0.1]:53354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwWb8-0004O9-2k for submit@debbugs.gnu.org; Sun, 12 Dec 2021 16:41:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwWb5-0004Nw-GJ for 52139@debbugs.gnu.org; Sun, 12 Dec 2021 16:41:32 -0500 Received: from [2001:470:142:3::e] (port=40658 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwWaz-0002TW-CK; Sun, 12 Dec 2021 16:41:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=o0Ccey9iE9hBhRhhJWtuiKhVFOzJZtg3CFwTCUG8JFM=; b=joNpVnwn8Y/B/8002zVI VsT5EnjvPEXO+a9SntEyWQaLsbXGHr82eNGiniZRWtiLw4wpbKLf/X7xfo/yUEsnjnYK+dNN3Cwig UJShJCrQtn9ksHrJ2RQ0wHDDy9IAO/1FeTRFAIGK6WuKx3KZlpn0i0RfEZU/FaxuS535BqodcGqQ4 G300AC/3LdNJ62uDuABPb6DGcW1Gtax0+K3sdYstOUaYxiU6uIZYSLYFWcmRNOdTjRNKxOiX4ISLI qqsw+31MYqJuBHSNYIjPKTFPAHUax5gU/rN8QDItTJ245uQq3G/YbcGbeVjJGDGTNkiLr2vZZf4rN W8Qw50NoKQt2Fw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62947 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwWay-0004ub-Pp; Sun, 12 Dec 2021 16:41:25 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmqlq4s1.fsf@h-brs.de> <871r318spu.fsf@h-brs.de> <87pmq4a8tm.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Frimaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 12 Dec 2021 22:41:21 +0100 In-Reply-To: (Lars-Dominik Braun's message of "Sat, 11 Dec 2021 10:36:45 +0100") Message-ID: <87k0g94i2m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Alexander Asteroth , 52139@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639345346; 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: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=o0Ccey9iE9hBhRhhJWtuiKhVFOzJZtg3CFwTCUG8JFM=; b=D7IrogitcF+QQUVtaDtNzfdvkYqNivcepO9m2OM1aNeG5Z6ct6k1mIm/RWWNSqFRt6usH3 zv+3WqvE+M3S+prPTAg1q4t8KtjmAqwAbnPIWdA7l252/csv89yie7CbPz7kvNQg3su0Yp koviVuNv1u4mUoCf8nh/9aogcOZwWZwczN1pO6L2kjgbx5fgeVDbzbvy2Z3HX/bg2MKEih oNZEF5oMLmsyMFGV75hFKq8OMbEpaOGE7CqKJBRCGkGkR98hvOnJ4K1qCGmXRXBBNNFHgI 2Y0dc4iMNj0GmJdAp6RHGlwwX67AMo71I4M/bPHFVyBtFMvfJC5UxTgryHDpng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639345346; a=rsa-sha256; cv=none; b=ZITWDyT7x0asCP+DmMsKC8oCIMcvwKFP+ijNi/eF9z2Etsya0Pl4tRTU2hdC1x5wdsvR7B qa5NLdshzKhhJc8CiIqJeWXBDMQ325xYkgtrjAHREI5dUcghgd3TXYC+02KumiPoOB6bRg ouL5LJUfr51FbJ5q+RrhZubSgnhAI56Tq9Qoe0C80pJCjyWIZ/VCm+O15iE9ecbDVYzwAq gU/CbUtbwG3fec81BJR/O+ML5FgDp887oiXu6HnXAaEWAHLIvk9Qk0vYpdQ93FZSJXYZLX Y1ygnagwCzupnz+FTmMUH5Li7wNwB3iWAoE5vCJDg0YlB4z64bqnp6oxlhlrDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=joNpVnwn; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=joNpVnwn; dmarc=pass (policy=none) header.from=gnu.org; 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: B76E824B71 X-Spam-Score: -3.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: KT0G5h3eF4rE --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Lars, Lars-Dominik Braun skribis: >> The JUPYTER_CONFIG_DIR search path was added to =E2=80=98python-jupyter-= core=E2=80=99 in >> commit 1683e9d9677d54f695a54fc44ed309287989fc34. Lars, what are you >> thoughts? > Please *do not* remove this environment variable. It is required, because > packages like jupyterlab drop a config file into this directory. But precisely: as Alexander wrote, when JUPYTER_CONFIG_DIR points to the store, jupyterlab cannot drop a config file there. Or am I missing something? BTW, if JUPYTER_CONFIG_DIR is meant to contain a directory name, as opposed to a colon-separated search path, we should make this change: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b3a350aca4..57f66e18f1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8479,6 +8479,7 @@ (define-public python-jupyter-core (native-search-paths (list (search-path-specification (variable "JUPYTER_CONFIG_DIR") + (separator #f) ;single entry (files '("etc/jupyter"))) (search-path-specification (variable "JUPYTER_PATH") --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable WDYT? Thanks, Ludo=E2=80=99. --=-=-=--