Mercurial > p > roundup > code
diff .github/workflows/ci-test.yml @ 7627:bcf99a62deca
build: disable xapian under 3.12 python.
as documented in issue2551277
1.4.22 doesn't build with:
xapian_wrap.cc: In function ‘PyObject* PyInit__xapian()’:
xapian_wrap.cc:65031:116: error: ‘FLAG_NO_POSITIONS’ is not a member
of ‘Xapian::QueryParser’
65031 | SWIG_Python_SetConstant(d,"QueryParser_FLAG_NO_POSITIONS",
SWIG_From_int(static_cast< int >(Xapian::QueryParser::FLAG_NO_POSITIONS)));
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 Sep 2023 02:09:55 -0400 |
| parents | f053c2ae3db8 |
| children | 88c13f6dbc95 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Mon Sep 11 02:03:45 2023 -0400 +++ b/.github/workflows/ci-test.yml Mon Sep 11 02:09:55 2023 -0400 @@ -205,7 +205,7 @@ # Change distutils.sysconfig... to just sysconfig and SO # to EXT_SUFFIX to get valid value. if [[ $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 - case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac + case "$PYTHON_VERSION" in nightly|3.12*) echo skipping xapian build;; *) make && sudo make install; esac - name: Install pytest and other packages needed for running tests run: pip install flake8 mock pytest pytest-cov requests
