Skip to content

Commit c05a6b9

Browse files
authored
Fix the pipdeptree issue for Triton image (#4854)
1 parent 4e68e36 commit c05a6b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

release/dlc_release_information.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ def bom_pipdeptree(self):
113113
if "graviton" in self.dlc_repository or "arm64" in self.dlc_repository:
114114
self.get_container_command_output("python3 -m pip install pipdeptree")
115115
return self.get_container_command_output("python3 -m pipdeptree")
116+
elif "triton" in self.dlc_repository:
117+
self.get_container_command_output("apt remove -y python3-pip")
118+
self.get_container_command_output(
119+
"curl -s https://bootstrap.pypa.io/get-pip.py | python3"
120+
)
121+
self.get_container_command_output("python3 -m pip install pipdeptree")
122+
return self.get_container_command_output("python3 -m pipdeptree")
116123
else:
117124
self.get_container_command_output("pip install pipdeptree")
118125
return self.get_container_command_output("pipdeptree")

0 commit comments

Comments
 (0)