Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461348 - dev-python/rdflib-4.0 test failure
Summary: dev-python/rdflib-4.0 test failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 461346
Blocks:
  Show dependency tree
 
Reported: 2013-03-11 07:53 UTC by Patrick Lauer
Modified: 2014-04-22 09:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-03-11 07:53:20 UTC
$ diff rdflib-3.2.3.ebuild rdflib-3.4.0.ebuild 
19c19
< IUSE="berkdb examples mysql redland sqlite"
---
> IUSE="berkdb examples mysql redland sqlite test"
28c28,29
<       dev-python/setuptools"
---
>       dev-python/setuptools
>       test? ( dev-python/html5lib )"


Needs html5lib for tests which is not keyworded on all arches, see #461346
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2013-03-14 04:18:34 UTC
ah ok
Comment 2 Patrick Lauer gentoo-dev 2013-03-18 06:15:17 UTC
>>> Source compiled.
 * Testing of dev-python/rdflib-3.4.0 with CPython 2.7...
PYTHONPATH=build-2.7/lib nosetests --verbosity=1 --py3where=build/src
.....................................SS.................................S........S.................................F.....SS..S..............................................................................................................................................................................................................................................................................................................................................................................................................................SS..SSSS...S....SS....SSSS..................................................
======================================================================
FAIL: test.test_issue130.test_issue_130
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/rdflib-3.4.0/work/rdflib-3.4.0/test/test_issue130.py", line 17, in test_issue_130
    assert b('rdf:about="http://semanticfuture.net/linked-data/example/#company"') in g.serialize(), g.serialize()
AssertionError: <?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
   xmlns:md="http://www.w3.org/ns/md#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
>
  <rdf:Description rdf:about="http://linked-data.ru/example">
    <xhv:stylesheet rdf:resource="http://linked-data.ru/templates/ladyse/prefix.css"/>
    <xhv:stylesheet rdf:resource="http://linked-data.ru/templates/ladyse/style/engine.css"/>
    <xhv:stylesheet rdf:resource="http://linked-data.ru/templates/ladyse/style.css"/>
    <md:item rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <xhv:alternate rdf:resource="http://linked-data.ru//rss.xml"/>
  </rdf:Description>
</rdf:RDF>


----------------------------------------------------------------------
Ran 616 tests in 52.261s

FAILED (SKIP=20, failures=1)
 * ERROR: dev-python/rdflib-3.4.0 failed (test phase):
 *   Testing failed with CPython 2.7 in python_test_function() function
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2013-05-11 16:03:56 UTC
 ~/cvsPortage/gentoo-x86/dev-python/rdflib $ ebuild  rdflib-3.4.0.ebuild clean test

yields

PYTHONPATH=build-2.7/lib nosetests --verbosity=1 --py3where=build/src
----------------------------------------------------------------------
Ran 616 tests in 50.977s

OK (SKIP=23)

PYTHONPATH=build-3.2/lib nosetests --verbosity=1 --py3where=build/src

Ran 616 tests in 54.191s

OK (SKIP=23)

and now for the keywording!!..!!
Comment 4 Patrick Lauer gentoo-dev 2013-05-22 10:06:30 UTC
======================================================================
FAIL: test.test_xmlliterals.testHTML
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/rdflib-4.0/work/rdflib-4.0/build/src/test/test_xmlliterals.py", line 77, in testHTML
    assert l2.value is not None, 'xml must have been parsed'
AssertionError: xml must have been parsed

----------------------------------------------------------------------
Ran 1419 tests in 97.843s

FAILED (SKIP=74, failures=1)
 * ERROR: dev-python/rdflib-4.0 failed (test phase):
 *   (no error message)

Bump, one new dep, and a new test failure
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2014-04-22 09:24:36 UTC
-4.1.1 in the tree