On Friday, January 29 2021, Andreas Tille wrote: > Hi, > > I have updated Git[1] to the latest upstream version to potentially > solve this issue. Unfortunately the build stops with: > > ... > copying cloud_sptheme/ext/static/auto_redirect.html_t -> > /build/cloud-sptheme-1.10.1.post20200504175005/.pybuild/cpython3_3.9/build/cloud_sptheme/ext/static > copying cloud_sptheme/ext/static/auto_redirect.css -> > /build/cloud-sptheme-1.10.1.post20200504175005/.pybuild/cpython3_3.9/build/cloud_sptheme/ext/static > python3 -m sphinx /build/cloud-sptheme-1.10.1.post20200504175005/docs > /build/cloud-sptheme-1.10.1.post20200504175005/html > Running Sphinx v3.4.3 > making output directory... done > > Theme error: > no theme named 'cloud' found (missing theme.conf?) > make[1]: *** [debian/rules:8: override_dh_auto_build] Error 2 > make[1]: Leaving directory '/build/cloud-sptheme-1.10.1.post20200504175005' > > > Since I'm not involved into the packaging of this package I rather stop > here and hope my commits are helpful to solve this issue. I was also > running routine-update to modernise the packaging - I hope you agree > with those changes. If not feel free to revert.
Thanks for the work here, Andreas. I took some time today and fixed the remaining issues with the package. It's all in the git repo, but I thought it'd be good to write some summary of what I did here. In a nutshell: 1) I solved the problem with building the documentation by forcing sphinx to use the "classic" theme. I know, it's "strange" not to use the cloud theme to build cloud's docs, but I found this solution to be easier/cleaner to implement than fiddling with PYTHONPATH and other paths. 2) After solving the docs problem, I stumbled upon failures in the testsuite. This one took me a bit more time to figure out, but I found that it's a problem with Python 3.9 + mock 4. The fix is a one-liner and (hopefully) simple to understand. I don't know if it makes much sense to submit it upstream, because I don't know if it will break the setup of people using older versions of Python/mock. In any case, the patch is there with 'Forwarded: not-yet'. Cheers, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/