Hello Ghis, On Mon, Dec 05, 2016 at 02:14:56PM +0000, Ghislain Vaillant wrote: > The build FTBFS due to a failed query on html5lib at test time. Since the > prov module does not explicitly depend on the latter, it had to be missing > transitively from rdflib. > > Upon inspection of the packaging repository, I noticed that html5lib is > listed as recommends and that automatic dependency resolution via dh-python > is explicitly disabled.
rdflib is usually well usable without the html5lib module, there *should* be just the RDFa and microdata extraction affected; that does sound like a legit case for 'Recommends' to me. The source code is explicitly prepared to only fail on html5lib import errors if that functionality is actually required. The presence of requirements.py?.txt seems to be only due to the lack of Depends/Recommends distinction in the Python tools. I had a look at the prov package and `uscan`ed the latest upstream version into it. Were RDFa or microdata examples in the tests, I'd have said that you should probably build-depend on html5lib (for the tests depend on it), but the tests actually don't look like it. Anyhow, I failed to build the package even before it came to the unit tests due to the keepalive dependency. Could you publish your state of packaging for me to reproduce the build issues you're having, or send a backtrace of the failing tests? Best regards chrysn -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom
signature.asc
Description: PGP signature