[pygobject/benzea/tmp] CI: Force "local" GIO VFS backend



commit 84ff55edf4d573659e82a917871cbf62a4b812cc
Author: Benjamin Berg <bberg redhat com>
Date:   Wed Dec 29 00:56:54 2021 +0100

    CI: Force "local" GIO VFS backend
    
    Otherwise the pypy test aborts after trying to talk to the XDG portal.
    There might be something else odd going on in the setup, but the GIO
    backend shouldn't make a differenc to pygobject, so simply disable it.

 .gitlab-ci/test-docker.sh | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index bb865a01..d16b1f38 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -15,6 +15,8 @@ COV_KEY="${CI_JOB_NAME}"
 export COVERAGE_FILE="${COV_DIR}/.coverage.${COV_KEY}"
 export CCACHE_BASEDIR="$(pwd)"
 export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
+# For some reason pypy tries to use XDG portals and fails
+export GIO_USE_VFS=local
 
 # https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEVMODE
 export PYTHONDEVMODE=1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]