Andreas Tille pushed to branch master at Debian Med / snakemake
Commits: 42e38a52 by Andreas Tille at 2020-04-09T10:40:29+02:00 Exclude lazy_property to make Sphinx succeed. - - - - - 13a15261 by Andreas Tille at 2020-04-09T11:17:36+02:00 Upload to unstable - - - - - 3 changed files: - debian/changelog - debian/patches/series - + debian/patches/workaround_sphinx_issue.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +snakemake (5.10.0-3) unstable; urgency=medium + + * Team upload. + + [ Rebecca N. Palmer ] + * Exclude lazy_property to make Sphinx succeed. + Closes: #955056 + + -- Andreas Tille <[email protected]> Thu, 09 Apr 2020 11:09:24 +0200 + snakemake (5.10.0-2) unstable; urgency=medium * Team upload. ===================================== debian/patches/series ===================================== @@ -11,3 +11,4 @@ 0011-fix-privacy-breach.patch boto3_is_just_boto python3 +workaround_sphinx_issue.patch ===================================== debian/patches/workaround_sphinx_issue.patch ===================================== @@ -0,0 +1,21 @@ +From: "Rebecca N. Palmer" <[email protected]> +Date: Wed, 8 Apr 2020 22:13:19 +0100 +Bug-Debian: https://bugs.debian.org/955056 +Description: An upstream comment says common.py:lazy_property is the problem item, + and excluding that from the documentation does make Sphinx succeed (I + haven't tested a whole build): + . + This is obviously not an ideal fix, but it's an internal class with little + documentation to begin with: https://snakemake.readthedocs.io/en/stable/api_reference/internal/snakemake.html#snakemake.common.lazy_property + +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -107,6 +107,8 @@ pygments_style = 'sphinx' + # If true, keep warnings as "system message" paragraphs in the built documents. + #keep_warnings = False + ++# skip internal class that Sphinx 2 can't process (#296) ++autodoc_default_options = {'exclude-members': 'lazy_property'} + + # -- Options for HTML output ---------------------------------------------- + View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/compare/caead8780e5149207dd9a62053f960d6080b73ae...13a15261cc8ba2b641dcfaf1410a298f60d5f496 -- View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/compare/caead8780e5149207dd9a62053f960d6080b73ae...13a15261cc8ba2b641dcfaf1410a298f60d5f496 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
