diff --git a/pkgs/development/python-modules/aiocoap/default.nix b/pkgs/development/python-modules/aiocoap/default.nix index 109627e26ce2..2e7cec7569dc 100644 --- a/pkgs/development/python-modules/aiocoap/default.nix +++ b/pkgs/development/python-modules/aiocoap/default.nix @@ -19,16 +19,16 @@ buildPythonPackage rec { pname = "aiocoap"; - version = "0.4.12"; + version = "0.4.14"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "chrysn"; repo = "aiocoap"; tag = version; - hash = "sha256-yy9TsNTdk7kfLilXsjDCVAe1C3O70P09It71zU26PKo="; + hash = "sha256-v0OzRWHlGaBKqqcIyAlVafd/siXVwaTAZqw+Sstju3s="; }; build-system = [ setuptools ]; @@ -59,29 +59,14 @@ buildPythonPackage rec { "tests/test_oscore_plugtest.py" ]; - disabledTests = - [ - # Communication is not properly mocked - "test_uri_parser" - # Doctest - "test_001" - ] - ++ lib.optionals (pythonAtLeast "3.12") [ - # https://github.com/chrysn/aiocoap/issues/339 - "TestServerTCP::test_big_resource" - "TestServerTCP::test_empty_accept" - "TestServerTCP::test_error_resources" - "TestServerTCP::test_fast_resource" - "TestServerTCP::test_js_accept" - "TestServerTCP::test_manualbig_resource" - "TestServerTCP::test_nonexisting_resource" - "TestServerTCP::test_replacing_resource" - "TestServerTCP::test_root_resource" - "TestServerTCP::test_slow_resource" - "TestServerTCP::test_slowbig_resource" - "TestServerTCP::test_spurious_resource" - "TestServerTCP::test_unacceptable_accept" - ]; + disabledTests = [ + # Communication is not properly mocked + "test_uri_parser" + # Doctest + "test_001" + # CLI test + "test_help" + ]; pythonImportsCheck = [ "aiocoap" ]; @@ -89,7 +74,7 @@ buildPythonPackage rec { description = "Python CoAP library"; homepage = "https://aiocoap.readthedocs.io/"; changelog = "https://github.com/chrysn/aiocoap/blob/${version}/NEWS"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }