python313Packages.aiocoap: 0.4.12 -> 0.4.14

Changelog: https://github.com/chrysn/aiocoap/blob/0.4.14/NEWS

Changed files
+12 -27
pkgs
development
python-modules
aiocoap
+12 -27
pkgs/development/python-modules/aiocoap/default.nix
···
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 ];
···
"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" ];
···
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 ];
};
}