2022-11-25T11:59:37 esphome 2022.10.2 -> 2022.11.3 https://repology.org/metapackage/esphome/versions 2022-11-25T11:59:39 attrpath: esphome 2022-11-25T11:59:39 Checking auto update branch... 2022-11-25T11:59:43 [version] 2022-11-25T11:59:43 [version] skipping because derivation has updateScript 2022-11-25T11:59:43 [rustCrateVersion] 2022-11-25T11:59:43 [rustCrateVersion] No cargoSha256 found 2022-11-25T11:59:43 [golangModuleVersion] 2022-11-25T11:59:43 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-25T11:59:43 [updateScript] 2022-11-25T11:59:50 [updateScript] Success 2022-11-25T11:59:50 [updateScript] these 2 derivations will be built: /nix/store/j81yy0avxpc5xx965g1gls1z997kh9p4-update-esphome.drv /nix/store/5k6yq4b1lc1a9y5d4vsmw5jwgdgk0ayj-packages.json.drv building '/nix/store/j81yy0avxpc5xx965g1gls1z997kh9p4-update-esphome.drv'... building '/nix/store/5k6yq4b1lc1a9y5d4vsmw5jwgdgk0ayj-packages.json.drv'... Going to be running update for following packages: - esphome-2022.10.2 Press Enter key to continue... Running update for: - esphome-2022.10.2: UPDATING ... - esphome-2022.10.2: DONE. Packages updated! 2022-11-25T11:59:50 2022-11-25T11:59:50 [quotedUrls] 2022-11-25T11:59:50 [quotedUrls] nothing found to replace 2022-11-25T11:59:51 Diff after rewrites: diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix index fe7cafad10c..a68ca895ec1 100644 --- a/pkgs/tools/misc/esphome/dashboard.nix +++ b/pkgs/tools/misc/esphome/dashboard.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "esphome-dashboard"; - version = "20221020.0"; + version = "20221109.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-K65eeiGchdzxx5MIR+QhUd0PzQTQBwNX4P8dqTOM1MY="; + hash = "sha256-9LL/tO40Mr4PGojj50m4UIPoqImnDRNoVPqr8xXs6KU="; }; # no tests diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 4a81fc510df..a214a210d78 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -15,14 +15,14 @@ let in with python.pkgs; buildPythonApplication rec { pname = "esphome"; - version = "2022.10.2"; + version = "2022.11.3"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-f6t5Q9jK6ovcIFVw1hYyhtiy/iDaq7cmfn5ywAeEaT8="; + hash = "sha256-Qu8QjItfFzB5uCdvmyYrsq9FRmI0S7/xH2LX1dKM28c="; }; postPatch = '' 2022-11-25T12:01:20 An auto update branch exists with message `esphome: 2022.10.2 -> 2022.11.1`. New version is 2022.11.3. 2022-11-25T12:01:20 The auto update branch does not match or exceed the new version. 2022-11-25T12:01:46 Successfully finished processing 2022-11-25T12:01:46 cachix "/nix/store/bsz3zay6s6wiv2ffr4xy35gyx122c0l9-esphome-2022.11.3" 2022-11-25T12:01:50 [check][nixpkgs-review] 2022-11-25T12:04:43 Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
2022-11-25T12:04:46 Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript. meta.description for esphome is: "Make creating custom firmwares for ESP32/ESP8266 super easy" meta.homepage for esphome is: "https://esphome.io/" meta.changelog for esphome is: "" ###### Updates performed - Ran passthru.UpdateScript ###### To inspect upstream changes ###### Impact
Checks done (click to expand) --- - built on NixOS - The tests defined in `passthru.tests`, if any, passed - found 2022.11.3 with grep in /nix/store/bsz3zay6s6wiv2ffr4xy35gyx122c0l9-esphome-2022.11.3 - found 2022.11.3 in filename of file in /nix/store/bsz3zay6s6wiv2ffr4xy35gyx122c0l9-esphome-2022.11.3 ---
Rebuild report (if merged into master) (click to expand) ``` 1 total rebuild path(s) 1 package rebuild(s) First fifty rebuilds by attrpath esphome ```
Instructions to test this update (click to expand) --- Either **download from Cachix**: ``` nix-store -r /nix/store/bsz3zay6s6wiv2ffr4xy35gyx122c0l9-esphome-2022.11.3 \ --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \ --option trusted-public-keys ' nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The Cachix cache is only trusted for this store-path realization.) For the Cachix 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 esphome https://github.com/r-ryantm/nixpkgs/archive/0763a648371bb9084e6900a9ac324d455f4a8c05.tar.gz ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/bsz3zay6s6wiv2ffr4xy35gyx122c0l9-esphome-2022.11.3 ls -la /nix/store/bsz3zay6s6wiv2ffr4xy35gyx122c0l9-esphome-2022.11.3/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. Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
--- ###### Maintainer pings cc @globin @mweinelt for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). 2022-11-25T12:04:49 Updated existing PR 2022-11-25T12:04:49 https://api.github.com/repos/NixOS/nixpkgs/pulls/200382 2022-11-25T15:23:27 esphome 2022.6.0 -> 2022.11.3 https://pypi.org/project/esphome/ 2022-11-25T15:23:29 attrpath: esphome 2022-11-25T15:23:29 Checking auto update branch... 2022-11-25T15:23:32 [version] 2022-11-25T15:23:32 [version] skipping because derivation has updateScript 2022-11-25T15:23:32 [rustCrateVersion] 2022-11-25T15:23:32 [rustCrateVersion] No cargoSha256 found 2022-11-25T15:23:32 [golangModuleVersion] 2022-11-25T15:23:32 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-25T15:23:32 [updateScript] 2022-11-25T15:23:40 [updateScript] Success 2022-11-25T15:23:40 [updateScript] Going to be running update for following packages: - esphome-2022.10.2 Press Enter key to continue... Running update for: - esphome-2022.10.2: UPDATING ... - esphome-2022.10.2: DONE. Packages updated! 2022-11-25T15:23:40 2022-11-25T15:23:40 [quotedUrls] 2022-11-25T15:23:40 [quotedUrls] nothing found to replace 2022-11-25T15:23:40 Diff after rewrites: diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix index fe7cafad10c..a68ca895ec1 100644 --- a/pkgs/tools/misc/esphome/dashboard.nix +++ b/pkgs/tools/misc/esphome/dashboard.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "esphome-dashboard"; - version = "20221020.0"; + version = "20221109.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-K65eeiGchdzxx5MIR+QhUd0PzQTQBwNX4P8dqTOM1MY="; + hash = "sha256-9LL/tO40Mr4PGojj50m4UIPoqImnDRNoVPqr8xXs6KU="; }; # no tests diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 4a81fc510df..a214a210d78 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -15,14 +15,14 @@ let in with python.pkgs; buildPythonApplication rec { pname = "esphome"; - version = "2022.10.2"; + version = "2022.11.3"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-f6t5Q9jK6ovcIFVw1hYyhtiy/iDaq7cmfn5ywAeEaT8="; + hash = "sha256-Qu8QjItfFzB5uCdvmyYrsq9FRmI0S7/xH2LX1dKM28c="; }; postPatch = '' 2022-11-25T15:25:08 An auto update branch exists with message `esphome: 2022.10.2 -> 2022.11.3`. New version is 2022.11.3. 2022-11-25T15:25:08 An auto update branch exists with an equal or greater version 2022-11-25T18:06:03 esphome 0 -> 1 2022-11-25T18:06:06 attrpath: esphome 2022-11-25T18:06:06 Checking auto update branch... 2022-11-25T18:06:09 [version] 2022-11-25T18:06:09 [version] skipping because derivation has updateScript 2022-11-25T18:06:09 [rustCrateVersion] 2022-11-25T18:06:09 [rustCrateVersion] No cargoSha256 found 2022-11-25T18:06:09 [golangModuleVersion] 2022-11-25T18:06:09 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-25T18:06:09 [updateScript] 2022-11-25T18:06:16 [updateScript] Success 2022-11-25T18:06:16 [updateScript] Going to be running update for following packages: - esphome-2022.10.2 Press Enter key to continue... Running update for: - esphome-2022.10.2: UPDATING ... - esphome-2022.10.2: DONE. Packages updated! 2022-11-25T18:06:16 2022-11-25T18:06:16 [quotedUrls] 2022-11-25T18:06:17 [quotedUrls] nothing found to replace 2022-11-25T18:06:17 Diff after rewrites: diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix index fe7cafad10c..a68ca895ec1 100644 --- a/pkgs/tools/misc/esphome/dashboard.nix +++ b/pkgs/tools/misc/esphome/dashboard.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "esphome-dashboard"; - version = "20221020.0"; + version = "20221109.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-K65eeiGchdzxx5MIR+QhUd0PzQTQBwNX4P8dqTOM1MY="; + hash = "sha256-9LL/tO40Mr4PGojj50m4UIPoqImnDRNoVPqr8xXs6KU="; }; # no tests diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 4a81fc510df..a214a210d78 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -15,14 +15,14 @@ let in with python.pkgs; buildPythonApplication rec { pname = "esphome"; - version = "2022.10.2"; + version = "2022.11.3"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-f6t5Q9jK6ovcIFVw1hYyhtiy/iDaq7cmfn5ywAeEaT8="; + hash = "sha256-Qu8QjItfFzB5uCdvmyYrsq9FRmI0S7/xH2LX1dKM28c="; }; postPatch = '' 2022-11-25T18:07:45 Old version 2022.10.2" not present in master derivation file with contents: { lib , python3 , fetchFromGitHub , platformio , esptool , git }: let python = python3.override { packageOverrides = self: super: { esphome-dashboard = self.callPackage ./dashboard.nix {}; }; }; in with python.pkgs; buildPythonApplication rec { pname = "esphome"; version = "2022.11.3"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-Qu8QjItfFzB5uCdvmyYrsq9FRmI0S7/xH2LX1dKM28c="; }; postPatch = '' # remove all version pinning (E.g tornado==5.1.1 -> tornado) sed -i -e "s/==[0-9.]*//" requirements.txt # drop coverage testing sed -i '/--cov/d' pytest.ini ''; # Remove esptool and platformio from requirements ESPHOME_USE_SUBPROCESS = ""; # esphome has optional dependencies it does not declare, they are # loaded when certain config blocks are used, like `font`, `image` # or `animation`. # They have validation functions like: # - validate_cryptography_installed # - validate_pillow_installed propagatedBuildInputs = [ aioesphomeapi click colorama cryptography esphome-dashboard ifaddr kconfiglib paho-mqtt pillow protobuf pyserial pyyaml requests tornado tzdata tzlocal voluptuous ]; makeWrapperArgs = [ # platformio is used in esphomeyaml/platformio_api.py # esptool is used in esphomeyaml/__main__.py # git is used in esphomeyaml/writer.py "--prefix PATH : ${lib.makeBinPath [ platformio esptool git ]}" "--set ESPHOME_USE_SUBPROCESS ''" ]; checkInputs = [ hypothesis mock pytest-asyncio pytest-mock pytest-sugar pytestCheckHook ]; disabledTestPaths = [ # requires hypothesis 5.49, we have 6.x # ImportError: cannot import name 'ip_addresses' from 'hypothesis.provisional' "tests/unit_tests/test_core.py" "tests/unit_tests/test_helpers.py" ]; postCheck = '' $out/bin/esphome --help > /dev/null ''; passthru = { dashboard = esphome-dashboard; updateScript = callPackage ./update.nix {}; }; meta = with lib; { description = "Make creating custom firmwares for ESP32/ESP8266 super easy"; homepage = "https://esphome.io/"; license = with licenses; [ mit # The C++/runtime codebase of the ESPHome project (file extensions .c, .cpp, .h, .hpp, .tcc, .ino) gpl3Only # The python codebase and all other parts of this codebase ]; maintainers = with maintainers; [ globin hexa ]; }; }