Merge pull request #222439 from fabaff/easyenergy-bump

python310Packages.easyenergy: 0.2.1 -> 0.2.2
This commit is contained in:
Nick Cao 2023-03-22 16:02:14 +08:00 committed by GitHub
commit 3abc1e7893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";