diff options
author | Anna Lee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2023-11-15 20:21:09 +0000 |
---|---|---|
committer | Anna Lee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2023-11-15 22:56:37 +0000 |
commit | 89842c3796c4ee9524be9c1ba964514ae64f4470 (patch) | |
tree | 0b8fbba2a95dc23d72bf56bd96b1746bd50a934f /pkgs/development | |
parent | 592047fc9e4f7b74a4dc85d1b9f5243dfe4899e3 (diff) |
python311Packages.psycopg: disable timing tests with upstream patch
test test_identify_closure can fail due to a race in collecting a timestamp an starting a thread. upstream fixed with PR https://github.com/psycopg/psycopg/pull/669 incorporate change to fix build https://hydra.nixos.org/build/240870184
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/psycopg/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/psycopg/default.nix b/pkgs/development/python-modules/psycopg/default.nix index 65156543e87d6..24063596918ca 100644 --- a/pkgs/development/python-modules/psycopg/default.nix +++ b/pkgs/development/python-modules/psycopg/default.nix @@ -50,6 +50,14 @@ let libpq = "${postgresql.lib}/lib/libpq${stdenv.hostPlatform.extensions.sharedLibrary}"; libc = "${stdenv.cc.libc}/lib/libc.so.6"; }) + + # https://github.com/psycopg/psycopg/pull/669 + # mark some tests as timing remove on next version update + (fetchpatch { + name = "mark_tests_as_timing.patch"; + url = "https://github.com/psycopg/psycopg/commit/00a3c640dd836328ba15931b400b012171f648c2.patch"; + hash = "sha256-DoVZv1yy9gHOKl0AdVLir+C+UztJZVjboLhS5af2944="; + }) ]; baseMeta = { |