2022-12-16T00:15:05 esphome 2022.11.4 -> 2022.12.0 https://github.com/esphome/esphome/releases
2022-12-16T00:15:07 attrpath: esphome
2022-12-16T00:15:07 Checking auto update branch...
2022-12-16T00:15:10 [version]
2022-12-16T00:15:10 [version] skipping because derivation has updateScript
2022-12-16T00:15:10 [rustCrateVersion]
2022-12-16T00:15:10 [rustCrateVersion] No cargoSha256 found
2022-12-16T00:15:10 [golangModuleVersion]
2022-12-16T00:15:10 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-12-16T00:15:10 [updateScript]
2022-12-16T00:15:17 [updateScript] Success
2022-12-16T00:15:17 [updateScript] these 2 derivations will be built:
/nix/store/jv7ikr0aq0m6j2v13n3898z6cakypqmr-update-esphome.drv
/nix/store/kw9zlyhiyyd87habd79arqp5n0ips9ky-packages.json.drv
building '/nix/store/jv7ikr0aq0m6j2v13n3898z6cakypqmr-update-esphome.drv'...
building '/nix/store/kw9zlyhiyyd87habd79arqp5n0ips9ky-packages.json.drv'...
Going to be running update for following packages:
- esphome-2022.11.4
Press Enter key to continue...
Running update for:
- esphome-2022.11.4: UPDATING ...
- esphome-2022.11.4: DONE.
Packages updated!
2022-12-16T00:15:17
2022-12-16T00:15:17 [quotedUrls]
2022-12-16T00:15:17 [quotedUrls] nothing found to replace
2022-12-16T00:15:17 Diff after rewrites:
diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix
index a68ca895ec1..04abea26cab 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 = "20221109.0";
+ version = "20221213.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
- hash = "sha256-9LL/tO40Mr4PGojj50m4UIPoqImnDRNoVPqr8xXs6KU=";
+ hash = "sha256-LwP+LBHzEWjPUih6aaZnI7Yh85vsa1Md1YgBWkLOUIs=";
};
# no tests
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix
index 94f2ec3ed40..71e82e03130 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.11.4";
+ version = "2022.12.0";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
- hash = "sha256-sQ6uKAsXNQ1mZYvrJpUcS4bYAGg1pzqp0KB2ceePbqY=";
+ hash = "sha256-ZFu9txZTdCOhDpsjz7cjmWkY+Fdd07masd0YA/tRS80=";
};
postPatch = ''
2022-12-16T00:16:43 Old version 2022.11.4" not present in master derivation file with contents: { lib
, python3
, fetchFromGitHub
, platformio
, esptool_3
, git
}:
let
python = python3.override {
packageOverrides = self: super: {
esphome-dashboard = self.callPackage ./dashboard.nix {};
};
};
in
with python.pkgs; buildPythonApplication rec {
pname = "esphome";
version = "2022.12.0";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ZFu9txZTdCOhDpsjz7cjmWkY+Fdd07masd0YA/tRS80=";
};
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_3 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 ];
};
}
2022-12-16T02:36:49 esphome 2022.6.0 -> 2022.12.0 https://pypi.org/project/esphome/
2022-12-16T02:36:52 attrpath: esphome
2022-12-16T02:36:52 Checking auto update branch...
2022-12-16T02:36:55 [version]
2022-12-16T02:36:55 [version] skipping because derivation has updateScript
2022-12-16T02:36:55 [rustCrateVersion]
2022-12-16T02:36:55 [rustCrateVersion] No cargoSha256 found
2022-12-16T02:36:55 [golangModuleVersion]
2022-12-16T02:36:55 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-12-16T02:36:55 [updateScript]
2022-12-16T02:37:01 [updateScript] Success
2022-12-16T02:37:01 [updateScript]
Going to be running update for following packages:
- esphome-2022.11.4
Press Enter key to continue...
Running update for:
- esphome-2022.11.4: UPDATING ...
- esphome-2022.11.4: DONE.
Packages updated!
2022-12-16T02:37:01
2022-12-16T02:37:01 [quotedUrls]
2022-12-16T02:37:01 [quotedUrls] nothing found to replace
2022-12-16T02:37:01 Diff after rewrites:
diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix
index a68ca895ec1..04abea26cab 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 = "20221109.0";
+ version = "20221213.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
- hash = "sha256-9LL/tO40Mr4PGojj50m4UIPoqImnDRNoVPqr8xXs6KU=";
+ hash = "sha256-LwP+LBHzEWjPUih6aaZnI7Yh85vsa1Md1YgBWkLOUIs=";
};
# no tests
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix
index 94f2ec3ed40..7f3ba8ea31a 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.11.4";
+ version = "2022.12.1";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
- hash = "sha256-sQ6uKAsXNQ1mZYvrJpUcS4bYAGg1pzqp0KB2ceePbqY=";
+ hash = "sha256-gDAwZhfkXMqU4dbowpPhNl52Kg3Kx9lgBNzhzkQPrN0=";
};
postPatch = ''
2022-12-16T02:38:27 Old version 2022.11.4" not present in master derivation file with contents: { lib
, python3
, fetchFromGitHub
, platformio
, esptool_3
, git
}:
let
python = python3.override {
packageOverrides = self: super: {
esphome-dashboard = self.callPackage ./dashboard.nix {};
};
};
in
with python.pkgs; buildPythonApplication rec {
pname = "esphome";
version = "2022.12.0";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ZFu9txZTdCOhDpsjz7cjmWkY+Fdd07masd0YA/tRS80=";
};
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_3 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 ];
};
}
2022-12-16T14:22:46 esphome 2022.11.4 -> 2022.12.0 https://repology.org/metapackage/esphome/versions
2022-12-16T14:22:48 attrpath: esphome
2022-12-16T14:22:48 Checking auto update branch...
2022-12-16T14:22:52 [version]
2022-12-16T14:22:52 [version] skipping because derivation has updateScript
2022-12-16T14:22:52 [rustCrateVersion]
2022-12-16T14:22:52 [rustCrateVersion] No cargoSha256 found
2022-12-16T14:22:52 [golangModuleVersion]
2022-12-16T14:22:52 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-12-16T14:22:52 [updateScript]
2022-12-16T14:22:56 [updateScript] Success
2022-12-16T14:22:56 [updateScript] these 2 derivations will be built:
/nix/store/rp669nq99slbdcbjj1kkmqnxnaa63vb7-update-esphome.drv
/nix/store/a7rwplp0ycv4nk2v15560zcq34p2l9i2-packages.json.drv
building '/nix/store/rp669nq99slbdcbjj1kkmqnxnaa63vb7-update-esphome.drv'...
building '/nix/store/a7rwplp0ycv4nk2v15560zcq34p2l9i2-packages.json.drv'...
Going to be running update for following packages:
- esphome-2022.12.0
Press Enter key to continue...
Running update for:
- esphome-2022.12.0: UPDATING ...
- esphome-2022.12.0: DONE.
Packages updated!
2022-12-16T14:22:56
2022-12-16T14:22:56 [quotedUrls]
2022-12-16T14:22:56 [quotedUrls] nothing found to replace
2022-12-16T14:22:56 Diff after rewrites:
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix
index 71e82e03130..7f3ba8ea31a 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.12.0";
+ version = "2022.12.1";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
- hash = "sha256-ZFu9txZTdCOhDpsjz7cjmWkY+Fdd07masd0YA/tRS80=";
+ hash = "sha256-gDAwZhfkXMqU4dbowpPhNl52Kg3Kx9lgBNzhzkQPrN0=";
};
postPatch = ''
2022-12-16T14:24:23 An auto update branch exists with message `esphome: 2022.11.4 -> 2022.12.0b4`. New version is 2022.12.1.
2022-12-16T14:24:23 The auto update branch does not match or exceed the new version.
2022-12-16T14:24:46 Successfully finished processing
2022-12-16T14:24:46 cachix "/nix/store/hg56a1kv6b3slv2vzndrs9r10gsy3q83-esphome-2022.12.1"
2022-12-16T14:24:51 [check][nixpkgs-review]
2022-12-16T14:27:40 Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
2022-12-16T14:27:43 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.12.1 with grep in /nix/store/hg56a1kv6b3slv2vzndrs9r10gsy3q83-esphome-2022.12.1
- found 2022.12.1 in filename of file in /nix/store/hg56a1kv6b3slv2vzndrs9r10gsy3q83-esphome-2022.12.1
---
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/hg56a1kv6b3slv2vzndrs9r10gsy3q83-esphome-2022.12.1 \
--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/6dc49aaf88603d5bf8b388ce2cfdbff808fa3971.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/hg56a1kv6b3slv2vzndrs9r10gsy3q83-esphome-2022.12.1
ls -la /nix/store/hg56a1kv6b3slv2vzndrs9r10gsy3q83-esphome-2022.12.1/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-12-16T14:27:45 Updated existing PR
2022-12-16T14:27:45 https://api.github.com/repos/NixOS/nixpkgs/pulls/205151
2022-12-16T18:31:16 esphome 0 -> 1
2022-12-16T18:31:18 attrpath: esphome
2022-12-16T18:31:18 Checking auto update branch...
2022-12-16T18:31:22 [version]
2022-12-16T18:31:22 [version] skipping because derivation has updateScript
2022-12-16T18:31:22 [rustCrateVersion]
2022-12-16T18:31:22 [rustCrateVersion] No cargoSha256 found
2022-12-16T18:31:22 [golangModuleVersion]
2022-12-16T18:31:22 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-12-16T18:31:22 [updateScript]
2022-12-16T18:31:27 [updateScript] Success
2022-12-16T18:31:27 [updateScript]
Going to be running update for following packages:
- esphome-2022.12.0
Press Enter key to continue...
Running update for:
- esphome-2022.12.0: UPDATING ...
- esphome-2022.12.0: DONE.
Packages updated!
2022-12-16T18:31:27
2022-12-16T18:31:27 [quotedUrls]
2022-12-16T18:31:27 [quotedUrls] nothing found to replace
2022-12-16T18:31:27 Diff after rewrites:
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix
index 71e82e03130..7f3ba8ea31a 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.12.0";
+ version = "2022.12.1";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
- hash = "sha256-ZFu9txZTdCOhDpsjz7cjmWkY+Fdd07masd0YA/tRS80=";
+ hash = "sha256-gDAwZhfkXMqU4dbowpPhNl52Kg3Kx9lgBNzhzkQPrN0=";
};
postPatch = ''
2022-12-16T18:32:57 Old version 2022.12.0" not present in master derivation file with contents: { lib
, python3
, fetchFromGitHub
, platformio
, esptool_3
, git
}:
let
python = python3.override {
packageOverrides = self: super: {
esphome-dashboard = self.callPackage ./dashboard.nix {};
};
};
in
with python.pkgs; buildPythonApplication rec {
pname = "esphome";
version = "2022.12.1";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-gDAwZhfkXMqU4dbowpPhNl52Kg3Kx9lgBNzhzkQPrN0=";
};
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_3 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 ];
};
}
2022-12-16T19:59:37 esphome 2022.6.0 -> 2022.12.1 https://pypi.org/project/esphome/
2022-12-16T19:59:39 attrpath: esphome
2022-12-16T19:59:40 Checking auto update branch...
2022-12-16T19:59:43 [version]
2022-12-16T19:59:43 [version] skipping because derivation has updateScript
2022-12-16T19:59:43 [rustCrateVersion]
2022-12-16T19:59:43 [rustCrateVersion] No cargoSha256 found
2022-12-16T19:59:43 [golangModuleVersion]
2022-12-16T19:59:43 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-12-16T19:59:43 [updateScript]
2022-12-16T19:59:45 [updateScript] Success
2022-12-16T19:59:45 [updateScript] these 2 derivations will be built:
/nix/store/m2n01ka4vqp150lp2jhlvkl4y8vaxri9-update-esphome.drv
/nix/store/i93x6d0l724hsdn1l3kql1vb83bqq5sy-packages.json.drv
building '/nix/store/m2n01ka4vqp150lp2jhlvkl4y8vaxri9-update-esphome.drv'...
building '/nix/store/i93x6d0l724hsdn1l3kql1vb83bqq5sy-packages.json.drv'...
Going to be running update for following packages:
- esphome-2022.12.1
Press Enter key to continue...
Running update for:
- esphome-2022.12.1: UPDATING ...
- esphome-2022.12.1: DONE.
Packages updated!
2022-12-16T19:59:45
2022-12-16T19:59:45 [quotedUrls]
2022-12-16T19:59:45 [quotedUrls] nothing found to replace
2022-12-16T19:59:45 The diff was empty after rewrites.