From b87e7a33aa9be0bc31b6e44a8bcda39b6e36b146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 2 Jan 2026 14:11:44 -0800 Subject: [PATCH] python314Packages.aiogram: fix build failure All the tests were failing with the following: > DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slate... --- pkgs/development/python-modules/aiogram/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/aiogram/default.nix b/pkgs/development/python-modules/aiogram/default.nix index 09db1d9520aa..df75ddcf2b0b 100644 --- a/pkgs/development/python-modules/aiogram/default.nix +++ b/pkgs/development/python-modules/aiogram/default.nix @@ -76,6 +76,11 @@ buildPythonPackage rec { ] ++ lib.concatAttrValues optional-dependencies; + pytestFlags = [ + # DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slate... + "-Wignore::DeprecationWarning" + ]; + pythonImportsCheck = [ "aiogram" ]; passthru.updateScript = gitUpdater {