Skip to content

Commit

Permalink
use importlib_metadata for 3.10 too
Browse files Browse the repository at this point in the history
  • Loading branch information
YevheniiSemendiak committed Feb 14, 2023
1 parent aae6e58 commit dc324bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neuro-sdk/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ install_requires =
azure-storage-blob>=12.8.1,!=12.9.0
google-auth>=2.0.2
# https://github.com/python/importlib_metadata/issues/410#issuecomment-1304258228
importlib_metadata>=4.11.4; python_version<"3.10"
importlib_metadata>=4.11.4; python_version<"3.11"
packaging>=20.4
neuro-admin-client>=22.7.2
# fixed to unblock while we releasing client
Expand Down
2 changes: 1 addition & 1 deletion neuro-sdk/src/neuro_sdk/_config_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from ._tracing import _make_trace_config
from ._utils import _ContextManager

if sys.version_info >= (3, 10):
if sys.version_info >= (3, 11):
from importlib.metadata import entry_points
else:
from importlib_metadata import entry_points
Expand Down

0 comments on commit dc324bb

Please sign in to comment.