GNU bug report logs - #53883
python-twice cannot be installed in a profile due to collisions

Previous Next

Package: guix;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Tue, 8 Feb 2022 21:10:02 UTC

Severity: normal

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
Subject: bug#53883: closed (Re: bug#53883: strange conflicts with guix
 package -m manifest)
Date: Wed, 16 Feb 2022 22:07:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#53883: python-twice cannot be installed in a profile due to collisions

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 53883 <at> debbugs.gnu.org.

-- 
53883: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53883
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <marius <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>, Leo Famulari
 <leo <at> famulari.name>
Cc: 53883-done <at> debbugs.gnu.org, "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
Subject: Re: bug#53883: strange conflicts with guix package -m manifest
Date: Wed, 16 Feb 2022 23:06:26 +0100
[Message part 3 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> skriver:

> Hi,
>
> Leo Famulari <leo <at> famulari.name> skribis:
>
>> 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).
>
> Any idea how this could be addressed?
>
> There are currently 133 dependents of python-cffi <at> 1.15 (python-cmarkgfm
> is the only direct user) and 3,807 dependents of python-cffi <at> 1.14.  It’d
> be easier if they all depended on 1.14.
>
> Unfortunately we can’t just use 1.14 for python-cmarkgfm:
>
> --8<---------------cut here---------------start------------->8---
> $ guix build python-cmarkgfm --with-input=python-cffi <at> 1.15=python-cffi <at> 1.14
> […]
> ERROR: Could not find a version that satisfies the requirement cffi>=1.15.0 (from versions: none)
> ERROR: No matching distribution found for cffi>=1.15.0
> --8<---------------cut here---------------end--------------->8---
>
> Should we downgrade python-cmarkgfm, or relax its requirements?  Marius,
> WDYT?  :-)

I dug around in the upstream commit history and it appears that the
requirement was only added for Python 3.10 compatibility.  So I relaxed
its requirements in commit f37eb24df5ecb3a14bd42507076854cc979ddecf.

-- 
Thanks,
Marius
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: strange conflicts with guix package -m manifest
Date: Tue, 08 Feb 2022 22:05:32 +0100
[Message part 6 (text/plain, inline)]
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 <at> 1.15.0 /gnu/store/fnkn12qv3bw7z3jhdgp2drd0nnn0p433-python-cffi-1.15.0
guix package: error:    ... propagated from python-cmarkgfm <at> 0.7.0
guix package: error:    ... propagated from python-readme-renderer <at> 32.0
guix package: error:    ... propagated from python-twine <at> 1.15.0
guix package: error:   second entry: python-cffi <at> 1.14.4 /gnu/store/4zz00w8rqrfazv5lsjajs0g8y04ysa8g-python-cffi-1.14.4
guix package: error:    ... propagated from python-cryptography <at> 3.3.1
guix package: error:    ... propagated from python-pyopenssl <at> 20.0.1
guix package: error:    ... propagated from python-urllib3 <at> 1.26.7
guix package: error:    ... propagated from python-requests <at> 2.26.0
guix package: error:    ... propagated from python-requests-toolbelt <at> 0.9.1
guix package: error:    ... propagated from python-twine <at> 1.15.0


As you can see, both packages are python-twine, and they have
conflicting dependencies.

I attached both my manifest and my channels file.

To reproduce:


    LANG=C guix package -kK --fallback -m ~/fluss-guix.manifest


$ LANG=C guix describe
Generation 377	Feb 07 2022 10:35:27	(current)
  guix c6b407c
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c6b407c923253ac3e7ce8439b31f52ef94de7846
  flat ece373b
    repository URL: https://github.com/flatwhatson/guix-channel.git
    branch: master
    commit: ece373bcd1e00ef746fb7b104e56ab610cc4af2a
    

[fluss-guix.manifest (application/octet-stream, attachment)]
[channels.scm (application/octet-stream, attachment)]
[Message part 9 (text/plain, inline)]
Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.