Skip to content

Commit 67f2e2a

Browse files
committed
Disable xapian build on nightly/3.12 again.
Build failing on nightly Python 3.12 with 1.4.19 xapian bindings. See: https://app.travis-ci.com/github/roundup-tracker/roundup/builds/252476922 This did get rid of deprication warnings, but added failure when trying to use: xapian_wrap.cc:45454:60: error: ‘const class Xapian::Database’ has no member named ‘get_average_length’; did you mean ‘get_avlength’? also: error: ‘FLAG_ACCUMULATE’ is not a member of ‘Xapian::QueryParser’ in addition to PyObject_NEW errors possibly fixed in: https://github.com/python/cpython/pull/94234/files Details: https://trac.xapian.org/ticket/818 Disabling build again. Will ping travis-ci and see if their nightly build includes the python pull request.
1 parent 4a81da0 commit 67f2e2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ before_install:
6060
- if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
6161
- if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then pip install sphinx; fi
6262
- XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER
63+
# force specific version 1.4.19 for python 3.12 for debugging
6364
- if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then XAPIAN_VER=1.4.19; fi; echo $XAPIAN_VER
6465
- cd /tmp
6566
- curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz
@@ -74,7 +75,7 @@ before_install:
7475
- if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
7576
- if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
7677
- if [[ $TRAVIS_PYTHON_VERSION == "pypy3" ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
77-
- case "$TRAVIS_PYTHON_VERSION" in ngihtly) echo skipping xapian build;; *) make && make install; esac
78+
- case "$TRAVIS_PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && make install; esac
7879

7980
- PATH=$VIRTUAL_ENV/bin:$PATH
8081

0 commit comments

Comments
 (0)