Skip to content

Commit d8f8b0d

Browse files
authored
python3.pkgs.webargs: fix tests with newer pytest-asyncio (#438337)
2 parents 638f9c8 + ad7c0cb commit d8f8b0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/development/python-modules/webargs/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
pyramid,
1717
falcon,
1818
aiohttp,
19+
fetchpatch,
1920
}:
2021

2122
buildPythonPackage rec {
@@ -28,6 +29,13 @@ buildPythonPackage rec {
2829
hash = "sha256-DGF97BntTx/2skfNc4VelJ2HBS1xkAk4tx8Mr9kvGRs=";
2930
};
3031

32+
patches = [
33+
(fetchpatch {
34+
url = "https://github.com/marshmallow-code/webargs/commit/a6a5043ee34b0a22885b3625de6d4fdffc3b715b.patch";
35+
hash = "sha256-EFe76SAklgmBjfM6K8PkB0vHMCSlZ9EKAW9AbnxKmPA=";
36+
})
37+
];
38+
3139
build-system = [ flit-core ];
3240

3341
dependencies = [ marshmallow ];

0 commit comments

Comments
 (0)