Skip to content

Commit 720440e

Browse files
tests(huggingface): Avoid None version (#5083)
Normalize package identifiers according to https://peps.python.org/pep-0503/#normalized-names when getting a package version. This fixes the `huggingface-hub` test suite, which fails because the identifier returned by `importlib.metadata` changed.
1 parent 43c16c4 commit 720440e

File tree

4 files changed

+72
-56
lines changed

4 files changed

+72
-56
lines changed

0 commit comments

Comments
 (0)