diff --git a/scripts/constraints.txt b/scripts/constraints.txt index b587f1998650ef..f29bbc7d5a4337 100644 --- a/scripts/constraints.txt +++ b/scripts/constraints.txt @@ -63,7 +63,7 @@ cryptography==3.4.7 # -r requirements.txt cxxfilt==0.2.2 # via -r requirements.txt -dbus-python==1.2.16 ; sys_platform == "linux" +dbus-python==1.2.18 ; sys_platform == "linux" # via -r requirements.txt decorator==5.0.9 # via ipython diff --git a/scripts/requirements.txt b/scripts/requirements.txt index a006725dc5e10d..e33963c48c2a42 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -16,7 +16,7 @@ requests>=2.24.0 # device controller wheel package wheel -dbus-python; sys_platform == 'linux' +dbus-python==1.2.18; sys_platform == 'linux' pgi; sys_platform == 'linux' pyobjc-core; sys_platform == 'darwin' pyobjc-framework-cocoa; sys_platform == 'darwin' @@ -65,4 +65,4 @@ cryptography colorama # update tornado for pw_watch -tornado \ No newline at end of file +tornado diff --git a/src/controller/python/BUILD.gn b/src/controller/python/BUILD.gn index d722a830577ed3..890c7fc8501c59 100644 --- a/src/controller/python/BUILD.gn +++ b/src/controller/python/BUILD.gn @@ -298,7 +298,7 @@ chip_python_wheel_action("chip-core") { py_package_reqs += [ "pyobjc-framework-corebluetooth" ] } else if (current_os == "linux") { py_package_reqs += [ - "dbus-python", + "dbus-python==1.2.18", "pygobject", ] } diff --git a/src/pybindings/pycontroller/build-chip-wheel.py b/src/pybindings/pycontroller/build-chip-wheel.py index 41a450b79147f0..2bc04f43c8b23d 100644 --- a/src/pybindings/pycontroller/build-chip-wheel.py +++ b/src/pybindings/pycontroller/build-chip-wheel.py @@ -123,7 +123,7 @@ def finalize_options(self): requiredPackages.append('pyobjc-framework-corebluetooth') if platform.system() == 'Linux': - requiredPackages.append('dbus-python') + requiredPackages.append('dbus-python==1.2.18') requiredPackages.append('pygobject') #