Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7958:fffbaa3f963b
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 12 May 2024 21:00:38 -0400 |
| parents | 9fd7c05c4504 |
| children | 89c0e2fc5073 |
comparison
equal
deleted
inserted
replaced
| 7957:9fd7c05c4504 | 7958:fffbaa3f963b |
|---|---|
| 252 sed -i \ | 252 sed -i \ |
| 253 -e '/PYTHON3_SO=/s/distutils\.//g' \ | 253 -e '/PYTHON3_SO=/s/distutils\.//g' \ |
| 254 -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' \ | 254 -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' \ |
| 255 -e '/PYTHON3_CACHE_TAG=/s/imp;print(imp.get_tag())/sys;print(sys.implementation.cache_tag)/' \ | 255 -e '/PYTHON3_CACHE_TAG=/s/imp;print(imp.get_tag())/sys;print(sys.implementation.cache_tag)/' \ |
| 256 -e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\.get_tag()/sys.implementation.cache_tag/g' \ | 256 -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' \ |
| 258 configure; \ | 258 configure; \ |
| 259 diff -u configure.FCS configure || true; \ | 259 diff -u configure.FCS configure || true; \ |
| 260 ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \ | 260 ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \ |
| 261 fi | 261 fi |
| 262 case "$PYTHON_VERSION" in "3.13") echo skipping xapian build;; *) make && sudo make install; esac | 262 case "$PYTHON_VERSION" in "3.13") echo skipping xapian build;; *) make && sudo make install; esac |
