We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7219b4 commit ad9eed0Copy full SHA for ad9eed0
dep_checker/versions_parser.py
@@ -150,6 +150,15 @@ def status_to_str(status: int) -> str:
150
return ""
151
152
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
162
return (
163
f"{major_version}.{minor_version}.{fix_version}{patch_str}{status_str}"
164
)
0 commit comments