Skip to content

Commit

Permalink
remove unused python-dbus (#23564)
Browse files Browse the repository at this point in the history
* remove unused python-dbus

* Restyled by gn

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Aug 22, 2023
1 parent 6cf4633 commit ef37286
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
4 changes: 1 addition & 3 deletions scripts/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ cryptography==3.4.7
# via
# -c constraints.esp32.txt
# -r requirements.txt
cxxfilt==0.2.2
# via -r requirements.txt
dbus-python==1.2.18 ; sys_platform == "linux"
cxxfilt==0.2.2 ; sys_platform == "linux"
# via -r requirements.txt
decorator==5.0.9
# via ipython
Expand Down
3 changes: 1 addition & 2 deletions scripts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ virtualenv
requests>=2.24.0

# device controller wheel package
wheel
dbus-python==1.2.18; sys_platform == 'linux'
wheel; sys_platform == 'linux'
pgi; sys_platform == 'linux'
pyobjc-core; sys_platform == 'darwin'
pyobjc-framework-cocoa; sys_platform == 'darwin'
Expand Down
5 changes: 1 addition & 4 deletions src/controller/python/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,7 @@ chip_python_wheel_action("chip-core") {
if (current_os == "mac") {
py_package_reqs += [ "pyobjc-framework-corebluetooth" ]
} else if (current_os == "linux") {
py_package_reqs += [
"dbus-python==1.2.18",
"pygobject",
]
py_package_reqs += [ "pygobject" ]
}

if (current_cpu == "x64") {
Expand Down
1 change: 0 additions & 1 deletion src/pybindings/pycontroller/build-chip-wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def finalize_options(self):
requiredPackages.append('pyobjc-framework-corebluetooth')

if platform.system() == 'Linux':
requiredPackages.append('dbus-python==1.2.18')
requiredPackages.append('pygobject')

#
Expand Down

0 comments on commit ef37286

Please sign in to comment.