[HaikuPorts-devs] python 2.5.2 status / python 2.6 status

scott mc scottmc2 at gmail.com
Tue Nov 11 08:09:05 PST 2008


I have taken another pass at building Python-2.5.2, this time with a
fresh Haiku with it's newly build dev tools.
"make test" output looks much like it did in the previous build, I
have updated the portlog entry for it in case you want to try building
yourself.  I have modified my local OptionalPackage file to add it to
my haiku builds here.  Here's a link to the new binary posted on
fileden:
http://www.fileden.com/files/2008/8/23/2062382/python-2.5.2-gcc2-2008-11-10.zip
Anyone spot any show stoppers in the skipped/failed test lists that
should keep this from being part of the Haiku Alpha?
Here's the output of python regrtest.py on my newly built haiuku with
python built in, running it from /boot/common/lib/python-2.5/test
Here's the output from running python regrtest.py:

/boot/common/lib/python2.5/test> python regrtest.py
test_grammar
test_opcodes
test_operations
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_StringIO
test___all__
test___future__
test__locale
test__locale skipped -- cannot import name RADIXCHAR
test_aepack
test_aepack skipped -- No module named aepack
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named macostools
test_array
test_ast
test_asynchat
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb skipped -- No module named _bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
test_bufio
test_bz2
test_bz2 skipped -- No module named bz2
test_cProfile
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd_line
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_hk
test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_jp
test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_kr
test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_tw
test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled
test_codecs
test_codeop
test_coding
test_coercion
test_colorsys
test_commands
test_compare
test_compile
test_compiler
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_crypt
test_csv
test_ctypes
test_ctypes skipped -- No module named _ctypes
test_curses
test_curses skipped -- No module named _curses
test_datetime
test_dbm
test_dbm skipped -- No module named dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dict
test_difflib
test_dircache
test test_dircache failed -- Traceback (most recent call last):
 File "/boot/common/lib/python2.5/test/test_dircache.py", line 54, in
test_listdir
   self.assertEquals(entries, ['test1'])
AssertionError: [] != ['test1']

test_dis
test_distutils
test_dl
test_dl skipped -- No module named dl
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_frozen
test_funcattrs
test_functools
test_future
test_gc
test_gdbm
test_gdbm skipped -- No module named gdbm
test_generators
/boot/common/lib/python2.5/test/test_generators.py:1:
DeprecationWarning: raising string exceptions is deprecated
 tutorial_tests = """
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_gzip skipped -- No module named zlib
test_hash
test_hashlib
test_heapq
test_hexoct
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_index
test_inspect
test_ioctl
test_isinstance
test_iter
test_iterlen
test_itertools
test_largefile
test_largefile skipped -- filesystem does not have largefile support
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_locale
test_locale skipped -- test locale not supported (tried en_US.UTF-8,
en_US.US-ASCII, en_US)
test_logging
test_long
test_long_future
test_longexp
test_macfs
test_macfs skipped -- No module named macfs
test_macostools
test_macostools skipped -- No module named macostools
test_macpath
test_mailbox
test test_mailbox failed -- errors occurred; run in verbose mode for details
test_marshal
test test_marshal failed -- Traceback (most recent call last):
 File "/boot/common/lib/python2.5/test/test_marshal.py", line 95, in
test_floats
   self.assertEqual(f, got)
AssertionError: -7.9456894939000011e-241 != inf

test_math
test_md5
test_mhlib
test test_mhlib failed -- Traceback (most recent call last):
 File "/boot/common/lib/python2.5/test/test_mhlib.py", line 185, in
test_listfolders
   eq(folders, tfolders)
AssertionError: [] != ['deep', 'deep/f1', 'deep/f2', 'deep/f2/f3',
'inbox', 'wide']

test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_multibytecodec
test_multibytecodec_support
test_multifile
test_mutants
test_netrc
test_new
test_nis
test_nis skipped -- No module named nis
test_normalization
test_normalization skipped -- Use of the `urlfetch' resource not enabled
test_ntpath
test_old_mailbox
test test_old_mailbox failed -- errors occurred; run in verbose mode for details
test_openpty
test_operator
test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
test_pickle
test_pickletools
test_pkg
test_pkgimport
test_platform
test_plistlib
test_plistlib skipped -- No module named plistlib
test_poll
test test_poll crashed -- <class 'select.error'>: (-2147483643,
'Invalid Argument')
test_popen
test_popen2
test_posix
test test_posix failed -- errors occurred in test.test_posix.PosixTester
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pty skipped -- Pseudo-terminals (seemingly) not functional.
test_pwd
test_pyclbr
test_pyexpat
test_queue
test_quopri
test_random
test test_random failed -- Traceback (most recent call last):
 File "/boot/common/lib/python2.5/test/test_random.py", line 332, in
test_referenceImplementation
   self.assertAlmostEqual(a,e,places=14)
AssertionError: 0.081823493762449573 != -inf within 14 places

test_re
test_repr
test_resource
test test_resource crashed -- <class 'resource.error'>: (-2147483643,
'Invalid Argument')
test_rfc822
test_rgbimg
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test test_shutil failed -- errors occurred in test.test_shutil.TestShutil
test_signal
test_site
test_slice
test_socket
sem_init: No space left on device
Unhandled exception in thread started by <bound method
UnbufferedFileObjectClassTestCase.clientRun of
<test.test_socket.UnbufferedFileObjectClassTestCase
testMethod=testUnbufferedReadline>>
Traceback (most recent call last):
 File "/boot/common/lib/python2.5/test/test_socket.py", line 125, in clientRun
   self.server_ready.wait()
 File "/boot/common/lib/python2.5/threading.py", line 368, in wait
   self.__cond.wait(timeout)
 File "/boot/common/lib/python2.5/threading.py", line 210, in wait
   waiter = _allocate_lock()
thread.error: can't allocate lock


139 tests OK.
1 test failed:
   test_dircache
28 tests skipped:
   test__locale test_aepack test_al test_applesingle test_bsddb
   test_bsddb185 test_bsddb3 test_bz2 test_cd test_cl
   test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
   test_codecmaps_kr test_codecmaps_tw test_ctypes test_curses
   test_dbm test_dl test_gdbm test_gl test_gzip test_imgfile
   test_largefile test_linuxaudiodev test_locale test_macfs
   test_macostools
Ask someone to teach regrtest.py about which tests are
expected to get skipped on haiku1.
/boot/common/lib/python2.5/test>


More information about the haikuports-devs mailing list