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 0798841 commit 4eec78cCopy full SHA for 4eec78c
PC/layout/main.py
@@ -671,7 +671,7 @@ def main():
671
672
expect = f"{VER_MAJOR}.{VER_MINOR}.{VER_MICRO}{VER_SUFFIX}"
673
actual = check_patchlevel_version(ns.source)
674
- if actual:
+ if actual and actual != expect:
675
log_error(f"Inferred version {expect} does not match {actual} from patchlevel.h. "
676
"You should set %PYTHONINCLUDE% or %PYTHON_HEXVERSION% before launching.")
677
return 5
0 commit comments