help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fail install python-swh-model


From: zimoun
Subject: fail install python-swh-model
Date: Thu, 25 Jun 2020 17:41:17 +0200

Dear,

I am trying to package swh.model, as reported previously. :-)
Well, I simply run:

  guix import pypi -r swh.model

and then using the wise advises of Marius, everything almost works.

However,

  ./pre-inst-env guix install python-swh-model -p /tmp/swh
  GUIX_PROFILE="/tmp/swh"
  . "$GUIX_PROFILE/etc/profile"

  swh-identify foo

returns this error:

--8<---------------cut here---------------start------------->8---
Traceback (most recent call last):
  File 
"/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py",
 line 583, in _build_master
    ws.require(__requires__)
  File 
"/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py",
 line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File 
"/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py",
 line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (attrs-strict 0.0.0 
(/gnu/store/6ia5l999ch60kxqa14yf8v3s9hdv2vfs-python-attrs-strict-0.1.0/lib/python3.8/site-packages),
 Requirement.parse('attrs_strict>=0.0.7'), {'swh.model'})
--8<---------------cut here---------------end--------------->8---

Well, because there is:

--8<---------------cut here---------------start------------->8---
+    (propagated-inputs
+     `(("python-attrs" ,python-attrs)
+       ("python-attrs-strict" ,python-attrs-strict)
--8<---------------cut here---------------end--------------->8---

in the definition of "python-swh-model", I should miss something to
correctly propagate it.  What could it be?


All the best,
simon


Attachment: 0001-DRAFT.patch
Description: draft


reply via email to

[Prev in Thread] Current Thread [Next in Thread]