Commit d2a5027
committed
build(deps): drop spurious importlib-metadata dependency
importlib-metadata was declared as a direct dependency (^6.6) solely as a
fallback for the stdlib importlib.metadata import in connect/client/version.py.
Since the project requires Python >=3.9 and importlib.metadata has been in the
standard library since 3.8, the except branch never executed and the <7 ceiling
imposed by the caret was entirely artificial.
Remove the dependency from pyproject.toml and the try/except fallback in
version.py (now importing directly from importlib.metadata). importlib-metadata
remains in the lock at 6.11.0 as a transitive dependency of mkdocs (python<3.10),
so requirements/docs.txt is unaffected.
LITE-344471 parent dbbb038 commit d2a5027
3 files changed
Lines changed: 108 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
0 commit comments