Skip to content

Fix DBus warning when running mach#37818

Merged
jdm merged 1 commit intoservo:mainfrom
MichaelMcDonnell:fix-dbus-warning
Jul 2, 2025
Merged

Fix DBus warning when running mach#37818
jdm merged 1 commit intoservo:mainfrom
MichaelMcDonnell:fix-dbus-warning

Conversation

@MichaelMcDonnell
Copy link
Copy Markdown
Contributor

@MichaelMcDonnell MichaelMcDonnell commented Jul 1, 2025

I get the following warning message I run ./mach build:

Could not generate notification: No module named 'dbus'

I asked in the Zulip chat[1] if anyone was still using the feature and
it sounds like most people do not use it anymore. It has been broken a
while too and no one has stepped up to fix it.

Gnome Terminal will automatically show a notification when a long
running command is done. Some other terminals can also be configured to
automatically show a notification when a long running command is done.

I think it is safe to remove the feature.

[1] https://servo.zulipchat.com/#narrow/channel/263398-general/topic/DBus.20warning.20when.20running.20.60.2E.2Fmach.20build.60

Testing: I manually tested it on Linux by running ./mach bootstrap followed by ./mach build

@MichaelMcDonnell MichaelMcDonnell marked this pull request as draft July 1, 2025 20:22
@MichaelMcDonnell

This comment was marked as outdated.

@MichaelMcDonnell MichaelMcDonnell force-pushed the fix-dbus-warning branch 2 times, most recently from 15a05ed to 4fbc3e8 Compare July 2, 2025 21:01
I get the following warning message I run ./mach build:

Could not generate notification: No module named 'dbus'

I asked in the Zulip chat[1] if anyone was still using the feature and
it sounds like most people do not use it anymore. It has been broken a
while too and no one has stepped up to fix it.

Gnome Terminal will automatically show a notification when a long
running command is done. Some other terminals can also be configured to
automatically show a notification when a long running command is done.

I think it is safe to remove the feature.

[1] https://servo.zulipchat.com/#narrow/channel/263398-general/topic/DBus.20warning.20when.20running.20.60.2E.2Fmach.20build.60

Testing: I manually tested it on Linux by running ./mach bootstrap followed by ./mach build

Signed-off-by: Michael Mc Donnell <[email protected]>
@MichaelMcDonnell MichaelMcDonnell marked this pull request as ready for review July 2, 2025 22:20
Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for following up on this!

@jdm jdm added this pull request to the merge queue Jul 2, 2025
Merged via the queue into servo:main with commit 9aa06b2 Jul 2, 2025
21 checks passed
@MichaelMcDonnell
Copy link
Copy Markdown
Contributor Author

Thanks for merging it! That warning has been bugging me for a while 😀

@MichaelMcDonnell MichaelMcDonnell deleted the fix-dbus-warning branch July 3, 2025 00:14
PotatoCP added a commit to PotatoCP/servo that referenced this pull request Jul 3, 2025
{"fail_fast": false, "matrix": [{"name": "Linux (WPT)", "workflow": "linux", "wpt": true, "profile": "release", "unit_tests": false, "build_libservo": false, "bencher": false, "build_args": "", "wpt_args": "./tests/wpt/tests/webdriver/tests/classic/ --pref=dom_testing_html_input_element_select_files_enabled --product servodriver --headless", "number_of_wpt_chunks": 1}]}
PotatoCP added a commit to PotatoCP/servo that referenced this pull request Jul 3, 2025
{"fail_fast": false, "matrix": [{"name": "Linux (WPT)", "workflow": "linux", "wpt": true, "profile": "release", "unit_tests": false, "build_libservo": false, "bencher": false, "build_args": "", "wpt_args": "./tests/wpt/tests/webdriver/tests/classic/ --pref=dom_testing_html_input_element_select_files_enabled --product servodriver --headless", "number_of_wpt_chunks": 1}]}
mrobinson added a commit to mrobinson/servo that referenced this pull request Nov 18, 2025
Support for sending build notifications was removed in servo#37818, but the
dependency in `requirements.txt` was not removed. This PR fixest that.

Signed-off-by: Martin Robinson <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Nov 18, 2025
Support for sending build notifications was removed in #37818, but the
dependency in `requirements.txt` was not removed. This PR fixest that.

Testing: This change just removes an unsued build dependency, so no
testing is necessary.

Signed-off-by: Martin Robinson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants