Skip to content

pytest_tornasync becomes hard dependency if pytest is installed #337

@bollwyvl

Description

@bollwyvl

Hey, folks! Hooray for making pytest a first party concern, and offering a pytest plugin 🎉!

Boo for the co-presence of jupyter_server and pytest making other people's entry_points fail 👻!

Is there some way that pytest_tornasync can be lazily loaded, etc. such that not everything needs to bring it in unless actually testing?

I mean, I love some entry_points, and I would kill for jupyter_server extensions to be able to be delivered via "normal means," if indeed entry_points were the right way to do it (we some some knock-on effects here), but that software looks a bit long-in-the tooth (which is not necessarily a bad thing, but tornado has changed a fair amount), and I can never quite tell what plugins actually do to my pytest environment.

Alternatives

The extras don't really provide much assurance over time (basically ignored on subsequent solves), and pytest (in)compatibility can be a really real thing, even at initialization time.

I also thought I read somewhere that the extras wouldn't even be part of some future state of the pip solver, but I can't back that up with a link.

related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions