pytest-dev / pluggy

A minimalist production ready plugin system
https://pluggy.readthedocs.io/en/latest/
MIT License
1.24k stars 121 forks source link

Can plugins be executed concurrently? #436

Open dAnjou opened 1 year ago

dAnjou commented 1 year ago

Hi,

can plugins be executed concurrently somehow? Is it maybe possible to implement a custom hook relay?

Thanks 🙏

nicoddemus commented 1 year ago

Pluggy itself will not execute hookimpls in parallel currently.

Is it maybe possible to implement a custom hook relay?

I think it is worth a shot. 👍

RonnyPfannschmidt commented 1 year ago

Currently it's not sanely possible

nicoddemus commented 1 year ago

Oh to be clear: in my previous response, I meant to implement a custom hook relay in a fork or something, for internal use only -- as @RonnyPfannschmidt said, it is not sanely possible to it in pluggy itself.