]> git.notmuchmail.org Git - notmuch/commitdiff
test: do not add legacy bindings to PYTHONPATH release
authorMichael J Gruber <git@grubix.eu>
Fri, 20 Jun 2025 14:51:39 +0000 (16:51 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 22 Jun 2025 19:02:31 +0000 (16:02 -0300)
d526797a ("python: move legacy python bindings to contrib.", 2025-02-15)
moved the legacy python bindings away from the location in `bindingss/`.
Do not add that location to the PYTHONPATH since it is obsolete.

test/test-lib.sh

index 059e110c87d540bb5bdd8baca0ef6e2140a1bfc4..5b3cd454854f83267ebd5a758f31e67295c7ce94 100644 (file)
@@ -896,7 +896,7 @@ test_done () {
 test_python () {
     # Note: if there is need to print debug information from python program,
     # use stdout = os.fdopen(6, 'w') or stderr = os.fdopen(7, 'w')
-    PYTHONPATH="$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage:$NOTMUCH_SRCDIR/bindings/python${PYTHONPATH:+:$PYTHONPATH}" \
+    PYTHONPATH="$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage${PYTHONPATH:+:$PYTHONPATH}" \
        $NOTMUCH_PYTHON -B - > OUTPUT
 }