Skip to content

Commit

Permalink
test: disable Python 3.13 CI xapian build. Fails with compile error.
Browse files Browse the repository at this point in the history
...
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
  • Loading branch information
rouilj committed Apr 20, 2024
1 parent 96b94e5 commit 29850b7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ jobs:
# Run in all these versions of Python
python-version:
# - "2.7"
- "3.10"
# - "3.9"
- "3.8"
- "3.12"
# - 3.6 run via include on ubunto 20.04
# - "3.7"
- "3.8"
# - "3.9"
- "3.10"
- "3.11"
- "3.12"

# use for multiple os or ubuntu versions
#os: [ubuntu-latest, macos-latest, windows-latest]
Expand Down Expand Up @@ -250,7 +251,7 @@ jobs:
diff -u configure.FCS configure || true; \
./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 "3.13*") echo skipping xapian build;; *) make && sudo make install; esac
- name: Test build roundup and install locale so lang tests work.
run: |
Expand Down

0 comments on commit 29850b7

Please sign in to comment.