From 0d2e94f2426b30a06b04a04d7341ec4f5be88f0b Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Mon, 1 Jul 2024 22:33:06 +0200 Subject: [PATCH] chore(docs): no more pkg_resources The snippet above the fix uses `importlib.metadata` rather than `pkg_resources`. --- doc/source/versions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/versions.rst b/doc/source/versions.rst index bbc19680..08158f94 100644 --- a/doc/source/versions.rst +++ b/doc/source/versions.rst @@ -98,6 +98,6 @@ discussion. '3.44' - If you use `Sphinx `_ for generating your - documentation, use the same ``pkg_resources`` trick to set the version and + documentation, use the same ``importlib.metadata`` trick to set the version and release in your Sphinx's ``conf.py``. See `zest.releaser's conf.py `_.