Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: martinpitt/python-dbusmock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.37.1
Choose a base ref
...
head repository: martinpitt/python-dbusmock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 14 commits
  • 46 files changed
  • 1 contributor

Commits on Oct 12, 2025

  1. Configuration menu
    Copy the full SHA
    231cfb6 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2025

  1. tests: Adjust to NM 1.54.2 output change

    Putting NM to sleep now says "off" instead of "sleep".
    martinpitt committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    1ce6196 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2025

  1. ofono: Wrap multi-line strings in parens

    Fixes
    
    > ISC004 Unparenthesized implicit string concatenation in collection
    
    with latest ruff.
    martinpitt committed Dec 27, 2025
    Configuration menu
    Copy the full SHA
    460f7ba View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. dbusmock: Drop most variables from __init__.py

    Fixes most of "RUF067 `__init__` module should only contain docstrings
    and re-exports" with current upstream ruff.
    
    We really want `__version__`, so ignore that.
    martinpitt committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    b701392 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2026

  1. testcase: Drop __enter__() return types

    Most recent ruff complains about
    
    > PYI034 `__enter__` methods in classes like `SpawnedMock` usually return `self` at runtime
    > help: Use `Self` as return type
    
    But neither `Self` nor `self` nor `"Self"` actually works. Let's not
    bother, mypy figures out the return type just fine.
    martinpitt committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    506976d View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2026

  1. Configuration menu
    Copy the full SHA
    0b96a09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbdc0d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    59a9938 View commit details
    Browse the repository at this point in the history
  4. polkitd: Add RegisterAuthenticationAgentWithOptions

    This is what systemd calls these days.
    martinpitt committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    a289b4b View commit details
    Browse the repository at this point in the history
  5. logind: Add SetWallMessage

    `systemctl suspend` and friends call this. Add a test case.
    martinpitt committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    a08c13f View commit details
    Browse the repository at this point in the history
  6. README: Update outaded and broken examples

     - The Suspend() functionality moved from UPower to systemd-logind ages
       ago. Move the examples to that.
    
     - Make the examples actually work unmodified by addig a `busctl` call as a
       placeholder for what your tested program would do.
    
     - Move from tearDown() to addCleanup(), which is is the modern style.
    
     - Rewrite the pytest example to use the current API.
    
    Fixes #236
    martinpitt committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    55832e8 View commit details
    Browse the repository at this point in the history
  7. test: Check the examples in README.md

    This extracts the examples into temporary files and runs them through
    pytest. Let's make sure that these don't break again in the future!
    martinpitt committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    1a701a7 View commit details
    Browse the repository at this point in the history
  8. pyproject: Disable pytest-asyncio

    This quiesces a deprecation warning
    
    > The configuration option "asyncio_default_fixture_loop_scope" is unset.
    
    This project does not use asyncio, this just happens because I have
    the package installed locally.
    martinpitt committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    cc201b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2026

  1. tests: Skip test_readme_examples if README.md is not present

    This happens in wheel installs in Debian's `pybuild` environment.
    martinpitt committed Jan 30, 2026
    Configuration menu
    Copy the full SHA
    ee00606 View commit details
    Browse the repository at this point in the history
Loading