diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-03-04 12:10:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 12:10:21 +0100 |
commit | 8855e303c5fa6180140e43f1a454f8b6bcb5bbdc (patch) | |
tree | 20e640e6d3cdf7910b683aeb493142fb712fbcba | |
parent | 59c18ec8243dfed2905f21e75d3213687566c6c5 (diff) | |
parent | a3d6d16b9321715691d2550f33dc63224b3621ac (diff) | |
download | nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.tar nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.tar.gz nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.tar.bz2 nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.tar.lz nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.tar.xz nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.tar.zst nixlib-8855e303c5fa6180140e43f1a454f8b6bcb5bbdc.zip |
Merge pull request #293188 from fabaff/solax-bump
python311Packages.solax: 0.3.2 -> 0.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 ]; }; |