Source: pychecker
Version: 0.8.18-3
Severity: important
User: [email protected]
Usertags: python2.6

Hello,

When rebuilt in an environment with Python 2.6 as the default version, your package failed to build from source. Here are the relevant parts of the build log:

| /usr/bin/python ./setup.py --quiet build --build-base build install 
--no-compile --install-purelib debian/tmp/lib/pychecker
| sh debian/regression.sh    # note: build will fail if regression tests fail
| Running test1...
| Running test2...
| Running test3...
| 5c5
| < /usr/lib/python2.5/UserDict.py:4: No doc string for class UserDict
| ---
| > /usr/lib/python2.6/UserDict.py:4: No doc string for class UserDict
|   test3 FAILED
| Running test4...
| Running test5...
| Running test6...
| Running test7...
| Running test8...
| Running test9...
| Running test10...
| Running test11...
| Running test12...
| Running test13...
| Running test14...
| Running test15...
| Running test16...
| Running test17...
| Running test18...
| Running test19...
| Running test20...
| Running test21...
| Running test22...
| 24a25,26
| > test_input/test22.py:54: Format string argument count (0) doesn't match 
arguments (1)
| > test_input/test22.py:57: Format string argument count (2) doesn't match 
arguments (1)
|   test22 FAILED
| Running test23...
| Running test24...
| Running test25...
| Running test26...
| 5c5
| < None
| ---
| > test_input/test26.py:9: Base class (test26.Foo) __init__() not called
|   test26 FAILED
| Running test27...
| Running test28...
| Running test29...
| Running test30...
| Running test31...
| Running test32...
| Running test33...
| Running test34...
| 5c5
| < /usr/lib/python2.5/getopt.py:42: No doc string for class GetoptError
| ---
| > /usr/lib/python2.6/getopt.py:42: No doc string for class GetoptError
| 7,9c7,11
| < /usr/lib/python2.5/locale.py:203: Local variable (digits) shadows global 
defined on line 4 in file test_input/test34.py
| < /usr/lib/python2.5/locale.py:204: Local variable (digits) shadows global 
defined on line 4 in file test_input/test34.py
| < /usr/lib/python2.5/locale.py:208: Local variable (digits) shadows global 
defined on line 4 in file test_input/test34.py
| ---
| > /usr/lib/python2.6/locale.py:238: Local variable (digits) shadows global 
defined on line 4 in file test_input/test34.py
| > /usr/lib/python2.6/locale.py:239: Local variable (digits) shadows global 
defined on line 4 in file test_input/test34.py
| > /usr/lib/python2.6/locale.py:243: Local variable (digits) shadows global 
defined on line 4 in file test_input/test34.py
| >
| > /usr/lib/python2.6/string.py:594: No doc string for class Formatter
|   test34 FAILED
| Running test35...
| Running test36...
| Running test37...
| Running test38...
| Running test39...
| Running test40...
| Running test41...
| Running test42...
| Running test43...
| Running test45...
| Running test46...
| Running test47...
| Running test48...
| Running test49...
| Running test50...
| Running test51...
| Running test52...
| Running test53...
| Running test54...
| Running test55...
| Running test56...
| Running test57...
| Running test58...
| Running test59...
| 6d5
| < test_input/test59.py:5: Modifying parameter (d) with a default value may 
have unexpected consequences
|   test59 FAILED
| Running test60...
| Running test61...
| Running test62...
| Running test63...
| Running test64...
| Running test65...
| Running test66...
| Running test67...
| Running test68...
| Running test69...
| Running test70...
| 1a2,9
| > test_input/test70.py:31: SyntaxWarning: assertion is always true, perhaps 
remove parentheses?
| >   assert(x, 'test')
| > test_input/test70.py:32: SyntaxWarning: assertion is always true, perhaps 
remove parentheses?
| >   assert(5, 'test')
| > test_input/test70.py:31: SyntaxWarning: assertion is always true, perhaps 
remove parentheses?
| >   assert(x, 'test')
| > test_input/test70.py:32: SyntaxWarning: assertion is always true, perhaps 
remove parentheses?
| >   assert(5, 'test')
|   test70 FAILED
| Running test71...
| 4a5
| > test_input/test71.py:13: Code appears to be unreachable
| 5a7
| > test_input/test71.py:25: Code appears to be unreachable
|   test71 FAILED
| Running test72...
| Running test73...
| Running test74...
| Running test75...
| Running test76...
| Running test77...
| Running test78...
| Running test79...
| Running test80...
| Running test81...
| Running test82...
| Running test83...
| Running test84...
| Running test85...
| Running test86...
| Running test87...
| Running test88...
| 2,3c2
| < test_input/test88.py:7: DeprecationWarning: the gopherlib module is 
deprecated
| <   import gopherlib
| ---
| >   ImportError: No module named gopherlib
| 7,11c6
| < test_input/test88.py:7: gopherlib module is deprecated
| < test_input/test88.py:11: whrandom module is deprecated, consider using 
random
| < test_input/test88.py:20: os.tempnam() is a security problem
| < test_input/test88.py:21: os.tmpnam() is a security problem
| < test_input/test88.py:23: string.atof is deprecated
| ---
| > test88:1: NOT PROCESSED UNABLE TO IMPORT
|   test88 FAILED
| Running test89...
| Running test90...
| Running test92...
| Running test93...
| Running test94...
| Running test95...
| Running test96...
| Running test97...
| Running test98...
| Running test99...
| Running test1000...
| Running test1001...
| Running test1002...
| Running test1003...
| 1a2,3
| > test_input/test1003.py:4: DeprecationWarning: the sets module is deprecated
| >   import sets
|   test1003 FAILED
| 92/101 tests passed (9 failures).
| Failed test(s): test3 test22 test26 test34 test59 test70 test71 test88 
test1003
| make: *** [build-stamp] Error 1
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

If you need help with fixing this bug, don't hesitate to ask on #debian-python or [email protected].

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to