Hey Ronny,

Does this new "pytest-boxed"(?) plugin depends on pytest-xdist? If it does
I think it is just a matter of pinning that dependency as requiring a
minimum of pytest-xdist >= 2 so users will get a version conflict error if
they try to install incompatible versions (I'm assuming the pytest-xdist
release without --boxed will be 2.0).

Cheers,

On Fri, Jul 28, 2017 at 12:50 PM RonnyPfannschmidt <
opensou...@ronnypfannschmidt.de> wrote:

> hi everyone,
>
> its finally time to take and remove xdists boxed mode,
>
> in order to prepare the removal i extracted it, but that creates one
> clear issue,
>
> py.test messes up and has no way to protect against old xdist and boxed
> both registering --boxed
>
> as such users in such a situation will get a completely horrible and
> entirely useless error message
>
> i tried for a while to get boxed not to register its own option if xdist
> is there and wants it as well,
> but it seems impossible, in my own tests the plugin registered hook
> triggers after addoption
>
> so i opted to simply opt out of the own option if the xdist.boxed module
> is availiable
>
> -- Ronny
>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev@python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to