Small dependency cleanup #98

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:feature-add-dependency into master 2023-10-17 14:55:05 +00:00
3 changed files with 2 additions and 9 deletions

View file

@ -18,7 +18,7 @@ keywords = ["frostfs", "test"]
dependencies = [
"allure-python-commons>=2.13.2",
"docker>=4.4.0",
"importlib_metadata>=5.0; python_version < '3.10'",
"pyyaml==6.0.1",
"neo-mamba==1.0.0",
"paramiko>=2.10.3",
"pexpect>=4.8.0",

View file

@ -1,6 +1,5 @@
allure-python-commons==2.13.2
docker==4.4.0
importlib_metadata==5.0.0
neo-mamba==1.0.0
paramiko==2.10.3
pexpect==4.8.0

View file

@ -1,12 +1,6 @@
import sys
from importlib.metadata import entry_points
from typing import Any
if sys.version_info < (3, 10):
# On Python prior 3.10 we need to use backport of entry points
from importlib_metadata import entry_points
else:
from importlib.metadata import entry_points
def load_plugin(plugin_group: str, name: str) -> Any:
"""Loads plugin using entry point specification.