Victrid / libnxctrl

Python Library Emulating Nintendo Switch Controllers
GNU General Public License v3.0
5 stars 0 forks source link

Update dbus-python requirement from ~=1.2.16 to >=1.2.16,<1.4.0 #9

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on dbus-python to permit the latest version.

Changelog

Sourced from dbus-python's changelog.

0.10.2

Features:

  • Added on_unknown_member option to the properties_get_all_dict method. Specifies the action on what to do with unknown property. ("error" (default), "ignore", "reuse")

Fixes:

  • Fixed autodoc regressions introduced in 0.10.1. Properties and signals headers have been redesigned.
  • Fixed PropertiesChanged signal emitting only the newest object path.

0.10.1

Features:

  • Added catch_anywhere method to dbus signals. Creates an async iterator which yields object path that emitted signal and signal data. Can be called from class but requires explicit service name in that case.
  • Added properties_get_all_dict() method to DbusInterfaceCommonAsync and DbusInterfaceCommon classes. Retrieves all D-Bus object properties as a dictionary where keys are member names translated to Python names and values are property values.

0.10.0

Features:

  • Mapped all built-in Python exceptions to D-Bus errors.
  • Default bus connection now uses context/thread-local storage. This is potentially breaking in code that used bus in a different threads or contexts.
  • Added map_exception_to_dbus_error which lets mapping of any exception to D-Bus error name.
  • D-Bus interfaces and member names are now verified before exporting to D-Bus. A helpful error message will be returned if verification fails.
  • Added ability to export and track objects with ObjectManager.
  • Added sdbus.unittest.IsolatedDbusTestCase which is a test case that runs on a separated D-Bus instance. Requires dbus-daemon command be installed.
  • Allow replacing the default bus. Changing default bus will not have effect on existing objects which will continue to use the old bus.

Fixes:

  • Fixed non-mapped errors in methods called from D-Bus not returning generic error.
  • Fixed errors in properties always returning Access Denied instead of specific

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)