Skip to content

Commit 29850b7

Browse files
committed
test: disable Python 3.13 CI xapian build. Fails with compile error.
... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o xapian_wrap.cc: In constructor ‘XapianSWIG_Python_Thread_Block::XapianSWIG_Python_Thread_Block()’: xapian_wrap.cc:87:13: error: ‘PyEval_ThreadsInitialized’ was not declared in this scope 87 | if (PyEval_ThreadsInitialized()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ xapian_wrap.cc: In constructor ‘XapianSWIG_Python_Thread_Allow::XapianSWIG_Python_Thread_Allow()’: xapian_wrap.cc:109:47: error: ‘PyEval_ThreadsInitialized’ was not declared in this scope 109 | XapianSWIG_Python_Thread_Allow() : status(PyEval_ThreadsInitialized()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:782: xapian_wrap.lo] Error 1
1 parent 96b94e5 commit 29850b7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci-test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ jobs:
5252
# Run in all these versions of Python
5353
python-version:
5454
# - "2.7"
55-
- "3.10"
56-
# - "3.9"
57-
- "3.8"
55+
- "3.12"
56+
# - 3.6 run via include on ubunto 20.04
5857
# - "3.7"
58+
- "3.8"
59+
# - "3.9"
60+
- "3.10"
5961
- "3.11"
60-
- "3.12"
6162

6263
# use for multiple os or ubuntu versions
6364
#os: [ubuntu-latest, macos-latest, windows-latest]
@@ -250,7 +251,7 @@ jobs:
250251
diff -u configure.FCS configure || true; \
251252
./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \
252253
fi
253-
case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
254+
case "$PYTHON_VERSION" in "3.13*") echo skipping xapian build;; *) make && sudo make install; esac
254255
255256
- name: Test build roundup and install locale so lang tests work.
256257
run: |

0 commit comments

Comments
 (0)