Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.pyswitchbot 0 -> 1
attrpath: python3Packages.pyswitchbot
Checking auto update branch...
[version]
[version] skipping because derivation has updateScript
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/7nhg3yxhjxca5wv1j7lxhvp8dkdzj11v-packages.json.drv
building '/nix/store/7nhg3yxhjxca5wv1j7lxhvp8dkdzj11v-packages.json.drv'...
structuredAttrs is enabled
Going to be running update for following packages:
- python3.14-pyswitchbot-2.10.0
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- python3.14-pyswitchbot-2.10.0: UPDATING ...
- python3.14-pyswitchbot-2.10.0: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix
index 025f7071cd48..6331ec72a8bf 100644
--- a/pkgs/development/python-modules/pyswitchbot/default.nix
+++ b/pkgs/development/python-modules/pyswitchbot/default.nix
@@ -15,14 +15,14 @@
buildPythonPackage (finalAttrs: {
pname = "pyswitchbot";
- version = "2.10.0";
+ version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pySwitchbot";
tag = finalAttrs.version;
- hash = "sha256-mDwzFwh5H2u+FAAdzzCylLxTxhgC1iFADxZqaAziIqs=";
+ hash = "sha256-CpSdniWAtyXO03Ti7/Z3cwA1XVN1lfk4mbmjlAvzeMQ=";
};
build-system = [ poetry-core ];
No auto update branch exists
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `6bd56928a38d265f800428c2875840bc3da60a05`
---
### `x86_64-linux`
:white_check_mark: 6 packages built:
- python313Packages.pyswitchbot
- python314Packages.pyswitchbot
- tests.home-assistant-components.mopeka
- tests.home-assistant-components.switchbot
- tests.home-assistant-components.shelly
- tests.home-assistant-components.bluetooth
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for python3Packages.pyswitchbot is: Python library to control Switchbot IoT devices
meta.homepage for python3Packages.pyswitchbot is: https://github.com/Danielhiversen/pySwitchbot
meta.changelog for python3Packages.pyswitchbot is: https://github.com/Danielhiversen/pySwitchbot/releases/tag/3.1.0
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 3.1.0 with grep in /nix/store/rq4y50nr0adsjgfk01raw3rdzv4wgrp4-python3.14-pyswitchbot-3.1.0
- found 3.1.0 in filename of file in /nix/store/rq4y50nr0adsjgfk01raw3rdzv4wgrp4-python3.14-pyswitchbot-3.1.0
---
Rebuild report (if merged into master) (click to expand)
```
11 total rebuild path(s)
7 package rebuild(s)
First fifty rebuilds by attrpath
python313Packages.pyswitchbot
python314Packages.pyswitchbot
tests.home-assistant-components.bluetooth
tests.home-assistant-components.mopeka
tests.home-assistant-components.shelly
tests.home-assistant-components.switchbot
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/rq4y50nr0adsjgfk01raw3rdzv4wgrp4-python3.14-pyswitchbot-3.1.0 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A python3Packages.pyswitchbot https://github.com/r-ryantm/nixpkgs/archive/6bd56928a38d265f800428c2875840bc3da60a05.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/6bd56928a38d265f800428c2875840bc3da60a05#python3Packages.pyswitchbot
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/rq4y50nr0adsjgfk01raw3rdzv4wgrp4-python3.14-pyswitchbot-3.1.0
ls -la /nix/store/rq4y50nr0adsjgfk01raw3rdzv4wgrp4-python3.14-pyswitchbot-3.1.0/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `6bd56928a38d265f800428c2875840bc3da60a05`
---
### `x86_64-linux`
:white_check_mark: 6 packages built:
- python313Packages.pyswitchbot
- python314Packages.pyswitchbot
- tests.home-assistant-components.mopeka
- tests.home-assistant-components.switchbot
- tests.home-assistant-components.shelly
- tests.home-assistant-components.bluetooth
---
###### Maintainer pings
cc @fabaff for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/575184