Skip to content

Commit f8fde33

Browse files
committed
test: revert last commit it broke xapian build
Last commit caused the following error: /usr/bin/install -c -m 644 xapian/__init__.py xapian/__pycache__/__init__.cpython-310.pyc ./xapian/__pycache__/__init__. '/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/xapian' /usr/bin/install: cannot stat './xapian/__pycache__/__init__.': No such file or directory with the old code that errored out because of the missing sys import I got the working: /usr/bin/install -c -m 644 xapian/__init__.py xapian/__pycache__/__init__.cpython-310.pyc xapian/__pycache__/__init__.cpython-310.opt-1.pyc '/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/xapian' whatever.
1 parent aab8c20 commit f8fde33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
-e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' \
255255
-e '/PYTHON3_CACHE_TAG=/s/imp;print(imp.get_tag())/sys;print(sys.implementation.cache_tag)/' \
256256
-e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\.get_tag()/sys.implementation.cache_tag/g' \
257-
-e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\b/sys/g' \
257+
-e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\b/importlib/g' \
258258
configure; \
259259
diff -u configure.FCS configure || true; \
260260
./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \

0 commit comments

Comments
 (0)