Hi Ronny,

Indeed backward compat is a major concern.  It's a) nicer UI b) avoids
spending time on unneccessary support issues.  I suggest we make sure
that all combinations of pytest-xdist (current and next) work with
pytest-2.6.4 and pytest-2.7 and to discountinue pytest-cache.

Given that pytest-2.7 might not be far away i suggest to
directly move looponfail and pytest-cache functionality into the core
and make sure that pytest-2.7 auto-disables pytest-cache when it is
installed (with a warning).  The pytest-xdist looponfail cmdline option will 
then conflict with pytest-2.7 core looponfail.  We can enhance the
command line option registration to ignore adding same-named options
and issue a precise warning. (Warnings can be issued globally, need not
be tied to an item).

holger

On Fri, Feb 06, 2015 at 13:39 +0100, Ronny Pfannschmidt wrote:
> 
> Hi,
> 
> in order to prepare switching --looponfail over to pytest-cache
> i created some branches in the main repos
> 
> while doing that i also removed --boxed from xdist
> 
> related pull requests are * 
> https://bitbucket.org/hpk42/pytest-cache/pull-request/12/move-in-looponfail-from-xdist
> * 
> https://bitbucket.org/hpk42/pytest-xdist/pull-request/14/kill-looponfail-and-boxed/diff
> 
> in particular looponchangeroots might need some more discussion
> about semantics
> 
> 
> i already prepared a potential replacement for --boxed in
> pytest-boxed (which is not yet released, maybe sometime later today)
> 
> the current set changes requires to update xdist and cache at the same time
> 
> to keep backward compatibility better,
> i could move the actual --looponfail option to xdist
> and set up the requirements of xdist to contain boxed/cache
> in order keep the same feature set availiable
> 
> main question is do we want to enforce update at once
> or have a more gradual process
> (i'm in favor of a more disruptive change but,
> i know many of you have compatibiliy concernsto take into consideration)
> 
> -- Ronny
> _______________________________________________
> pytest-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/pytest-dev
> 
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to