Commit e565592
authored
fix: replace deprecated pkg_resources with importlib.metadata (osism#950)
Replace pkg_resources.get_distribution with importlib.metadata.version
to resolve deprecation warning. Includes fallback to importlib_metadata
for Python < 3.8 compatibility.
AI-assisted: Claude Code
Signed-off-by: Christian Berendt <berendt@osism.tech>1 parent 72bac73 commit e565592
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | | - | |
9 | | - | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
0 commit comments