Skip to content

Commit 85c58d0

Browse files
committed
Try to use 1.4.20 version of xapian
It uses setuptools and not distutils like 1.4.18 that is being retrived by looking at the installed xapian libs. I hope 1.4.X is compatible across patch releases.
1 parent 672e999 commit 85c58d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,11 @@ jobs:
169169
# older python and newest on newer.
170170
if [[ $PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi
171171
if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
172-
XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER
172+
if [[ $PYTHON_VERSION == '3.12'* ]] ; then \
173+
XAPIAN_VER=1.4.20; \
174+
else
175+
XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER; \
176+
fi
173177
cd /tmp
174178
curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz
175179
tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz

0 commit comments

Comments
 (0)