python3Packages.rustworkx: fix tests against networkx 3.6 (#493815)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
buildPythonPackage,
|
||||
rustPlatform,
|
||||
|
||||
@@ -34,6 +35,14 @@ buildPythonPackage (finalAttrs: {
|
||||
hash = "sha256-aBKGJwm9EmGwLOhIx6qTuDco5uNcnwUlZf3ztFzmIGs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "networkx-3.6-test-compat.patch";
|
||||
url = "https://github.com/Qiskit/rustworkx/commit/04780a59005d0a80bdc3e22427566aea86783eb8.patch";
|
||||
hash = "sha256-oUosh1pu/I6Zpg2Di/Gnp5SCwetgs9HDY96Q2bQ7R6M=";
|
||||
})
|
||||
];
|
||||
|
||||
# Otherwise, `rust-src` is required
|
||||
# https://github.com/Qiskit/rustworkx/pull/1447
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user