changeset 7957:9fd7c05c4504

test: fix sed script for xapian configure script The sed script replaces a call to imp.get_tag() (imp is depricated) with a call to sys.implementation.cache_tag, but didn't fix up the imports to import sys.
author John Rouillard <rouilj@ieee.org>
date Sun, 12 May 2024 20:37:53 -0400
parents 9166e0100e01
children fffbaa3f963b
files .github/workflows/ci-test.yml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Sun May 12 20:08:41 2024 -0400
+++ b/.github/workflows/ci-test.yml	Sun May 12 20:37:53 2024 -0400
@@ -254,7 +254,7 @@
               -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' \
               -e '/PYTHON3_CACHE_TAG=/s/imp;print(imp.get_tag())/sys;print(sys.implementation.cache_tag)/' \
               -e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\.get_tag()/sys.implementation.cache_tag/g' \
-              -e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\b/importlib/g' \
+              -e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\b/sys/g' \
             configure; \
             diff -u configure.FCS configure || true; \
             ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \

Roundup Issue Tracker: http://roundup-tracker.org/