| Summary: | dev-python/ipy-0.81 bump / test failure | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
| Component: | New packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Patrick Lauer
2013-04-02 09:53:43 UTC
from https://github.com/haypo/python-ipy/issues/16 "There's also a Python3 compatibility bug in 0.80 as well. I'll be releasing 0.81 soon with fixes for that, and I'll get it tested against 2.5 too, or fix the release notes." This was filed by Arfrever, there is a fix for py2.5 but the py3 it appears he hasn't got to it; so looks like await 0.81 New version, new bugs:
>>> Source compiled.
* python3_2: running distutils-r1_run_phase python_test
* python2_7: running distutils-r1_run_phase python_test
.............................................................................................
----------------------------------------------------------------------
Ran 74 tests in 0.068s
OK
.......................................................
----------------------------------------------------------------------
Ran 74 tests in 0.073s
OK
=== Test file: README ===
=== Test file: test.rst ===
=== Test IPy module ===
=== Overall Results ===
total tests 205, failures 0
=== Test file: README ===
**********************************************************************
File "README", line 145, in README
Failed example:
IP('10.0.0.0/22') - IP('10.0.2.0/24')
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest README[36]>", line 1, in <module>
IP('10.0.0.0/22') - IP('10.0.2.0/24')
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 594, in __sub__
return _remove_subprefix(self, other)
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 1600, in _remove_subprefix
IP('%s/%d' % (prefix[prefix.len() / 2], prefix._prefixlen + 1)),
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 962, in __getitem__
return IP(IPint.__getitem__(self, key), ipversion=self._ipversion)
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 614, in __getitem__
raise TypeError
TypeError
**********************************************************************
File "README", line 153, in README
Failed example:
s.discard(IP('192.168.1.2'))
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest README[41]>", line 1, in <module>
s.discard(IP('192.168.1.2'))
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 1118, in discard
self.prefixes[i:i+1] = self.prefixes[i] - del_prefix
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 594, in __sub__
return _remove_subprefix(self, other)
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 1600, in _remove_subprefix
IP('%s/%d' % (prefix[prefix.len() / 2], prefix._prefixlen + 1)),
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 962, in __getitem__
return IP(IPint.__getitem__(self, key), ipversion=self._ipversion)
File "/var/tmp/portage/dev-python/ipy-0.81/work/IPy-0.81-python3_2/lib/IPy.py", line 614, in __getitem__
raise TypeError
TypeError
**********************************************************************
File "README", line 154, in README
Failed example:
s
Expected:
IPSet([IP('10.0.0.0/22'), IP('192.168.1.0/31'), IP('192.168.1.3'), IP('192.168.1.4/30')])
Got:
IPSet([IP('10.0.0.0/22'), IP('192.168.1.0/29')])
**********************************************************************
1 items had failures:
3 of 43 in README
***Test Failed*** 3 failures.
=== Test file: test.rst ===
=== Test IPy module ===
=== Overall Results ===
total tests 205, failures 3
* ERROR: dev-python/ipy-0.81 failed (test phase):
* Doctests fail with python3.2
Still failing with 0.82a or 0.83? |