Commit ccf9fac
committed
fix: use importlib.metadata to check garak version in container
pip freeze shows git-installed packages as URL refs, not ==version.
Use Python's importlib.metadata.version() instead to get the actual
installed version for comparison.
Made-with: Cursor1 parent c43a516 commit ccf9fac
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments