Commit f27bbdf
doc/conf: use importlib.metadata in favor of pkg_resources
Since Python 3.12, setuptools is no longer pre-installed in virtual envs
created with venv [1].
The used alternative `importlib.metadata` is available for
Python >=3.8 [2].
[1] https://docs.python.org/3/library/venv.html#module-venv
[2] https://docs.python.org/3.12/library/importlib.metadata.html
Signed-off-by: Leonardo Mörlein <git@irrelefant.net>
[bst: rephrased commit message]
(cherry picked from commit 34215b9)1 parent db8a079 commit f27bbdf
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments