comparison .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
comparison
equal deleted inserted replaced
7893:ff5cadffa8f0 7894:7b0a143ac806
50 max-parallel: 4 50 max-parallel: 4
51 matrix: 51 matrix:
52 # Run in all these versions of Python 52 # Run in all these versions of Python
53 python-version: 53 python-version:
54 # - "2.7" 54 # - "2.7"
55 - "3.12"
56 # - 3.6 run via include on ubunto 20.04
57 # - "3.7"
58 - "3.8"
59 # - "3.9"
55 - "3.10" 60 - "3.10"
56 # - "3.9"
57 - "3.8"
58 # - "3.7"
59 - "3.11" 61 - "3.11"
60 - "3.12"
61 62
62 # use for multiple os or ubuntu versions 63 # use for multiple os or ubuntu versions
63 #os: [ubuntu-latest, macos-latest, windows-latest] 64 #os: [ubuntu-latest, macos-latest, windows-latest]
64 # ubuntu latest 22.04 12/2022 65 # ubuntu latest 22.04 12/2022
65 os: [ubuntu-latest, ubuntu-20.04] 66 os: [ubuntu-latest, ubuntu-20.04]
248 -e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\b/importlib/g' \ 249 -e '/PYTHON3_CACHE_OPT1_EXT=/s/imp\b/importlib/g' \
249 configure; \ 250 configure; \
250 diff -u configure.FCS configure || true; \ 251 diff -u configure.FCS configure || true; \
251 ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \ 252 ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \
252 fi 253 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
254 255
255 - name: Test build roundup and install locale so lang tests work. 256 - name: Test build roundup and install locale so lang tests work.
256 run: | 257 run: |
257 sudo apt-get install gettext 258 sudo apt-get install gettext
258 python setup.py build 259 python setup.py build

Roundup Issue Tracker: http://roundup-tracker.org/