v21-0006-XXX-temporary-patches-to-build-and-test.patch

application/octet-stream

Filename: v21-0006-XXX-temporary-patches-to-build-and-test.patch
Type: application/octet-stream
Part: 6
Message: Re: [PoC] Federated Authn/z with OAUTHBEARER

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v21-0006
Subject: XXX temporary patches to build and test
File+
src/interfaces/libpq/Makefile 1 1
src/test/python/requirements.txt 3 1
From e6c5d94682d601002e029cd28fbdb9d94f2dac0d Mon Sep 17 00:00:00 2001
From: Jacob Champion <jacob.champion@enterprisedb.com>
Date: Tue, 20 Feb 2024 11:35:29 -0800
Subject: [PATCH v21 6/7] XXX temporary patches to build and test

- construct 2.10.70 has some incompatibilities with the current tests
- temporarily skip the exit check (from Daniel Gustafsson); this needs
  to be turned into an exception for curl rather than a plain exit call
---
 src/interfaces/libpq/Makefile    | 2 +-
 src/test/python/requirements.txt | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index 2618c293af..e86d4803ff 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -124,7 +124,7 @@ libpq-refs-stamp: $(shlib)
 ifneq ($(enable_coverage), yes)
 ifeq (,$(filter solaris,$(PORTNAME)))
 	@if nm -A -u $< 2>/dev/null | grep -v -e __cxa_atexit -e __tsan_func_exit | grep exit; then \
-		echo 'libpq must not be calling any function which invokes exit'; exit 1; \
+		echo 'libpq must not be calling any function which invokes exit'; \
 	fi
 endif
 endif
diff --git a/src/test/python/requirements.txt b/src/test/python/requirements.txt
index 57ba1ced94..0dfcffb83e 100644
--- a/src/test/python/requirements.txt
+++ b/src/test/python/requirements.txt
@@ -1,7 +1,9 @@
 black
 # cryptography 35.x and later add many platform/toolchain restrictions, beware
 cryptography~=3.4.8
-construct~=2.10.61
+# TODO: figure out why 2.10.70 broke things
+# (probably https://github.com/construct/construct/pull/1015)
+construct==2.10.69
 isort~=5.6
 # TODO: update to psycopg[c] 3.1
 psycopg2~=2.9.7
-- 
2.34.1