python310Packages.easyenergy: 0.2.1 -> 0.2.2

This commit is contained in:
Fabian Affolter 2023-03-22 06:15:09 +01:00
parent 901f07fa50
commit 8d4f793fe9

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "easyenergy";
version = "0.2.1";
version = "0.2.2";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "klaasnicolaas";
repo = "python-easyenergy";
rev = "refs/tags/v${version}";
hash = "sha256-FjqkePMD55LWLwL6ZWzKwCI0tcYACPdRuci5fy6n02s=";
hash = "sha256-jo9Gn5ZPm9jSTB4m1yy779hqzby9abFFDSnKLxYqccg=";
};
postPatch = ''
@ -51,6 +51,20 @@ buildPythonPackage rec {
"easyenergy"
];
disabledTests = [
# Tests require network access
"test_json_request"
"test_internal_session"
"test_electricity_model_usage"
"test_electricity_model_return"
"test_electricity_none_data"
"test_no_electricity_data"
"test_gas_morning_model"
"test_gas_model"
"test_gas_none_data"
"test_no_gas_data"
];
meta = with lib; {
description = "Module for getting energy/gas prices from easyEnergy";
homepage = "https://github.com/klaasnicolaas/python-easyenergy";