From 20e40b0891074b2e51dc1e43b41c38cfa3f78bf1 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 19 Dec 2021 17:46:19 -0800 Subject: [PATCH] specname requires Pluggy 1.0.0 or higher Refs https://github.com/pytest-dev/pluggy/pull/251 Refs https://github.com/simonw/datasette/issues/1575 --- pluggy/multiple-hooks-same-file.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pluggy/multiple-hooks-same-file.md b/pluggy/multiple-hooks-same-file.md index bd0fe23d90..24a239ff0b 100644 --- a/pluggy/multiple-hooks-same-file.md +++ b/pluggy/multiple-hooks-same-file.md @@ -24,3 +24,5 @@ def filters_from_request_2(request, database, datasette): # ... ``` Which allows you to write more than one plugin implementation function in the same Python module file. + +Note that the `specname` feature requires [Pluggy 1.0.0](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst#pluggy-100-2021-08-25) or higher.