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 ms11 with LMTPS id OHBkEeK4217uSQAA0tVLHw (envelope-from ) for ; Sat, 06 Jun 2020 15:40:18 +0000 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 wEYeDeK4216GPQAAB5/wlQ (envelope-from ) for ; Sat, 06 Jun 2020 15:40:18 +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 60A5B9404D3 for ; Sat, 6 Jun 2020 15:40:17 +0000 (UTC) Received: from localhost ([::1]:34496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhave-0007t4-Bo for larch@yhetil.org; Sat, 06 Jun 2020 11:40:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhavS-0007sl-TA for guix-patches@gnu.org; Sat, 06 Jun 2020 11:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhavS-0005en-KI for guix-patches@gnu.org; Sat, 06 Jun 2020 11:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhavS-0003Et-D7 for guix-patches@gnu.org; Sat, 06 Jun 2020 11:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41730] [PATCH] gnu: Fix propagations of python-prompt-toolkit-2. References: <74e587be32830618a856a6f2fc29b4ad@autistici.org> In-Reply-To: <74e587be32830618a856a6f2fc29b4ad@autistici.org> Resent-From: paul Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Jun 2020 15:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41730 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41730@debbugs.gnu.org Received: via spool by 41730-submit@debbugs.gnu.org id=B41730.159145795312340 (code B ref 41730); Sat, 06 Jun 2020 15:40:02 +0000 Received: (at 41730) by debbugs.gnu.org; 6 Jun 2020 15:39:13 +0000 Received: from localhost ([127.0.0.1]:52318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhaue-0003Cx-Ns for submit@debbugs.gnu.org; Sat, 06 Jun 2020 11:39:12 -0400 Received: from devianza.investici.org ([198.167.222.108]:62517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhauc-0003Ck-De for 41730@debbugs.gnu.org; Sat, 06 Jun 2020 11:39:11 -0400 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id AB59BE05AE for <41730@debbugs.gnu.org>; Sat, 6 Jun 2020 15:39:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1591457945; bh=FMKq8U7DEIBSv1FnuPP22JMINUlvJnTK2y3nViBYn2U=; h=To:From:Subject:Date:From; b=hy001SeogqelQe7F13Mb0uE6lq4dnpaQmpjFwJeRVExDCmCRyAKbgWyR37L0Mg2HI DP+ruMOrmMlluVR/0G9m9NNwbuE5ChW600+GafLmpMOioHkbNgPmbFDeCSYF2tkSju uqEsBV9E3lxjxUOSQrkrFBUN6J12AZC8wf0VqYkY= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 82061E057C for <41730@debbugs.gnu.org>; Sat, 6 Jun 2020 15:39:05 +0000 (UTC) From: paul Message-ID: <54bfd14b-d57d-6fa1-0c3c-ec23a6e81cdc@autistici.org> Date: Sat, 6 Jun 2020 17:39:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.8.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------DBA6B78D7B13C939120B61D8" Content-Language: en-US X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=autistici.org header.s=stigmate header.b=hy001Seo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: RiR46AkZajfA This is a multi-part message in MIME format. --------------DBA6B78D7B13C939120B61D8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi everybody, a little update about this patch, I just found out that it doesn't actually fix the problem: the requirement for prompt 2 is enforced also at runtime. The output of guix package _without_ my patch is: $ guix package -p /tmp/tmp-profile -i jupyter The following package will be installed:    jupyter 1.0.0 guix package: error: profile contains conflicting entries for python-ipython guix package: error:   first entry: python-ipython@7.9.0 /gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0 guix package: error:    ... propagated from python-ipywidgets@7.5.1 guix package: error:    ... propagated from jupyter@1.0.0 guix package: error:   second entry: python-ipython@7.9.0 /gnu/store/avmg5jd7kccchxadsd9c7zq0p3shlk3w-python-ipython-7.9.0 guix package: error:    ... propagated from python-qtconsole@4.4.3 guix package: error:    ... propagated from jupyter@1.0.0 hint: You cannot have two different versions or variants of `jupyter' in the same profile. With my patch applied it is possible to install jupyter without conflicts but when started it crashes asking for prompt-toolkit at version 2. The conflict seems to be caused because: - /gnu/store/avmg5jd7kccchxadsd9c7zq0p3shlk3w-python-ipython-7.9.0depends on python-prompt-toolkit@3.0.5 - /gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0depends on python-prompt-toolkit@2.0.7 Please ignore the previous patch, I apologize for the noise. I'm opening an actual bug report and I'll start working on a fix ASAP. Giacomo --------------DBA6B78D7B13C939120B61D8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi everybody, a little update about this patch,

I just found out that it doesn't actually fix the problem: the requirement for prompt 2 is enforced also at runtime.

The output of guix package _without_ my patch is:


$ guix package -p /tmp/tmp-profile -i jupyter
The following package will be installed:
   jupyter 1.0.0

guix package: error: profile contains conflicting entries for python-ipython
guix package: error:   first entry: python-ipython@7.9.0 /gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0
guix package: error:    ... propagated from python-ipywidgets@7.5.1
guix package: error:    ... propagated from jupyter@1.0.0
guix package: error:   second entry: python-ipython@7.9.0 /gnu/store/avmg5jd7kccchxadsd9c7zq0p3shlk3w-python-ipython-7.9.0
guix package: error:    ... propagated from python-qtconsole@4.4.3
guix package: error:    ... propagated from jupyter@1.0.0
hint: You cannot have two different versions or variants of `jupyter' in the same profile.


With my patch applied it is possible to install jupyter without conflicts but when started it crashes asking for prompt-toolkit at version 2. The conflict seems to be caused because:

- /gnu/store/avmg5jd7kccchxadsd9c7zq0p3shlk3w-python-ipython-7.9.0 depends on python-prompt-toolkit@3.0.5

- /gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0 depends on python-prompt-toolkit@2.0.7

Please ignore the previous patch, I apologize for the noise. I'm opening an actual bug report and I'll start working on a fix ASAP.


Giacomo

--------------DBA6B78D7B13C939120B61D8--