From 87c12bd94e00b9209d40e60314c6c0f4deda8af7 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Sat, 21 May 2022 20:03:41 +0200 Subject: [PATCH 1/2] .github/workflows/install.sh: pin libsoup to v2 on MacOS As current tests are not compatible with v3. Signed-off-by: Mateusz Gozdek --- .github/workflows/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.sh b/.github/workflows/install.sh index a0600a1c..094278b9 100755 --- a/.github/workflows/install.sh +++ b/.github/workflows/install.sh @@ -12,7 +12,7 @@ if [[ $(uname -s) == 'Darwin' ]]; then gtk+3 \ gobject-introspection \ glib \ - libsoup \ + libsoup@2 \ cairo \ gstreamer \ gst-plugins-base \ From b8734ce445e7f0fd370173fa4cf9ee2792bdd650 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 20 May 2022 16:57:50 +0200 Subject: [PATCH 2/2] tests: explicitly require libsoup 2.x As if libsoup3 is installed together with libsoup2, libsoup3 is selected which makes test fails. Signed-off-by: Mateusz Gozdek --- tests/object__initialization.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/object__initialization.js b/tests/object__initialization.js index 6f71f165..26fca110 100644 --- a/tests/object__initialization.js +++ b/tests/object__initialization.js @@ -5,7 +5,7 @@ const gi = require('../lib/') const Gtk = gi.require('Gtk', '3.0') -const Soup = gi.require('Soup') +const Soup = gi.require('Soup', '2.4') const { describe, it, mustThrow, expect, assert } = require('./__common__.js') Gtk.init()