Skip to content

Commit 86f4724

Browse files
python313Packages.uvloop: patch for broken tests
MagicStack/uvloop#662 MagicStack/uvloop#663
1 parent cf3cdb5 commit 86f4724

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
buildPythonPackage,
55
pythonOlder,
66
fetchPypi,
7+
fetchpatch,
78

89
# build-system
910
cython,
@@ -32,6 +33,20 @@ buildPythonPackage rec {
3233
hash = "sha256-O/ErD9poRHgGp62Ee/pZFhMXcnXTW2ckse5XP6o3BOM=";
3334
};
3435

36+
patches = [
37+
# fix test failures on Python 3.13
38+
# (remove on next update)
39+
(fetchpatch {
40+
url = "https://github.com/MagicStack/uvloop/commit/96b7ed31afaf02800d779a395591da6a2c8c50e1.patch";
41+
hash = "sha256-Nbe3BuIuwlylll5fIYij+OiP90ZeFNI0GKHK9SwWRk8=";
42+
excludes = [ ".github/workflows/tests.yml" ];
43+
})
44+
(fetchpatch {
45+
url = "https://github.com/MagicStack/uvloop/commit/56807922f847ddac231a53d5b03eef70092b987c.patch";
46+
hash = "sha256-X5Ob1t/CRy9csw2JrWvwS55G6qTqZhIuGLTy83O03GU=";
47+
})
48+
];
49+
3550
postPatch = ''
3651
rm -rf vendor
3752

0 commit comments

Comments
 (0)