Skip to content

feat(prereqs): add Python module checks for Linux test prerequisites#806

Open
Shyam-Raghuwanshi wants to merge 1 commit intoelectron:mainfrom
Shyam-Raghuwanshi:fix/add-python-module-prereqs-check
Open

feat(prereqs): add Python module checks for Linux test prerequisites#806
Shyam-Raghuwanshi wants to merge 1 commit intoelectron:mainfrom
Shyam-Raghuwanshi:fix/add-python-module-prereqs-check

Conversation

@Shyam-Raghuwanshi
Copy link

This commit adds prerequisite checks for Python modules required to run
Electron tests on Linux. The dbus_mock.py script used in the test suite
requires 'dbusmock' and 'gi' (PyGObject) modules, which were previously
not validated before test execution.

The fix provides clear, actionable error messages instead of cryptic
ModuleNotFoundError exceptions during test execution.

Fixes: #790

@Shyam-Raghuwanshi Shyam-Raghuwanshi requested review from a team and ckerr as code owners February 6, 2026 20:14
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.

[for npm test electron src] No module named 'dbusmock' and 'gi'

1 participant