Skip to content

Commit 089fb8b

Browse files
authored
DLPX-95497 Update virtulaization-sdk python packages (#568)
PR URL: #568
1 parent 9a67f07 commit 089fb8b

File tree

9 files changed

+59
-56
lines changed

9 files changed

+59
-56
lines changed

common/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bump2version==1.0.1
2-
packaging==22.0
3-
pluggy==1.0.0
4-
pyparsing==3.0.9
5-
pytest==7.2.0
2+
packaging==25.0
3+
pluggy==1.6.0
4+
pyparsing==3.2.4
5+
pytest==8.4.1
66
six==1.16.0
7-
zipp==3.11.0
7+
zipp==3.23.0

dvp/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bump2version==1.0.1
2-
packaging==22.0
3-
pluggy==1.0.0
4-
pyparsing==3.0.9
5-
pytest==7.2.0
2+
packaging==25.0
3+
pluggy==1.6.0
4+
pyparsing==3.2.4
5+
pytest==8.4.1
66
six==1.16.0
7-
zipp==3.11.0
7+
zipp==3.23.0

libs/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
./../common
22
bump2version==1.0.1
3-
mock==4.0.3
4-
packaging==22.0
5-
pluggy==1.0.0
6-
pyparsing==3.0.9
7-
pytest==7.2.0
3+
mock==5.2.0
4+
packaging==25.0
5+
pluggy==1.6.0
6+
pyparsing==3.2.4
7+
pytest==8.4.1
88
six==1.16.0
9-
zipp==3.11.0
9+
zipp==3.23.0

platform/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
./../common
22
bump2version==1.0.1
3-
mock==4.0.3
4-
packaging==22.0
5-
pluggy==1.0.0
6-
pyparsing==3.0.9
7-
pytest==7.2.0
3+
mock==5.2.0
4+
packaging==25.0
5+
pluggy==1.6.0
6+
pyparsing==3.2.4
7+
pytest==8.4.1
88
six==1.16.0
9-
zipp==3.11.0
9+
zipp==3.23.0

tools/requirements.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
./../libs
33
./../platform
44
bump2version==1.0.1
5-
coverage==6.5.0
5+
coverage==7.10.6
66
entrypoints==0.4
7-
flake8==6.0.0
7+
flake8==7.3.0
88
httpretty==1.0.5
9-
isort==5.11.1
9+
isort==6.0.1
1010
mccabe==0.7.0
11-
mock==4.0.3
12-
more-itertools==9.0.0
13-
packaging==22.0
14-
pluggy==1.0.0
15-
pycodestyle==2.10.0
16-
pyflakes==3.0.1
17-
pyparsing==3.0.9
18-
pytest-cov==4.0.0
19-
pytest==7.2.0
11+
mock==5.2.0
12+
more-itertools==10.7.0
13+
packaging==25.0
14+
pluggy==1.6.0
15+
pycodestyle==2.14.0
16+
pyflakes==3.4.0
17+
pyparsing==3.2.4
18+
pytest-cov==6.2.1
19+
pytest==8.4.1
2020
six==1.16.0
21-
yapf==0.32
22-
zipp==3.11.0
21+
yapf==0.43.0
22+
zipp==3.23.0

tools/setup.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@
1414
# - Update the minimum as well as maximum version along with code changes.
1515
#
1616
install_requires = [
17-
"attrs >= 22.2, < 22.3",
18-
"certifi >= 2022, < 2023",
17+
"attrs >= 25.3, < 25.4",
18+
"certifi >= 2024, < 2025",
1919
"click == 7.1.2",
2020
"click-configfile == 0.2.3",
21-
"configparser >= 5.3, < 5.4",
21+
"configparser >= 7.2, < 7.3",
2222
"dvp-libs == {}".format(version),
2323
"dvp-platform == {}".format(version),
24-
"flake8 >= 6.0, < 6.1",
24+
"flake8 >= 7.3, < 7.4",
2525
"httpretty >= 1.0, < 1.1",
26-
"importlib-resources >= 5.10, < 5.11",
26+
"importlib-resources >= 6.5, < 6.6",
2727
"jinja2 >= 3.1, < 3.2",
28-
"jsonschema >= 4.17, < 4.18",
29-
"MarkupSafe >= 2.1, < 2.2",
28+
"jsonschema >= 4.25, < 4.26",
29+
"MarkupSafe >= 3.0, < 3.1",
3030
"pkgutil_resolve_name == 1.3.10",
3131
"pyyaml >= 6, < 7",
32-
"requests >= 2.31, < 2.32",
32+
"requests >= 2.32, < 2.33",
3333
"six >= 1.16, < 1.17",
34-
"zipp >= 3.11, < 3.12",
34+
"zipp >= 3.23, < 3.24",
3535
]
3636

3737
setuptools.setup(name='dvp-tools',

tools/src/test/python/dlpx/virtualization/_internal/commands/test_initialize.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,21 @@ def test_init(tmpdir, ingestion_strategy, host_type, schema_template,
141141

142142
@staticmethod
143143
def test_init_with_relative_path(tmpdir):
144-
os.chdir(tmpdir.strpath)
145-
init.init(".", const.DIRECT_TYPE, "", const.UNIX_HOST_TYPE)
144+
current_dir = os.getcwd()
145+
try:
146+
os.chdir(tmpdir.strpath)
147+
init.init(".", const.DIRECT_TYPE, "", const.UNIX_HOST_TYPE)
146148

147-
result = plugin_util.validate_plugin_config_file(
148-
os.path.join(tmpdir.strpath, init.DEFAULT_PLUGIN_CONFIG_FILE),
149-
True)
149+
result = plugin_util.validate_plugin_config_file(
150+
os.path.join(tmpdir.strpath, init.DEFAULT_PLUGIN_CONFIG_FILE),
151+
True)
150152

151-
config = result.plugin_config_content
153+
config = result.plugin_config_content
152154

153-
# Validate that the plugin name is equal to plugin id
154-
assert config['name'] == config['id']
155+
# Validate that the plugin name is equal to plugin id
156+
assert config['name'] == config['id']
157+
finally:
158+
os.chdir(current_dir)
155159

156160
@staticmethod
157161
def test_init_without_plugin_name(tmpdir):

tools/src/test/python/dlpx/virtualization/_internal/commands/test_templates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def test_object_dict_with_bad_key_type(module):
799799
"\n\tExpected:\t{}(One possible permutation of types)"
800800
"\n\tActual:\t{}")
801801
message = err_info.value.message
802-
assert message in possible_messages,\
802+
assert message in possible_messages, \
803803
assertion_error_message.format(possible_messages[0], message)
804804

805805
@staticmethod
@@ -826,7 +826,7 @@ def test_object_dict_with_bad_key_type_setter(module):
826826
"\n\tExpected (One possible permutation of types):\t{}"
827827
"\n\tActual:\t{}")
828828
message = err_info.value.message
829-
assert message in possible_messages,\
829+
assert message in possible_messages, \
830830
assertion_error_message.format(possible_messages[0], message)
831831

832832
@staticmethod

tools/src/test/python/dlpx/virtualization/_internal/test_plugin_dependency_util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def build_wheel(package, dir):
5050
dist_path = wheel_dir / os.path.basename(package)
5151
dist_path.touch()
5252

53-
global packages
5453
packages.add(str(dist_path))
5554

5655
def clean_up(a, b, c):

0 commit comments

Comments
 (0)