unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
Cc: 53883@debbugs.gnu.org
Subject: bug#53883: strange conflicts with guix package -m manifest
Date: Tue, 8 Feb 2022 20:31:16 -0500	[thread overview]
Message-ID: <YgMZZKJZX/l+tdeb@jasmine.lan> (raw)
In-Reply-To: <8735kthxql.fsf@web.de>

On Tue, Feb 08, 2022 at 10:05:32PM +0100, Dr. Arne Babenhauserheide wrote:
> Hello Guix,
> 
> I see strange conflicts when trying to update packages via manifest:
> 
> guix package: error: profile contains conflicting entries for python-cffi
> guix package: error:   first entry: python-cffi@1.15.0 /gnu/store/fnkn12qv3bw7z3jhdgp2drd0nnn0p433-python-cffi-1.15.0
> guix package: error:    ... propagated from python-cmarkgfm@0.7.0
> guix package: error:    ... propagated from python-readme-renderer@32.0
> guix package: error:    ... propagated from python-twine@1.15.0
> guix package: error:   second entry: python-cffi@1.14.4 /gnu/store/4zz00w8rqrfazv5lsjajs0g8y04ysa8g-python-cffi-1.14.4
> guix package: error:    ... propagated from python-cryptography@3.3.1
> guix package: error:    ... propagated from python-pyopenssl@20.0.1
> guix package: error:    ... propagated from python-urllib3@1.26.7
> guix package: error:    ... propagated from python-requests@2.26.0
> guix package: error:    ... propagated from python-requests-toolbelt@0.9.1
> guix package: error:    ... propagated from python-twine@1.15.0
> 
> 
> As you can see, both packages are python-twine, and they have
> conflicting dependencies.

Basically, the python-twine package, as it is now, cannot be installed
in a profile.

That is because its dependency graph of propagated packages includes
different versions of python-cffi, and you cannot install both of these
cffi packages alongside each other in a symlink forest (i.e. a profile).

The solution is make this dependency graph only include one version of
cffi. Either python-cryptography should use cffi 1.15.0, or cmarkgfm
should use cffi 1.14.4. There may be other conflicts to resolve as well,
but we should try to resolve all of them.

Guix probably also printed a hint:

hint: You cannot have two different versions or variants of `python-twine' in the same profile.

That hint is misleading in this case and we should tweak the code that
generates it. The hint text was written when the only such conflicts
came from different packages propagated a colliding dependencies.




  reply	other threads:[~2022-02-09  1:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-08 21:05 bug#53883: strange conflicts with guix package -m manifest Dr. Arne Babenhauserheide
2022-02-09  1:31 ` Leo Famulari [this message]
2022-02-16 14:56   ` Ludovic Courtès
2022-02-16 22:06     ` Marius Bakke
2022-02-17 10:54       ` Ludovic Courtès
2022-02-17 15:36         ` Dr. Arne Babenhauserheide

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=YgMZZKJZX/l+tdeb@jasmine.lan \
    --to=leo@famulari.name \
    --cc=53883@debbugs.gnu.org \
    --cc=arne_bab@web.de \
    /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).