python313Packages.aiohttp-middlewares: disable failing tests (#446812)

This commit is contained in:
Fabian Affolter
2025-09-28 09:07:02 +00:00
committed by GitHub
@@ -7,7 +7,6 @@
poetry-core,
pytest-aiohttp,
pytestCheckHook,
pythonOlder,
yarl,
}:
@@ -16,8 +15,6 @@ buildPythonPackage rec {
version = "2.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "playpauseandstop";
repo = "aiohttp-middlewares";
@@ -46,10 +43,18 @@ buildPythonPackage rec {
pythonImportsCheck = [ "aiohttp_middlewares" ];
disabledTests = [
# TRests are outdated
"test_shield_middleware_funcitonal[DELETE-False]"
"test_shield_middleware_funcitonal[GET-False]"
"test_shield_middleware_funcitonal[POST-True]"
"test_shield_middleware_funcitonal[PUT-False]"
];
meta = with lib; {
description = "Collection of useful middlewares for aiohttp.web applications";
homepage = "https://github.com/playpauseandstop/aiohttp-middlewares";
changelog = "https://github.com/playpauseandstop/aiohttp-middlewares/blob/${version}/CHANGELOG.rst";
changelog = "https://github.com/playpauseandstop/aiohttp-middlewares/blob/${src.tag}/CHANGELOG.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};