#82 Update f38 to upstream release 0.30.1
Merged 5 months ago by martinpitt. Opened 5 months ago by packit.
rpms/ packit/python-dbusmock 0.30.1-f38-update-propose_downstream  into  f38

file modified
+1
@@ -33,3 +33,4 @@ 

  /python-dbusmock-0.29.0.tar.gz

  /python-dbusmock-0.29.1.tar.gz

  /python-dbusmock-0.30.0.tar.gz

+ /python-dbusmock-0.30.1.tar.gz

file modified
+1 -1
@@ -1,3 +1,3 @@ 

  This repository is maintained by packit.

  https://packit.dev/

- The file was generated using packit 0.87.0.

+ The file was generated using packit 0.87.1.post1.dev11+gd1f7091b.

file modified
+1 -1
@@ -25,7 +25,7 @@ 

      - fedora-all

      - centos-stream-8-x86_64

      - centos-stream-9-x86_64

-   

+ 

    - job: tests

      trigger: pull_request

      targets:

file modified
+25 -1
@@ -1,7 +1,7 @@ 

  %global modname dbusmock

  

  Name:             python-%{modname}

- Version:          0.30.0

+ Version:          0.30.1

  Release:          1%{?dist}

  Summary:          Mock D-Bus objects

  
@@ -52,6 +52,30 @@ 

  %{python3_sitelib}/*%{modname}*

  

  %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)

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (python-dbusmock-0.30.0.tar.gz) = 280a8ebfe12a0f5b309d5b807547ed521c80c9899fdc89abaaee238621cf94d05f8413ab2908ca331f9d3ef1c610234dafbd912f8590f18c7d9cafe470beece6

+ SHA512 (python-dbusmock-0.30.1.tar.gz) = dfa27c94d71e132ef56615cc02f2f9733ca55366b5e88f023ddc594b39c2239b460389e4b53981493d627e8c117542fa5ec82f0f4ec407ed6e825e30f5d206ae

Upstream tag: 0.30.1
Upstream commit: 63264e18


If you need to do any change in this pull request, you can clone Packit's fork and push directly to the source branch of this PR (provided you have commit access to this repository):

git clone ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit/rpms/python-dbusmock.git
cd python-dbusmock
git checkout 0.30.1-f38-update-propose_downstream
git push origin 0.30.1-f38-update-propose_downstream

Alternatively, if you already have the package repository cloned, you can just fetch the Packit's fork:

cd python-dbusmock
git remote add packit ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit/rpms/python-dbusmock.git
git fetch packit refs/heads/0.30.1-f38-update-propose_downstream
git checkout 0.30.1-f38-update-propose_downstream
git push packit 0.30.1-f38-update-propose_downstream

If you have the koji_build job configured as well, make sure to configure the allowed_pr_authors and/or allowed_committers (see the docs) since by default, Packit reacts only to its own PRs.


Before pushing builds/updates, please remember to check the new version against the packaging guidelines.

For example, please:

  • check that the new sources only contain permissible content
  • check that the license of the new version has not changed
  • check for any API/ABI and other changes that may break dependent packages
  • check the autogenerated changelog

Logs and details of the syncing: Packit dashboard

Pull-Request has been merged by martinpitt

5 months ago