[pytest-dev] xdist: removing boxed with degraded backward compat
RonnyPfannschmidt
opensource at ronnypfannschmidt.de
Fri Jul 28 12:00:35 EDT 2017
Hi Bruno,
its the other way around boxed jsut takes the fork using mess out of
xdist so i can drop that code
-- Ronny
Am 28.07.2017 um 17:59 schrieb Bruno Oliveira:
> 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
> <opensource at ronnypfannschmidt.de
> <mailto:opensource at 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 at python.org <mailto:pytest-dev at python.org>
> https://mail.python.org/mailman/listinfo/pytest-dev
>
More information about the pytest-dev
mailing list