>> No, does libcloud now require pypy?

I don't think so. I haven't installed pypy, but I can execute "PYTHONPATH=. 
python setup.py test" as described in 
https://libcloud.readthedocs.org/en/latest/testing.html.

Two notes though:

- I had to copy test/secrets.py-dist to test/secrets.py.
- test_list_records_success (libcloud.test.dns.test_zerigo.ZerigoTests) failed 
on my machine.

Csaba


On 2014 Apr 17, at 17:22, sebgoa <[email protected]> wrote:

> 
> On Apr 17, 2014, at 5:19 PM, Hans-Christoph Steiner 
> <[email protected]> wrote:
> 
>> 
>> No, does libcloud now require pypy?
> 
> I am not 100% sure, but if you want to run the complete tests I think it does.
> 
>> 
>> .hc
>> 
>> On 04/17/2014 03:06 AM, sebgoa wrote:
>>> did you install pypy ?
>>> 
>>> On Apr 16, 2014, at 6:10 PM, Hans-Christoph Steiner 
>>> <[email protected]> wrote:
>>> 
>>>> (reposting since I'm not sure it went thru the first time)
>>>> 
>>>> I'm working on updating the Debian python-libcloud package to the latest
>>>> version.  When I run the included test suite on Ubuntu/precise/amd64 with 
>>>> both
>>>> python 2.7.6 and python 3.2.3, I get this:
>>>> 
>>>> running test
>>>> Traceback (most recent call last):
>>>> File "setup.py", line 258, in <module>
>>>>  'Programming Language :: Python :: Implementation :: PyPy'])
>>>> File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
>>>>  dist.run_commands()
>>>> File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
>>>>  self.run_command(cmd)
>>>> File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
>>>>  cmd_obj.run()
>>>> File "setup.py", line 115, in run
>>>>  status = self._run_tests()
>>>> File "setup.py", line 161, in _run_tests
>>>>  tests = TestLoader().loadTestsFromNames(testfiles)
>>>> File "/usr/lib/python2.7/unittest/loader.py", line 128, in 
>>>> loadTestsFromNames
>>>>  suites = [self.loadTestsFromName(name, module) for name in names]
>>>> File "/usr/lib/python2.7/unittest/loader.py", line 100, in 
>>>> loadTestsFromName
>>>>  parent, obj = obj, getattr(obj, part)
>>>> AttributeError: 'module' object has no attribute 'test_connection'
>>>> 
>>>> Any ideas?
>>>> 
>>>> .hc
>>>> 
>>>> -- 
>>>> PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
>>> 
>> 
>> -- 
>> PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
> 

Reply via email to