Hello Ricardo, Ricardo Wurmus writes: >> * gnu/packages/documentation.scm (mkdocs): New variable. > […] >> + >> +(define-public mkdocs >> + (package >> + (name "mkdocs") >> + (version "1.0.4") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (pypi-uri "mkdocs" version)) >> + (sha256 >> + (base32 >> + "0fg9w6rdskwnn7knri7xzrd26k9svwqlxvdr0kk5spfpm8ll7lqp")))) >> + (build-system python-build-system) >> + (arguments >> + ;; XXX: Tests are failing. >> + ;; AttributeError: module 'mkdocs.plugins' has no attribute 'get_plugins' >> + '(#:tests? #f)) > > Hmm, any idea why this happens? Are the plugins not included? Is there > an upstream bug report about this? I didn't dig much, but after some search I have found the Nix package definition [1] and it seems that the test suite requires ‘nosetests’ and excludes 3 tests needs to be excluded to make the test suite pass. Without worrying about how to exclude tests for now, I tried to add the following to the ‘mkdocs’ package definition: (arguments '(#:test-target "nosetests")) (native-inputs `(("python-mock" ,python-mock) ("python-nose" ,python-nose))) I get errors like the following: --8<---------------cut here---------------start------------->8--- AssertionError: ([('docs_dir', ValidationError("The path /tmp/guix-build-mkdocs-1.0.4.drv-0/mkdocs-1.0.4/mkdocs/tests/integration/minimal/docs isn't an existing directory."))], []) --8<---------------cut here---------------end--------------->8--- Any idea how to fix this kind of issue? You can take a look at the attached build log for more details. Thanks