Browse / Agent tools

martinpitt/python-dbusmock

python-dbusmock: mock D-Bus objects for tests

    Works.Tested on 2026-12-03. From the README alone, on Linux with Haiku.

    For maintainers

    Keep your README agent-ready

    Paste this prompt into your coding agent to tighten onboarding time and keep the README reproducible.

    Improve the README and setup experience of martinpitt/python-dbusmock so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
    Latest Coldpass Linux status: Works in 5:35 (tested 2026-12-03).
    README deviations recorded during setup: README uses gdbus; gdbus not packaged in this guest, so busctl used for the same calls; README lists no apt packages; build headers were required for dbus-python.
    Please review the README and setup scripts to keep agent onboarding fast and reliable:
    1. Fix any documented command that required extra steps or workarounds.
    2. Pin dependency versions in a lockfile and document a fast verification command.
    3. Keep prerequisites, platform notes, and expected output concise and exact.
    Also review the recorded check notes (known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.

    Shareable status badge

    Add a live Coldpass Linux verification badge to your README.

    Coldpass status for martinpitt/python-dbusmock
    [![Coldpass status](https://coldpass.dev/badge/martinpitt--python-dbusmock.svg)](https://coldpass.dev/repo/martinpitt--python-dbusmock/)

    What we checked

    Is it safe?Review first. Found: known vulnerabilities.Each check
    • Malware: none found in the 5 Python and npm packages installed during our run (OSV malware advisories). Its declared dependencies were not checked: OSV found no pinned versions to look up.
    • Secrets in its files: none found by gitleaks.
    • Known vulnerabilities in its dependencies: 14 OSV advisories: pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721); python-dbusmock 0.0.post1+g8f4d0731d (GHSA-74xw-82v7-hmrm); python-dbusmock 0.0.post1+g8f4d0731d (PYSEC-2019-155).
    • Lines that download and run a program: none found in its source.
    • Planted fake secret files: repo code opened none.
    • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
    • Hosts the repo's own code contacted: none.

    From our newest run of each setup (Dec 3, 2026). A quiet run is not a safety guarantee.

    Can a small agent set it up?Yes (Haiku, 5:35)The run

    3:44 Install finished

    0:41 First use worked

    Test history

    • Dec 3, 2026 · 8f4d0731d3bc · linux / Haiku 5.5 · passed · run JSON
    Does it do what the README says?1 of 1 claims held up. A claim is one README promise we ran and checked.Evidence

    “With this program/Python library you can easily create mock objects on D-Bus.”

    Does the repo’s own CI pass?Success.GitHub checks

    GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

    Needs keys, a login or a browser?No.Details

    None seen

    What does it depend on?python3 3.12.3, dbus-daemon / dbus-run-session, busctl (systemd), libdbus-1-dev, libglib2.0-dev, pkg-config, gcc, python3-dev, dbus-python (pip)Dependencies

    Software the test agent reported the README needed.

    Local or hosted?bothHow we tell

    From the README and the endpoint we tested.

    Is the README accurate?2 steps differed from it.Deviations
    • README uses gdbus; gdbus not packaged in this guest, so busctl used for the same calls
    • README lists no apt packages; build headers were required for dbus-python
    What did it do when we ran it?During our run, it tried to read credential-like files.What we saw

    Linux / Haiku

    • A repo process tried to read a credential-like file (saved web login); the file was not there or access was denied. We never record file contents.
    • While installing, git-remote-https looked up github.com.
    • While installing, http looked up archive.ubuntu.com, security.ubuntu.com, a name on our local network.
    • While installing, pip, python3 looked up files.pythonhosted.org, pypi.org.
    • We found no known-malicious packages among the 13 Python and npm packages we observed (checked against OSV malicious-package advisories).

    Linux / Luna

    • Nothing unexpected in the trace for this setup.
    • While installing, git-remote-https looked up github.com.
    • While installing, http looked up archive.ubuntu.com, security.ubuntu.com, a name on our local network.
    • While installing, python3 looked up files.pythonhosted.org, pypi.org.
    • We found no known-malicious packages among the 5 Python and npm packages we observed (checked against OSV malicious-package advisories).

    We found no compiled programs in its files.

    What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

    What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

    A quiet run is not a safety guarantee.

    Is it maintained?MaintainedActivity

    actively maintained: last commit 1 days ago; 6 commits and 3 merged PRs in 90 days; 13 open issues, 1 open PRs; 23 of 28 recent threads got a maintainer reply, median first reply 41.4h; latest release 2026-12-03

    AboutStars: 71 · Forks: 54 · Contributors: 52 · Owner account since Feb 9, 2010Source

    Recorded GitHub repository and owner account metadata.

    LicenseSPDX: LGPL-3.0 · commercial use: copyleft termsSource

    From GitHub’s license detection. The repository’s license text gives the terms.

    Cost to runFree in this testDetails

    Peak guest RAM: 664 MiB

    Guest disk change: 709 MiB

    GPU need: not captured

    Paid service: not captured