From 494d8084c0a35a29af43ae483c43a63664eec727 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Feb 2024 10:05:44 +0100 Subject: [PATCH] python311Packages.ariadne: 0.21.0 -> 0.22.0 Changelog: https://github.com/mirumee/ariadne/releases/tag/022.0 --- pkgs/development/python-modules/ariadne/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ariadne/default.nix b/pkgs/development/python-modules/ariadne/default.nix index ccc316525873..d76afdfcb0af 100644 --- a/pkgs/development/python-modules/ariadne/default.nix +++ b/pkgs/development/python-modules/ariadne/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "ariadne"; - version = "0.21.0"; + version = "0.22.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -26,8 +26,10 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mirumee"; repo = "ariadne"; - rev = "refs/tags/${version}"; - hash = "sha256-T5J0xAF33PDkC8sDOzHADpQJxwdXwKary0y/jaUJ9Fk="; + # https://github.com/mirumee/ariadne/issues/1157 + #rev = "refs/tags/${version}"; + rev = "refs/tags/022.0"; + hash = "sha256-GMBtW2gZbF1m0BrKhYEkSaZYt5tIGmP/ipy6WC1H1pg="; }; patches = [ @@ -59,6 +61,10 @@ buildPythonPackage rec { "ariadne" ]; + pytestFlagsArray = [ + "--snapshot-update" + ]; + disabledTests = [ # TypeError: TestClient.request() got an unexpected keyword argument 'content' "test_attempt_parse_request_missing_content_type_raises_bad_request_error"