python313Packages.esphome-glyphsets: init at 0.1.0; python313Packages.aioesphomeapi: 29.0.0 -> 29.1.0 (#382997)

This commit is contained in:
Martin Weinelt 2025-02-18 03:19:39 +01:00 committed by GitHub
commit 26af3797d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 41 additions and 9 deletions

View File

@ -26,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioesphomeapi"; pname = "aioesphomeapi";
version = "29.0.0"; version = "29.1.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "esphome"; owner = "esphome";
repo = "aioesphomeapi"; repo = "aioesphomeapi";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-1H6+/V87mjkBvHwPTs3sgrqY24Gc/MCKb97r2ly6oTA="; hash = "sha256-/4/FNb6lGlitsAzO0OadWqP02Wx+mnlrA6yzXFm72sg=";
}; };
build-system = [ build-system = [
@ -62,17 +62,13 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# https://github.com/esphome/aioesphomeapi/issues/837 # https://github.com/esphome/aioesphomeapi/pull/1081
"test_reconnect_logic_stop_callback" "test_request_while_handshaking"
# python3.12.4 regression
# https://github.com/esphome/aioesphomeapi/issues/889
"test_start_connection_cannot_increase_recv_buffer"
"test_start_connection_can_only_increase_buffer_size_to_262144"
]; ];
disabledTestPaths = [ disabledTestPaths = [
# benchmarking requires pytest-codespeed # benchmarking requires pytest-codespeed
"tests/test_bluetooth_benchmarks.py" "tests/benchmarks"
]; ];
pythonImportsCheck = [ "aioesphomeapi" ]; pythonImportsCheck = [ "aioesphomeapi" ];

View File

@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "esphome-glyphsets";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "esphome";
repo = "esphome-glyphsets";
tag = "v${version}";
hash = "sha256-kST2AsZRWZrVmInUNN153+FOXa/t9vbHN3hAReKQJaU=";
fetchSubmodules = true;
};
build-system = [ setuptools ];
pythonImportsCheck = [
"esphome_glyphsets"
];
meta = {
description = "A lightweight version of glyphsets for ESPHome";
homepage = "https://github.com/esphome/esphome-glyphsets";
changelog = "https://github.com/esphome/esphome-glyphsets/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
}

View File

@ -4275,6 +4275,8 @@ self: super: with self; {
esphome-dashboard-api = callPackage ../development/python-modules/esphome-dashboard-api { }; esphome-dashboard-api = callPackage ../development/python-modules/esphome-dashboard-api { };
esphome-glyphsets = callPackage ../development/python-modules/esphome-glyphsets { };
esprima = callPackage ../development/python-modules/esprima { }; esprima = callPackage ../development/python-modules/esprima { };
escapism = callPackage ../development/python-modules/escapism { }; escapism = callPackage ../development/python-modules/escapism { };