From 4cd94659826a441cfe9546fbfc979905c3bfd362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 27 Apr 2026 07:12:17 -0700 Subject: [PATCH] python3Packages.aiormq: 6.9.2 -> 9.6.4 Diff: https://github.com/mosquito/aiormq/compare/6.9.2...9.6.4 Changelog: https://github.com/mosquito/aiormq/releases/tag/9.6.4 --- .../python-modules/aiormq/default.nix | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/aiormq/default.nix b/pkgs/development/python-modules/aiormq/default.nix index b06dc5fa3007..31e7a30b6fa2 100644 --- a/pkgs/development/python-modules/aiormq/default.nix +++ b/pkgs/development/python-modules/aiormq/default.nix @@ -1,44 +1,41 @@ { lib, - aiomisc-pytest, buildPythonPackage, fetchFromGitHub, - pytestCheckHook, pamqp, + uv-build, yarl, - poetry-core, }: buildPythonPackage rec { pname = "aiormq"; - version = "6.9.2"; + version = "9.6.4"; pyproject = true; src = fetchFromGitHub { owner = "mosquito"; repo = "aiormq"; tag = version; - hash = "sha256-ApwL3okhpc3Dtq4bfWCCnoikyRx+4zPI9XtJ+qPKQdg="; + hash = "sha256-GFeOwjSQ1+nxP9hgNoELoEInTmhhO0JnNeoe2qfWNcg="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "uv_build>=0.10.4,<0.11.0" uv_build + ''; + pythonRelaxDeps = [ "pamqp" ]; - build-system = [ poetry-core ]; + build-system = [ uv-build ]; dependencies = [ pamqp yarl ]; - nativeCheckInputs = [ pytestCheckHook ]; - - checkInputs = [ aiomisc-pytest ]; - - # Tests attempt to connect to a RabbitMQ server - disabledTestPaths = [ - "tests/test_channel.py" - "tests/test_connection.py" - ]; + # Tests require running a RabbitMQ server. + # They rely on having AMQP_URL set or running Docker. + doCheck = false; pythonImportsCheck = [ "aiormq" ];