diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-03-04 08:53:26 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-03-04 08:53:26 +0100 |
commit | a3d6d16b9321715691d2550f33dc63224b3621ac (patch) | |
tree | 520a0a1a24f3c3866c9f5e5fef389f7e1f8f4df2 | |
parent | bec1afdaeee3a0de9908ef08fd41e935aa077434 (diff) | |
download | nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.tar nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.tar.gz nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.tar.bz2 nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.tar.lz nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.tar.xz nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.tar.zst nixlib-a3d6d16b9321715691d2550f33dc63224b3621ac.zip |
python311Packages.solax: 0.3.2 -> 0.3.3
Changelog: https://github.com/squishykid/solax/releases/tag/v0.3.3
-rw-r--r-- | pkgs/development/python-modules/solax/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/solax/default.nix b/pkgs/development/python-modules/solax/default.nix index b66bac955ab1..ca835923901c 100644 --- a/pkgs/development/python-modules/solax/default.nix +++ b/pkgs/development/python-modules/solax/default.nix @@ -1,9 +1,9 @@ { lib , aiohttp +, async-timeout , buildPythonPackage , fetchPypi , pytest-asyncio -, pytest-cov , pytest-httpserver , pytestCheckHook , pythonOlder @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "solax"; - version = "0.3.2"; - format = "setuptools"; + version = "0.3.3"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-7UDTG8rw9XJd5LPqcAe2XyE7DQa96dBj9YOcgW+/aFc="; + hash = "sha256-+e0z65qMjj1vQ3BR6kmLs+S5CF5chSaQ3mHQPIo++bQ="; }; nativeBuildInputs = [ @@ -29,12 +29,12 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp + async-timeout voluptuous ]; nativeCheckInputs = [ pytest-asyncio - pytest-cov pytest-httpserver pytestCheckHook ]; @@ -43,9 +43,16 @@ buildPythonPackage rec { "solax" ]; + disabledTests = [ + # Tests require network access + "test_discovery" + "test_smoke" + ]; + meta = with lib; { description = "Python wrapper for the Solax Inverter API"; homepage = "https://github.com/squishykid/solax"; + changelog = "https://github.com/squishykid/solax/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; |