Changelog |
* Sat Dec 23 2023 Packit <hello@packit.dev> - 0.30.1-1
Over the years, this template has accumulated some hacks and bad API
which made PairDevice()'s handling of the Modalias/Class/Icon properties
buggy and hard to understand:
* These are *static* device properties, they are not supposed to change
during pairing.
* Commit ee29a4403359b6a added these as some kind of "dynamic fallback
default" when they were not initialized by the caller after
AddDevice().
* Commit 59d6af0dca3e silently broke that fallback default by changing
AddDevice() to set these device properties to empty strings.
* Commit fae4be7f49c0861 added another really bad API for setting Class
in PairDevice()(). That API didn't fit into D-Bus (see commit
8968284e8b which had to make it a non-default parameter) and also
broke the API, and moreover it is totally unintuitive -- the device
class has nothing to do with pairing.
Clean up all of these: Set the static property defaults in AddDevice()
right away, so that the caller can adjust them afterwards. Re-drop the
`class_` argument in PairDevice(). Adjust the documentation of
AddDevice() to point out that properties should be changed after calling
that.
Consequently, PairDevice() will stop claiming that the static properties
changed. This also gets rid of some redundant code.
* Thu Nov 30 2023 Packit <hello@packit.dev> - 0.30.0-1
- api: Add pytest support and helpers
- api: Factor the server spawning into a new SpawnedMock object (thanks Peter Hutterer)
- doc: generate sphinx docs on https://martinpitt.github.io/python-dbusmock/ (thanks Peter Hutterer)
- cli: Add support for running custom commands on the mock environment (thanks Marco Trevisan)
* Thu Jul 27 2023 Packit <hello@packit.dev> - 0.29.1-1
- spec: Update License: to SPDX format
- Test fixes (thanks Marco Trevisan)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.29.0-2
- Rebuilt for Python 3.12
* Thu Apr 20 2023 Packit <hello@packit.dev> - 0.29.0-1
- Support loading templates from XDG_DATA_DIRS
- iio-sensors-proxy: Throw proper D-Bus errors instead of Python Exception
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 05 2023 Packit <hello@packit.dev> - 0.28.7-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
- blue5-obex template: Fix OBEX PullAll (thanks Jan Alexander Steffens)
- power_profiles template: Fix Actions property type (thanks Jonas Ådahl)
- README: Explain container tests and how to debug them
-->
<ul>
<li>blue5-obex template: Fix OBEX PullAll (thanks Jan Alexander Steffens)</li>
<li>power_profiles template: Fix Actions property type (thanks Jonas Ådahl)</li>
<li>README: Explain container tests and how to debug them</li>
</ul>
* Wed Oct 12 2022 Packit <hello@packit.dev> - 0.28.6-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
- Fix generated _version.py in release tarball (#164)
-->
<ul>
<li>Fix generated _version.py in release tarball (#164)</li>
</ul>
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jul 19 2022 Packit <hello@packit.dev> - 0.28.4-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
- setup.py: Fix ModuleNotFoundError
- ofono template: Fix conversion to f-strings (Debian #1015286)
- Ship FMF tests in release tarballs
-->
<ul>
<li>setup.py: Fix ModuleNotFoundError</li>
<li>ofono template: Fix conversion to f-strings (Debian #1015286)</li>
<li>Ship FMF tests in release tarballs</li>
</ul>
* Sun Jul 17 2022 Packit <hello@packit.dev> - 0.28.3-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
- Bring back dbusmock.__version__
-->
<ul>
<li>Bring back dbusmock.<strong>version</strong>
</li>
</ul>
* Sat Jul 16 2022 Packit <hello@packit.dev> - 0.28.2-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
- Dynamically compute version with setuptools-scm
- tests: Adjust to libnotify 0.8 (Debian #1015068)
- tests: Only run pylint on current Fedora release
-->
<ul>
<li>Dynamically compute version with setuptools-scm</li>
<li>tests: Adjust to libnotify 0.8 (Debian #1015068)</li>
<li>tests: Only run pylint on current Fedora release</li>
</ul>
* Tue Jun 28 2022 Packit <hello@packit.dev> - 0.28.1-1
- Again works on RHEL/CentOS 8 (0.27 broke there), now in CI
- Avoid glib GI dependency for main dbusmock, for running in virtualenv (thanks Allison Karlitskaya)
* Sun Jun 19 2022 Packit <hello@packit.dev> - 0.28.0-1
- Drop unmaintained and broken accountsservice template
- testcase: Throw an error when spawning a well-known name that exists (thanks Benjamin Berg)
- mockobject: Allow sending signals with extra details (thanks Peter Hutterer)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.27.5-2
- Rebuilt for Python 3.11
* Tue Apr 05 2022 Packit <hello@packit.dev> - 0.27.5-1
- bluez and accountsservice templates: Drop default arguments from D-Bus methods (thanks Simon McVittie)
* Mon Apr 04 2022 Packit <hello@packit.dev> - 0.27.4-1
- Fix D-Bus signature detection regression from 0.27.0 (thanks Peter Hutterer) (#118)
* Tue Mar 22 2022 Packit Service <user-cont-team+packit-service@redhat.com> - 0.27.3-1
- packit: Fix file name to sync
* Tue Mar 22 2022 Packit Service <user-cont-team+packit-service@redhat.com> - 0.27.0-1
- Do not register standard session service directories, add API to enable selected services (thanks Benjamin Berg)
- Log static method calls from templates (thanks Peter Hutterer)
* Fri Feb 25 2022 Packit Service <user-cont-team+packit-service@redhat.com> - 0.26.1-1
- Fix README content type to Markdown, to fix releasing to PyPi
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Dec 25 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.25.0-1
- bluez template: Implement adapter discovery, connect, disconnect, and removal
(thanks Bastien Nocera)
- Fix changing array properties (thanks Jonas Ådahl)
- Fix CLI upower tests (thanks Marco Trevisan)
- Add testing and Fedora updating through packit
|