- Mar 13, 2025
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we use None as a signal handler, the test will log unhandled exception tracebacks every time a match rule matches a signal, because None isn't callable. Fixes: d159c611 "test: Add basic coverage for arg0namespace" Fixes: cd745679 "test: Add basic coverage for argNpatch matches" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Non-trivial test coverage requires PyGI. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This allows the unit tests to be skipped automatically if dbus-run-session was not found, or if the necessary development files for embedding a Python interpreter were not found. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The documentation is in English. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This allows -Ddoc=auto, to build the documentation if and only if sphinx is available. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This was an attempt to fix #55 (it didn't work) but still seems worth having. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will be the next stable release, expected in mid 2025. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Workaround for #55 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
As the minor version gets large, direct use of PY_VERSION_HEX is increasingly hard to read. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
0.9.1 needs a newer version of the packaging module, but doesn't declare it in its own metadata. 0.9.0 is enough for what we need anyway. Reference: https://github.com/pypa/pyproject-metadata/pull/239 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
python3.13 is a supported version in Debian testing now. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Mar 10, 2025
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This isn't considered a supported version in Debian yet, so we need to build our own copy of PyGObject from source. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
According to https://docs.python.org/3.13/whatsnew/3.13.html: > Python.h no longer includes the <unistd.h> standard header file. > If needed, it should now be included explicitly. > For example, it provides the functions: read(), write(), close(), > isatty(), lseek(), getpid(), getcwd(), sysconf() and getpagesize(). > (Contributed by Victor Stinner in > https://github.com/python/cpython/issues/108765 ) The build failures with -Werror=implicit-function-declaration were: .../dbus_bindings/unixfd.c: In function 'UnixFd_tp_new': .../dbus_bindings/unixfd.c:146:10: error: implicit declaration of function 'dup' [-Werror=implicit-function-declaration] 146 | fd = dup(fd_original); | ^~~ .../dbus_bindings/unixfd.c:146:10: warning: nested extern declaration of 'dup' [-Wnested-externs] .../dbus_bindings/unixfd.c:154:9: error: implicit declaration of function 'close'; did you mean 'clone'? [-Werror=implicit-function-declaration] 154 | close(fd); | ^~~~~ | clone [smcv: Adjust include order, don't include unistd.h on Windows] Co-authored-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 07, 2024
-
-
Simon McVittie authored
In Python 3.13, prefer the safe API that returns a strong reference. In older Python, implement PyWeakref_GetRef() in terms of the old PyWeakref_GetObject() (assuming that the GIL is held and therefore no objects will be freed at a critical moment). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
tools/generate-pkginfo.py: Allow to use tomllib instead of tomli on Python >= 3.11 Closes #54 See merge request !32
-
-
- Aug 30, 2023
-
-
Simon McVittie authored
Add support for argNpath in add_signal_receiver See merge request !24
-
Signed-off-by:
Jeroen Hofstee <jhofstee@victronenergy.com>
-
Match messages whose n´th argument equals the given value or match in a path-like manner. Signed-off-by:
Jeroen Hofstee <jhofstee@victronenergy.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
After abuses of fdo infrastructure were mitigated in freedesktop/freedesktop#540, contributors cannot usually run pipelines in their own forks of dbus-python. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 16, 2023
-
-
Simon McVittie authored
Criteria for inclusion: they're in Debian, and they seem to be actively maintained (which rules out pydbus). No endorsement intended: GDBus via PyGI is the only one of these that I have actually tried. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add support for arg0namespace in add_signal_receiver See merge request !27
-
Signed-off-by:
Jeroen Hofstee <jhofstee@victronenergy.com>
-
Match messages whose first argument is a string and start with the value given to arg0namespace. This is primarily intended for watching name owner changes for a group of related bus names, rather than for a single name or all name changes. Signed-off-by:
Jeroen Hofstee <jhofstee@victronenergy.com>
-
Simon McVittie authored
python3.10 was removed from Debian bookworm before it was released as Debian 12. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-