Skip to content

Commit 103d196

Browse files
committed
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)));
1 parent 91be109 commit 103d196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
# Change distutils.sysconfig... to just sysconfig and SO
206206
# to EXT_SUFFIX to get valid value.
207207
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
208-
case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
208+
case "$PYTHON_VERSION" in nightly|3.12*) echo skipping xapian build;; *) make && sudo make install; esac
209209
210210
- name: Install pytest and other packages needed for running tests
211211
run: pip install flake8 mock pytest pytest-cov requests

0 commit comments

Comments
 (0)