Hello all,
On 24/03/2016 08:27, Craig Sparks wrote:
> The issue is that these examples depend on nose, and we have
> unfortunately forgot to include the install requirement in the docs/guide.
I've also had time to look at it now. The example imports nose and
/that/ is what breaks. The way we determine whether an example exists or
not unfortunately also raises an ImportError if the example asked for
does not exist. The code there catches ImportErrors and just takes such
an error to mean that the example itself cannot be imported.
It would be better to be more discerning about the exact import error
thrown: that would make the error more understandable. Or, if we do not
have to try import the example at all at this point.
But Craig is right, the underlying problem is that since reahl-doc
contains these examples, and one of them is dependent on nose, reahl-doc
should have a dependency on nose.
-Iwan
--
Reahl, the Python only web framework:
http://www.reahl.org