Which is the longish way of saying that if you want to take it on, go
for it. Fork the nose3 project on bitbucket, merge in the nose
project, and when your fork passes selftest for python 2.3 and above
and jython and can be packaged and installed then I'll review it and
ask at least one other nose dev to review it also, and when all is
good, it will get merged back and released. :)
JP
> --
> You received this message because you are subscribed to the Google Groups "nose-dev" group.
> To post to this group, send email to nose...@googlegroups.com.
> To unsubscribe from this group, send email to nose-dev+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nose-dev?hl=en.
>
>
I recall fighting with the unbound method issue myself in the nose3
fork, but I don't remember how I solved it. A wrapper seems like a
fine solution.
If this all comes together and passes selftest for 2.3->3.2, jython,
etc, I'll be very much inclined to merge your work in, do whatever
housekeeping is needed, and call that nose 1.0....
JP
On Wed, Sep 1, 2010 at 9:18 AM, jason pellerin <jpel...@gmail.com> wrote:
> Wow, awesome!
Thank you very much for doing this - it will be a huge help,
Matthew
Woo!
JP
You need to have tox installed globally and available on the command
line. http://codespeak.net/tox/
Then you can run tox -e py31 or just run tox for all environments.
> 1. Do we really need to still support 2.3? It's over 7 years old
> now, and most of the other projects I know of (including big stuff
> like Django) don't even support it anymore.. (I can do some hackery
> to reimplement keys as cmp functions if running under 2.3, but I'm
> really wondering how much value there is in it)
I can live with dropping 2.3 support, but I'd like to hear from some
other devs and users before making that decision.
> 2. On a related note, does anything use
> TestLoader.sortTestMethodsUsing? Could it be replaced with
> sortTestMethodsKey or some such?
That's coming from unittest.TestLoader. What unittest does in 2.6 and
above is use unittest._CmpToKey to convert it, if it's set, so nose
should do something similar.
> 3. Does anything use the 'cmpf' argument to PluginManager.sort? I
> can't find any use of it in the nose sources, but I'm not sure if this
> is part of a published API or something..
Doesn't seem to be used anywhere, I think it's safe to drop it.
JP
aha, so it does! I remember getting a syntax error but I think that
was back when the test suite still required an older version of
coverage. By the way, thanks for updating the tests for the new
coverage output.
> I hadn't ever used tox before.. I'm gonna have to play around with
> that a bit more at some point. (I'm still working on setting up jython
> and Python <2.5 on my box, but tox seems happy with 2.5, 2.6, 2.7, and
> 3.1, which is encouraging :) )
tox is pretty neat but most useful for CI since it makes for a slower
test run. There are still some odd warnings in the Sphinx build that
I haven't looked at closely yet but otherwise all is good.
>
> -alex