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: python-sdbus/python-sdbus-networkmanager
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.0
Choose a base ref
...
head repository: python-sdbus/python-sdbus-networkmanager
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 20 commits
  • 50 files changed
  • 5 contributors

Commits on Jul 21, 2023

  1. Added async vpn example (#58)

    Thank you!
    andrey-pr authored Jul 21, 2023
    Configuration menu
    Copy the full SHA
    76a3c2c View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. Update enums in accordance with upstream documentation

    This begins version 3.0
    
    All enums were revisisted and updated in accordance to NetworkManager documentation.
    
    Some enums and their fields were renamed:
    
    * `AccessPointCapabilities` -> `WifiAccessPointCapabilities`
    * `WirelessCapabilities` -> `WifiCapabilities`
    * `WpaSecurityFlags` -> `WifiAccessPointSecurityFlags`
      * `P2P_*` -> `PAIR_*`
      * `BROADCAST_*` -> `GROUP_*`
      * `AUTH_*` -> `KEY_MGMT_*`
    * `ConnectionState` -> `ActiveConnectionState`
    * `ConnectionStateReason` -> `ActiveConnectionStateReason`
    * `ConnectionFlags` -> `SettingsConnectionFlags`
    * `ConnectionStateFlags` -> `ActivationStateFlags`
    * `DeviceCapabilities` -> `DeviceCapabilitiesFlags`
    * `BluetoothCapabilities` -> `BluetoothCapabilitiesFlags`
    * `ModemCapabilities` -> `ModemCapabilitiesFlags`
    * `SecretAgentCapabilities` -> `SecretAgentCapabilitiesFlags`
    * `VpnState` -> `VpnServiceState`
    * `VpnFailure`
      * `LOGIN_FAILURE` -> `LOGIN_FAILED`
    
    New enums:
    
    * `NetworkManagerCapabilities`
    * `WimaxNSPNetworkType`
    * `SecretAgentGetSecretsFlags`
    * `CheckpointCreateFlags`
    * `CheckpointRollbackResult`
    * `SettingsAddConnection2Flags`
    * `SettingsUpdate2Flags`
    * `DeviceReapplyFlags`
    * `NetworkManagerReloadFlags`
    * `RadioFlags`
    * `MptcpFlags`
    * `VpnConnectionState`
    * `VpnConnectionStateReason`
    igo95862 committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    68485e6 View commit details
    Browse the repository at this point in the history
  2. Update readthedocs configuration to recent changes

    Copy pasted from the working sdbus configuration.
    igo95862 committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    1c80ffb View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. docs: Fix enums example using outdated WifiCapabilities name

    The new name is WifiCapabilitiesFlags.
    Also add a link to the enums themselves.
    igo95862 committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    de2cf89 View commit details
    Browse the repository at this point in the history
  2. docs: Create a quickstart guide

    It explains the basic objects used in the NetworkManager.
    igo95862 committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    21a95dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    709b8d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Separate examples by versions

    While the master branch undergoing version 3.0.0 development
    people will try to run the examples on PyPI version and fail.
    
    Separating them by version will hopefully make it very apparent
    which version the examples should be run against.
    igo95862 committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    76b9141 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. docs: Make all quickstart code snippets a valid scripts

    Otherwise it might be confusing on where the variables come from.
    igo95862 committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    5666c18 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2025

  1. Update URL to github repository

    The github URL has changed but it was not updated at least in some
    places, so update it now.
    
    Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
    rmelotte committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    9edda49 View commit details
    Browse the repository at this point in the history
  2. setup.py: fix URLs that are specific to python-sdbus-networkmanager

    The documentation URL in the README.md pointed to
    'https://python-sdbus-networkmanager.readthedocs.io', but the one in
    setup.py pointed to python-sdbus instead.
    
    Fix the documentation URL, and while at it fix some others that had
    the same issue.
    
    Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
    rmelotte committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    a2230d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99f78ab View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2025

  1. examples: Add example of listening on device state changes

    Apparently some people struggle with signals. This example should
    show them how to use signals.
    igo95862 committed Apr 20, 2025
    Configuration menu
    Copy the full SHA
    7fb2d18 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2025

  1. Update enums using latest NetworkManager documentation

    Add new `NetworkManagerVersionInfoCapability`, `ClientPermission`
    and `ClientPermissionResult` enums.
    
    Update `DeviceType`, `DeviceStateReason` and `DeviceMetered`
    with new values.
    
    Thank you @diggit for bringins this to my attention.
    
    Closes #74
    igo95862 committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    ff0567f View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2025

  1. Fix NetworkManagerSettings.get_connections_by_id not using the bus it…

    … was initialized with
    
    The get_connections_by_id does not work properly with explicitly passed bus, and raises the following exception:
    
        settings_paths = await nm_settings.get_connections_by_id("eth0")
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File ".../networkmanager/objects.py", line 177, in get_connections_by_id
        settings_properties = await settings.get_settings()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File ".../dbus_proxy_async_method.py", line 108, in _dbus_async_call
        reply_message = await bus.call_async(call_message)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    sdbus.dbus_exceptions.DbusServiceUnknownError: The name org.freedesktop.NetworkManager was not provided by any .service files
    
    This exception was discovered with the following test code:
    
    import asyncio
    from sdbus import sd_bus_open_system
    from sdbus_async.networkmanager import NetworkManagerSettings
    
    async def test_get_connections_by_id():
        system_bus = sd_bus_open_system()
        nm_settings = NetworkManagerSettings(system_bus)
        settings_paths = await nm_settings.get_connections_by_id("eth0")
        print(settings_paths)
    
    if __name__ == "__main__":
        asyncio.run(test_get_connections_by_id())
    
    After this fix, the issue is resolved and get_connections_by_id works correctly without raising an exception.
    hkhateb authored and khateh committed Aug 23, 2025
    Configuration menu
    Copy the full SHA
    4b94e8f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #77 from hkhateb/fix_get_connections_by_id_exception

    Fix NetworkManagerSettings.get_connections_by_id not using the bus it was initialized with
    
    Thank you @hkhateb
    igo95862 authored Aug 23, 2025
    Configuration menu
    Copy the full SHA
    5f480c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. add persistent-keepalive parameter to wireguard peers

    Jan-Niklas Weghorn committed Jan 14, 2026
    Configuration menu
    Copy the full SHA
    34873e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2026

  1. fix: WireguardPeers.endpoint has wrong type int; should be str

    Jan-Niklas Weghorn committed Feb 11, 2026
    Configuration menu
    Copy the full SHA
    d53c91d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc97d51 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. persistent_keepalive type should be int

    Jan-Niklas Weghorn committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    aa7eb22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adc8179 View commit details
    Browse the repository at this point in the history
Loading