On Thu, 11 Jan 2018 at 13:35:13 +0300, Dmitry Shachnev wrote: > The new release of python-markdown has switched docs building from its own > custom build system to mkdocs. However python-mkdocs itself build-depends on > python3-markdown for tests, which results in a circular build-dependency.
It would probably be best for python-mkdocs to build-depend on python3-markdown <!nocheck>, after making sure that building with "DEB_BUILD_PROFILES=nocheck DEB_BUILD_OPTIONS=nocheck" and without python3-markdown installed does work (it looks as though it should). That way the cycle can be broken from either end (and nocheck never changes package contents, whereas nodoc does, so nocheck is probably a better way to break it). > Will it be fine if I just mark the build-dependency in python-markdown as > <!nodoc>? If the resulting package builds successfully with DEB_BUILD_PROFILES=nodoc then that seems a good idea anyway. In some packages you might need to use dh-exec to skip documentation files in debian/*.install, but it looks as though that won't be necessary for python-markdown. smcv