Skip to content

Commit bfcfb88

Browse files
committed
test: see if xapian 1.4.25 will build with 3.13beta1
issue2551338 xapian doesn't build in CI for 3.13 python Try to build xapian with newest xapian release (1.4.25 - 2024-03-07) against the 1.4.18 libraries installed on the github CI platform. This may work as the 1.4 ABI is supposed to be compatible. [skip travis]
1 parent 3451bb9 commit bfcfb88

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,19 @@ jobs:
224224
pip install Markdown; fi
225225
226226
- name: Install xapian
227-
if: matrix.python-version != '3.13'
227+
if: matrix.python-version != '3.14'
228228
run: |
229229
set -xv
230230
sudo apt-get install libxapian-dev
231231
# Sphinx required to build the xapian python bindings. Use 1.8.5 on
232232
# older python and newest on newer.
233233
if [[ $PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi
234234
if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
235-
XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER;
235+
if [[ $PYTHON_VERSION != "3.13" ]]; then
236+
XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER;
237+
else
238+
XAPIAN_VER="1.4.25"; echo $XAPIAN_VER;
239+
fi
236240
cd /tmp
237241
curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz
238242
tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz
@@ -255,7 +259,7 @@ jobs:
255259
diff -u configure.FCS configure || true; \
256260
./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \
257261
fi
258-
case "$PYTHON_VERSION" in "3.13") echo skipping xapian build;; *) make && sudo make install; esac
262+
case "$PYTHON_VERSION" in "3.14") echo skipping xapian build;; *) make && sudo make install; esac
259263
260264
- name: Test build roundup and install locale so lang tests work.
261265
run: |

0 commit comments

Comments
 (0)