Summary: | dev-python/cssutils-0.9.9 / 0.9.10_beta1 - src_test(): FAIL: encutils.getMetaInfo | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Kerr <chris.kerr> |
Component: | Current packages | Assignee: | Thomas Raschbacher <lordvan> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | idella4, jlec, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bitbucket.org/cthedot/cssutils/issue/23/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 461200 | ||
Attachments: | build.log (0.9.9) |
Description
Chris Kerr
2012-11-16 10:14:24 UTC
Created attachment 329642 [details]
build.log (0.9.9)
yes it does. Await action from upstream hmm i still get an error.. a different one though .. @Ian does it work for you? cthedot did say on the upstream bug it works with "newer" python 2.7 ... ####snip >>> Source compiled. * python3_3: running distutils-r1_run_phase python_test * python2_7: running distutils-r1_run_phase python_test nosetests -P /var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/tests nosetests -P /var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python2_7/lib/cssutils/tests .........................................................................................................................................................................................................................................................................................................................F....................................................................................................................................................................................................E........................................................................................................................... ====================================================================== ERROR: CSSParser.parseUrl() ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/_fetch.py", line 24, in _defaultFetcher res = urllib.request.urlopen(request) File "/usr/lib64/python3.3/urllib/request.py", line 156, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.3/urllib/request.py", line 475, in open response = meth(req, response) File "/usr/lib64/python3.3/urllib/request.py", line 587, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python3.3/urllib/request.py", line 513, in error return self._call_chain(*args) File "/usr/lib64/python3.3/urllib/request.py", line 447, in _call_chain result = func(*args) File "/usr/lib64/python3.3/urllib/request.py", line 595, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/tests/test_parse.py", line 143, in test_parseUrl self.assertRaises(urllib.error.HTTPError, parser.parseUrl, 'http://cthedot.de/not-present.css') File "/usr/lib64/python3.3/unittest/case.py", line 570, in assertRaises return context.handle('assertRaises', callableObj, args, kwargs) File "/usr/lib64/python3.3/unittest/case.py", line 135, in handle callable_obj(*args, **kwargs) File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/parse.py", line 201, in parseUrl overrideEncoding=encoding) File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/util.py", line 838, in _readUrl r = fetcher(url) File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/_fetch.py", line 27, in _defaultFetcher log.warn(e, error=OSError) File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/errorhandler.py", line 98, in __handle raise error(msg) OSError: HTTP Error 404: Not Found ====================================================================== FAIL: CSSStyleSheet.namespaces.namespaces ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10-python3_3/lib/cssutils/tests/test_cssstylesheet.py", line 336, in test_namespaces1 self.assertEquals(['', 'ex2'], list(s.namespaces)) AssertionError: Lists differ: ['', 'ex2'] != ['ex2', ''] First differing element 0: ex2 - ['', 'ex2'] + ['ex2', ''] ---------------------------------------------------------------------- Ran 362 tests in 4.831s FAILED (errors=1, failures=1) * ERROR: dev-python/cssutils-0.9.10-r1::gentoo failed (test phase): * Testing failed with python3.3 * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 3777: Called distutils-r1_src_test * environment, line 1244: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 310: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3616: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2846: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' .. * environment, line 2794: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2792: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2837: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 723: Called distutils-r1_run_phase 'python_test' * environment, line 1180: Called python_test * environment, line 3669: Called die * The specific snippet of code: * "$@" || die "Testing failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/cssutils-0.9.10-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/cssutils-0.9.10-r1::gentoo'`. /usr/lib64/portage/bin/isolated-functions.sh: line 188: wait: `Testing failed with python3.3': not a pid or valid job spec * The complete build log is located at '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10' * S: '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10' ........................................................................................ ---------------------------------------------------------------------- Ran 362 tests in 7.645s OK >>> Failed to emerge dev-python/cssutils-0.9.10-r1, Log file: >>> '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/temp/build.log' * Messages for package dev-python/cssutils-0.9.10-r1: * ERROR: dev-python/cssutils-0.9.10-r1::gentoo failed (test phase): * Testing failed with python3.3 * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 3777: Called distutils-r1_src_test * environment, line 1244: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 310: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3616: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2846: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2794: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2792: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2837: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 723: Called distutils-r1_run_phase 'python_test' * environment, line 1180: Called python_test * environment, line 3669: Called die * The specific snippet of code: * "$@" || die "Testing failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/cssutils-0.9.10-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/cssutils-0.9.10-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10' * S: '/var/tmp/portage/dev-python/cssutils-0.9.10-r1/work/cssutils-0.9.10' # emerge --info Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.1, glibc-2.16.0, 3.12.0-gentooATH64 x86_64) ================================================================= System uname: Linux-3.12.0-gentooATH64-x86_64-AMD_Phenom-tm-_II_X4_20_Processor-with-gentoo-2.2 KiB Mem: 8144108 total, 278964 free KiB Swap: 4192928 total, 4192736 free Timestamp of tree: Thu, 14 Nov 2013 12:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0::java dev-lang/python: 2.7.5-r2, 3.2.5-r2, 3.3.2-r2 --- snip hmm i just noticed something on the upstream ticket again: cthedot changed status to resolved kind of lame but test work on newer Python version (tested with 2.7.3) now and will probably fail on older. But this makes more sense as older versions will die out eventually anyway ;) I will consider just requiring >=2.7.3 for tests .. there are only 2 older versions still in the tree even: 2.6.9 2.6.8-r3 @ia & rest of the python team what do you think is that acceptable? I want to get this bug sorted & closed .. That sounds fine! python:2.6 will be deprecated soon, anyway. Drop from tree |