Mercurial > p > roundup > code
diff .github/workflows/ci-test.yml @ 7894:7b0a143ac806
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
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 20 Apr 2024 14:23:32 -0400 |
| parents | ff5cadffa8f0 |
| children | e13de119d070 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Sat Apr 20 13:34:23 2024 -0400 +++ b/.github/workflows/ci-test.yml Sat Apr 20 14:23:32 2024 -0400 @@ -52,12 +52,13 @@ # Run in all these versions of Python python-version: # - "2.7" - - "3.10" - # - "3.9" + - "3.12" + # - 3.6 run via include on ubunto 20.04 + # - "3.7" - "3.8" - # - "3.7" + # - "3.9" + - "3.10" - "3.11" - - "3.12" # use for multiple os or ubuntu versions #os: [ubuntu-latest, macos-latest, windows-latest] @@ -250,7 +251,7 @@ 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: |
