[Python-modules-team] Bug#761177: Bug#843397: python-rdflib-jsonld: Requires python-rdflib 4.2.1 to work properly with schema.org contexts
Andreas Tille
tille at debian.org
Thu Nov 17 15:45:51 UTC 2016
Hi Christian,
On Wed, Nov 16, 2016 at 04:50:56PM +0100, chrysn wrote:
> On Wed, Nov 16, 2016 at 04:45:52PM +0100, Andreas Tille wrote:
> > Yes - if you tell me exactly what Git URL to clone and what branch is
> > the Debian branch to build.
>
> git clone git+ssh://git.debian.org/git/collab-maint/rdflib.git -b debian
>
> sorry, I thought you already had a current checkout.
While I have fixed the clean target in Git to make the build start at
all there is one remaining unit test error:
...
No SPARQL endpoint for SPARQLUpdateStore (tests skipped)
SS......................../usr/lib/python2.7/dist-packages/SPARQLWrapper/Wrapper.py:408: UserWarning: keepalive support not available, so the execution of this method has no effect
warnings.warn("keepalive support not available, so the execution of this method has no effect")
.......................................................SS....................................................................................................................................................................................................................................................................................................................................S...S....SS..SSSSSSSSSSSS....SSSS...........SS..SSS.SSS..SSSSSSSSSSSSSSS............................................................................................................................SSSSSSS.............................................................................................................................................................................................S.......................................SSSSS...............S.....SS......Traceback (most recent call last):
File "rdflib/tools/rdfpipe.py", line 185, in <module>
main()
File "rdflib/tools/rdfpipe.py", line 181, in main
outfile, opts.output_format, ns_bindings)
File "rdflib/tools/rdfpipe.py", line 49, in parse_and_serialize
graph.parse(fpath, format=use_format, **kws)
File "/build/rdflib-4.2.1/rdflib/graph.py", line 1464, in parse
location=location, file=file, data=data, **args)
File "/build/rdflib-4.2.1/rdflib/graph.py", line 1037, in parse
parser.parse(source, self, **args)
File "/build/rdflib-4.2.1/rdflib/plugins/parsers/structureddata.py", line 145, in parse
check_lite=check_lite
File "/build/rdflib-4.2.1/rdflib/plugins/parsers/structureddata.py", line 178, in _process
_check_error(processor_graph)
File "/build/rdflib-4.2.1/rdflib/plugins/parsers/structureddata.py", line 58, in _check_error
raise Exception("RDFa parsing Error! %s" % msg)
Exception: RDFa parsing Error! __init__() got an unexpected keyword argument 'encoding'
F..............................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSS..SS..S....SSS..SS.....SSS.S..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: Issue 375: rdfpipe command generates bytes vs. str TypeError
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/build/rdflib-4.2.1/test/test_issue375.py", line 168, in test_rdfpipe_bytes_vs_str
assert res.strip() == rdfa_expected
AssertionError
----------------------------------------------------------------------
Ran 2268 tests in 47.580s
FAILED (SKIP=79, failures=1)
Running nose with: --exclude=test_conneg --attr= test rdflib --where=./
E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: python2.7 run_tests.py --exclude=test_conneg
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
I tried to fix this by inserting
export LC_ALL=C.UTF-8
into d/rules but this did not help.
Any idea?
Kind regards
Andreas.
PS: If you need help to make the repository DPMT compliant I'd volunteer to
take over this task if you want me to do so.
--
http://fam-tille.de
More information about the Python-modules-team
mailing list