-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCons v.4.8.0 - 'BoolVariable' is not defined #1518
Comments
This is fixed by #1504 which (among many other things), did this change: diff --git a/tools/ios.py b/tools/ios.py
index 75718684..d5767093 100644
--- a/tools/ios.py
+++ b/tools/ios.py
@@ -2,7 +2,7 @@ import os
import sys
import subprocess
import common_compiler_flags
-from SCons.Variables import *
+from SCons.Variables import BoolVariable
if sys.version_info < (3,):
diff --git a/tools/linux.py b/tools/linux.py
index 1783e060..95a5b92c 100644
--- a/tools/linux.py
+++ b/tools/linux.py
@@ -1,5 +1,5 @@
import common_compiler_flags
-from SCons.Variables import *
+from SCons.Variables import BoolVariable
from SCons.Tool import clang, clangxx
diff --git a/tools/windows.py b/tools/windows.py
index a263241a..d072b221 100644
--- a/tools/windows.py
+++ b/tools/windows.py
@@ -2,7 +2,7 @@ import sys
import my_spawn
import common_compiler_flags
from SCons.Tool import msvc, mingw
-from SCons.Variables import *
+from SCons.Variables import BoolVariable
def options(opts): We might want to backport at least this change to 4.2 / 4.1 (CC @dsnopek ) Note: It's really weird that scons 4.8 broke all |
It's tagged for cherry-picking! It'll get pulled in when I do the next round |
It appears like SCons/scons@9b4f2eb added a From what I am gathering from the commit message this might be an intentional change. |
Godot version
4.2.2.stable
godot-cpp version
4.2.2.stable
System information
Windows 11, Windows 10, macOS
Issue description
$ scons --version
$ scons
Working with SCons v4.7.0 ✅️
The text was updated successfully, but these errors were encountered: