Mercurial > p > roundup > code
diff .travis.yml @ 6734:33425fb9091e
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Jun 2022 17:14:44 -0400 |
| parents | 475027721e56 |
| children | e8607971d3d1 |
line wrap: on
line diff
--- a/.travis.yml Mon Jun 27 17:01:22 2022 -0400 +++ b/.travis.yml Mon Jun 27 17:14:44 2022 -0400 @@ -60,6 +60,7 @@ - if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi - if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then pip install sphinx; fi - XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER + # force specific version 1.4.19 for python 3.12 for debugging - if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then XAPIAN_VER=1.4.19; fi; echo $XAPIAN_VER - cd /tmp - curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz @@ -74,7 +75,7 @@ - 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 - 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 - 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 - - case "$TRAVIS_PYTHON_VERSION" in ngihtly) echo skipping xapian build;; *) make && make install; esac + - case "$TRAVIS_PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && make install; esac - PATH=$VIRTUAL_ENV/bin:$PATH
