From c5d6de2620388bda3fb85e18a57ff9551f73da33 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 8 Sep 2026 02:13:01 +0900 Subject: [PATCH] nixos/tests/matrix/{conduit,dendrite}: fix deprecated asyncio usage `asyncio.get_event_loop()` was deprecated in python 3.14, see https://docs.python.org/3/whatsnew/3.14.html#id10 for more info. --- nixos/tests/matrix/conduit.nix | 2 +- nixos/tests/matrix/dendrite.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/matrix/conduit.nix b/nixos/tests/matrix/conduit.nix index 02bf00886ba4..059f1ce4f09b 100644 --- a/nixos/tests/matrix/conduit.nix +++ b/nixos/tests/matrix/conduit.nix @@ -77,7 +77,7 @@ in # Close the client await client.close() - asyncio.get_event_loop().run_until_complete(main()) + asyncio.run(main()) '') ]; }; diff --git a/nixos/tests/matrix/dendrite.nix b/nixos/tests/matrix/dendrite.nix index 0d5129e553d5..a35675bfde3e 100644 --- a/nixos/tests/matrix/dendrite.nix +++ b/nixos/tests/matrix/dendrite.nix @@ -77,7 +77,7 @@ in # Close the client await client.close() - asyncio.get_event_loop().run_until_complete(main()) + asyncio.run(main()) '') ]; };