Skip to content

Commit ad9eed0

Browse files
fix: ignore openssl nes
1 parent c7219b4 commit ad9eed0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dep_checker/versions_parser.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ def status_to_str(status: int) -> str:
150150
return ""
151151

152152
status_str = status_to_str(status)
153+
154+
# Check if the version string contains '-nes' and assume it's safe
155+
with open(version_header, "r") as f:
156+
version_string = f.read()
157+
if "-nes" in version_string:
158+
return (
159+
f"{major_version}.{minor_version}.{fix_version}{patch_str}-w-nes"
160+
)
161+
153162
return (
154163
f"{major_version}.{minor_version}.{fix_version}{patch_str}{status_str}"
155164
)

0 commit comments

Comments
 (0)