commit 19d73635f3f3946409cdd4fbbf871a72784b5a3b Author: Sofia Boldyreva Date: Wed Jan 29 17:59:52 2025 +0100 Initial commit diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..ce26849 --- /dev/null +++ b/config.yaml @@ -0,0 +1,16 @@ +actions: + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Added patch 0001-Mark-_test_external_close-as-expected-failure.patch" + + - add_files: + - type: "patch" + name: "0001-Mark-_test_external_close-as-expected-failure.patch" + number: "Latest" diff --git a/files/0001-Mark-_test_external_close-as-expected-failure.patch b/files/0001-Mark-_test_external_close-as-expected-failure.patch new file mode 100644 index 0000000..2c0c617 --- /dev/null +++ b/files/0001-Mark-_test_external_close-as-expected-failure.patch @@ -0,0 +1,28 @@ +From b8f5ea5308adafe92b072d61fcbca939f9944359 Mon Sep 17 00:00:00 2001 +From: Carl George +Date: Thu, 4 Jun 2020 14:13:47 -0500 +Subject: [PATCH] Mark _test_external_close as expected failure + +This is a known upstream issue that is resolved in 2.8. The "fix" is a +bigger divergence than is appropriate for CentOS. + +https://github.com/psycopg/psycopg2/issues/927 +--- + tests/test_cursor.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/test_cursor.py b/tests/test_cursor.py +index d9dea0c5..21ade863 100755 +--- a/tests/test_cursor.py ++++ b/tests/test_cursor.py +@@ -576,6 +576,7 @@ class CursorTests(ConnectingTestCase): + wait_func = psycopg2.extras.wait_select + self._test_external_close(control_conn, connect_func, wait_func) + ++ @unittest.expectedFailure + def _test_external_close(self, control_conn, connect_func, wait_func): + # The short sleep before using victim_conn the second time makes it + # much more likely to lose the race and see the bug. Repeating the +-- +2.26.2 + \ No newline at end of file