GNU bug report logs - #26015
[PATCH] python-rpy2: Propagate python2-singledispatch

Previous Next

Package: guix-patches;

Reported by: Pjotr Prins <pjotr.guix <at> thebird.nl>

Date: Tue, 7 Mar 2017 16:07:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26015 in the body.
You can then email your comments to 26015 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26015; Package guix-patches. (Tue, 07 Mar 2017 16:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pjotr Prins <pjotr.guix <at> thebird.nl>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 07 Mar 2017 16:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.guix <at> thebird.nl>
To: guix-patches <at> gnu.org
Cc: Pjotr Prins <pjotr.public01 <at> thebird.nl>
Subject: [PATCH] python-rpy2: Propagate python2-singledispatch
Date: Tue,  7 Mar 2017 10:28:57 +0000
From: Pjotr Prins <pjotr.public01 <at> thebird.nl>

* gnu/packages/python.scm (python-rp2): Fixes availability of singledispatch
when actually using the RPy2 package.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5b86980..3b01a9a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3836,9 +3836,9 @@ functions.")
 (define-public python2-rpy2
   (let ((rpy2 (package-with-python2 python-rpy2)))
     (package (inherit rpy2)
-      (native-inputs
+      (propagated-inputs
        `(("python2-singledispatch" ,python2-singledispatch)
-         ,@(package-native-inputs rpy2))))))
+         ,@(package-propagated-inputs rpy2))))))
 
 (define-public python-scipy
   (package
-- 
2.8.4





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 07 Mar 2017 17:12:01 GMT) Full text and rfc822 format available.

Notification sent to Pjotr Prins <pjotr.guix <at> thebird.nl>:
bug acknowledged by developer. (Tue, 07 Mar 2017 17:12:02 GMT) Full text and rfc822 format available.

Message #10 received at 26015-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.guix <at> thebird.nl>
Cc: Pjotr Prins <pjotr.public01 <at> thebird.nl>, 26015-done <at> debbugs.gnu.org
Subject: Re: bug#26015: [PATCH] python-rpy2: Propagate python2-singledispatch
Date: Tue, 07 Mar 2017 18:11:29 +0100
Pjotr Prins <pjotr.guix <at> thebird.nl> skribis:

> From: Pjotr Prins <pjotr.public01 <at> thebird.nl>
>
> * gnu/packages/python.scm (python-rp2): Fixes availability of singledispatch
> when actually using the RPy2 package.

Applied, thanks!

Ludo'.




Information forwarded to guix-patches <at> gnu.org:
bug#26015; Package guix-patches. (Wed, 08 Mar 2017 06:32:02 GMT) Full text and rfc822 format available.

Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: 26015 <at> debbugs.gnu.org
Cc: guix-patches <at> gnu.org
Subject: Re: [PATCH] python-rpy2: Propagate python2-singledispatch
Date: Wed, 8 Mar 2017 06:27:33 +0000
Example of what this patch fixes (sorry for the delay):

Traceback (most recent call last):
  File "runserver.py", line 8, in <module>
    from wqflask import app
  File "/gnu/export/local/wrk/izip/git/opensource/genenetwork/sumo_gn2/wqflask/wqflask/__init__.py", line 24, in <module>
    import wqflask.views
  File "/gnu/export/local/wrk/izip/git/opensource/genenetwork/sumo_gn2/wqflask/wqflask/views.py", line 46, in <module>
    from wqflask.marker_regression import marker_regression
  File "/gnu/export/local/wrk/izip/git/opensource/genenetwork/sumo_gn2/wqflask/wqflask/marker_regression/marker_regression.py", line 16, in <module>
    import rpy2.robjects as ro
  File "/home/wrk/opt/genenetwork2-test/lib/python2.7/site-packages/rpy2/robjects/__init__.py", line 18, in <module>
    from rpy2.robjects.robject import RObjectMixin, RObject
  File "/home/wrk/opt/genenetwork2-test/lib/python2.7/site-packages/rpy2/robjects/robject.py", line 8, in <module>
    from . import conversion
  File "/home/wrk/opt/genenetwork2-test/lib/python2.7/site-packages/rpy2/robjects/conversion.py", line 13, in <module>
    from singledispatch import singledispatch
ImportError: No module named singledispatch






Information forwarded to guix-patches <at> gnu.org:
bug#26015; Package guix-patches. (Wed, 08 Mar 2017 06:32:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Apr 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 169 days ago.

Previous Next


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