about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-04 08:53:26 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-04 08:53:26 +0100
commita3d6d16b9321715691d2550f33dc63224b3621ac (patch)
tree520a0a1a24f3c3866c9f5e5fef389f7e1f8f4df2
parentbec1afdaeee3a0de9908ef08fd41e935aa077434 (diff)
downloadnixlib-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.nix17
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 ];
   };