3
0
Fork 0
forked from mirrors/nixpkgs

python311Packages.ariadne: 0.21.0 -> 0.22.0

Changelog: https://github.com/mirumee/ariadne/releases/tag/022.0
This commit is contained in:
Fabian Affolter 2024-02-12 10:05:44 +01:00
parent 8cac325748
commit 494d8084c0

View file

@ -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"