Skip to content

Commit

Permalink
test: fix sed script for xapian configure script
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rouilj committed May 13, 2024
1 parent afd0031 commit aab8c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
-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; \
Expand Down

0 comments on commit aab8c20

Please sign in to comment.