File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ profile = "black"
99
1010[project ]
1111name = " turftopic"
12- version = " 0.23.2 "
12+ version = " 0.23.3 "
1313description = " Topic modeling with contextual representations from sentence transformers."
1414authors = [
1515 { name = " Márton Kardos <power.up1163@gmail.com>" , email = " martonkardos@cas.au.dk" }
Original file line number Diff line number Diff line change 11import json
22import warnings
3+ from importlib .metadata import version
34from pathlib import Path
45from typing import Union
56
67import joblib
7- import pkg_resources
88from huggingface_hub import snapshot_download
99
1010IMPORTANT_PACKAGES = [
6161
6262
6363def get_package_versions () -> dict [str , str ]:
64- return {
65- package : pkg_resources .get_distribution (package ).version
66- for package in IMPORTANT_PACKAGES
67- }
64+ return {package : version (package ) for package in IMPORTANT_PACKAGES }
6865
6966
7067def validate_package_versions (remote_versions : dict [str , str ]):
You can’t perform that action at this time.
0 commit comments