pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49817 (math/py-rpy 2.3.0 doesn't build on amd64 7.99.4)
The following reply was made to PR pkg/49817; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/49817 (math/py-rpy 2.3.0 doesn't build on amd64 7.99.4)
Date: Fri, 10 Apr 2015 10:39:53 +0200
On Fri, Apr 10, 2015 at 07:00:01AM +0000, Alexander Nasonov wrote:
> I have the same problem with Python 3.3.
Ok, I've fixed packaging for all python versions.
> But a missing file is a minor problem compared to non-working module.
>
> Can you please try pythonX.X -m rpy2.tests?
>
> $ python2.7 -m rpy2.tests
> The module "singledispatch is required for Python < 3.4
> Traceback (most recent call last):
> File "/usr/pkg/lib/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
> File "/usr/pkg/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
> File "/usr/pkg/lib/python2.7/site-packages/rpy2/tests.py", line 17, in <module>
> raise ie
> ImportError: No module named singledispatch
This has also been fixed, but I now see
# python3.4 -m rpy2.tests
rpy2 version: 2.5.6
- built against R version: 3-1.1--66115
- running linked to R version: R version 3.1.1 (2014-07-10)
E
======================================================================
ERROR: __main__ (unittest.loader.LoadTestsFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/pkg/lib/python3.4/site-packages/rpy2/tests.py", line 43, in load_tests
suite_robjects = loader.discover('robjects', pattern, rpy_root)
File "/usr/pkg/lib/python3.4/unittest/loader.py", line 261, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'robjects'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
#
No idea what that is supposed to tell me.
Thomas
Home |
Main Index |
Thread Index |
Old Index