unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Edouard Klein <edk@beaver-labs.com>
Cc: guix-devel@gnu.org
Subject: Checking for profile collisions with ‘guix lint’
Date: Sun, 14 Jun 2020 17:27:43 +0200	[thread overview]
Message-ID: <87sgexu0pc.fsf_-_@gnu.org> (raw)
In-Reply-To: <874krewttj.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 13 Jun 2020 23:15:52 +0200")

Hello,

Ludovic Courtès <ludo@gnu.org> skribis:

> Edouard Klein <edk@beaver-labs.com> skribis:
>
>> Because of the subtle consequences of editing a package are hard to keep
>> track of, I wrote the attached script (you need sharness to run it, but
>> with slight modification it can become a standalone script).
>>
>> This script goes beyond the instructions of the manual on two fronts:
>> - First, it not only tries to build the packages, but also to install
>> them,
>
> I think this is probably the first time we have this problem (that I
> remember of), probably because the Jupyter dependency graph has so many
> propagated inputs.
>
> However, this is definitely something ‘guix lint’ could check with
> something along the lines of the patch below.

I pushed something like that in
993023a28e52c87647fb78a5aa94a524f42ceb71.  It returns what ‘guix
install’ would show, only more concisely (so one has to investigate to
find out what the problem is):

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix lint  -c profile-collisions 
gnu/packages/check.scm:2051:2: python2-pytest-catchlog@1.2.2: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:2023:2: python2-pytest-warnings@0.2.0: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:1003:4: python2-pytest-mock@1.10.1: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:1678:2: python2-pytest-subtesthack@0.1.1: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:823:2: python2-pytest@4.6.9: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:888:2: python2-pytest-cov@2.8.1: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:704:2: python2-nose2@0.9.2: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:1009:2: python2-pytest-xdist@1.25.0: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:2028:2: python2-pytest-capturelog@0.7: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/check.scm:1603:2: python2-pytest-cache@1.0: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/django.scm:251:2: python2-pytest-django@3.1.2: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
gnu/packages/java.scm:7161:2: antlr3@3.5.2: propagated inputs java-stringtemplate@3.2.1 and java-stringtemplate@4.0.6 collide
gnu/packages/java.scm:7275:2: antlr3@3.3: propagated inputs antlr3@3.1 and antlr3@3.3 collide
gnu/packages/machine-learning.scm:1808:2: python-iml@0.6.2: propagated inputs /gnu/store/lpmaa64rpw9a15kh8nw33w51g7qzlsyk-python-matplotlib-3.1.2 and /gnu/store/1155r6fr4s7hnjk30gsaz352084hj830-python-matplotlib-3.1.2 collide
gnu/packages/openstack.scm:132:2: python-hacking@1.1.0: propagated inputs python-pep8@1.7.0 and python-pep8@1.5.7 collide
gnu/packages/openstack.scm:132:2: python2-hacking@1.1.0: propagated inputs python2-pyflakes@2.1.1 and python2-pyflakes@1.2.3 collide
gnu/packages/python-web.scm:1492:2: python-requests@2.20.1: propagated inputs python-urllib3@1.24.3 and python-urllib3@1.25.3 collide
gnu/packages/python-xyz.scm:8998:2: python-widgetsnbextension@3.5.1: propagated inputs /gnu/store/p7lqxmqskrg7l5fyxpmqvg30f0jhmgxb-python-mistune-0.8.4 and /gnu/store/1cgc6k1m0z6ip2adyllsnshix467ggir-python-mistune-0.8.4 collide
gnu/packages/python-xyz.scm:9215:2: jupyter@1.0.0: propagated inputs /gnu/store/nba08r6mygpmnrwj1wm01p8fcfgw7sq7-python-ipython-7.9.0 and /gnu/store/y0yc4kqgmdipzrqjxjrv98x7rg7bw3rx-python-ipython-7.9.0 collide
gnu/packages/python-xyz.scm:9026:2: python-ipywidgets@7.5.1: propagated inputs /gnu/store/p7lqxmqskrg7l5fyxpmqvg30f0jhmgxb-python-mistune-0.8.4 and /gnu/store/1cgc6k1m0z6ip2adyllsnshix467ggir-python-mistune-0.8.4 collide
gnu/packages/web.scm:5901:2: python2-pytest-httpbin@0.2.3: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide
--8<---------------cut here---------------end--------------->8---

As you can see, there are quite a few similar cases to fix.

Let me know what you think!

Ludo’.


  reply	other threads:[~2020-06-14 15:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11 15:19 A script to check an edit does not break anything Edouard Klein
2020-06-11 15:41 ` Edouard Klein
2020-06-11 17:55   ` Vincent Legoll
2020-06-12 16:41     ` Edouard Klein
2020-06-13 21:15 ` Ludovic Courtès
2020-06-14 15:27   ` Ludovic Courtès [this message]
2020-06-15  8:50   ` Edouard Klein
2020-06-16 10:01     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgexu0pc.fsf_-_@gnu.org \
    --to=ludo@gnu.org \
    --cc=edk@beaver-labs.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).