Roundup Tracker - Issues

Issue 2551277

classification
xapian testing ubuntu 22.04 python 3.12beta + broken on github
Type: compile error Severity: normal
Components: Test, Infrastructure Versions: 2.3.0
process
Status: fixed fixed
:
: rouilj : rouilj
Priority: : python3

Created on 2023-05-25 19:27 by rouilj, last changed 2023-09-27 00:26 by rouilj.

Messages
msg7772 Author: [hidden] (rouilj) Date: 2023-05-25 19:27
It looks like xapian testing on ubuntu 22.04 with python 3.12beta on github is broken.

Any xapian release before 1.4.20 is using distutils. Distutils has been removed between 3.12a2 
and 3.12b1. xapian 1.4.20 is the newest version that doesn't need distutils.

So building with an earlier xapian version (1.4.18) results in:

  configure: error: Couldn't import Python module distutils.sysconfig - you probably need to 
  install a python3-dev or python3-devel package

https://github.com/roundup-tracker/roundup/actions/runs/5081222441/jobs/9133604565

However 1.4.19 added a new option FLAG_NO_POSITIONS which is not supported in the 1.4.14
library installed on unbuntu 22.04. I can upgrade to 1.4.18 on ubuntu 22.04, but
that doesn't help. So building with anything newer than 1.4.19 results in:

  xapian_wrap.cc:65031:116: error: `FLAG_NO_POSITIONS' is not a member of
  `Xapian::QueryParser'

https://github.com/roundup-tracker/roundup/actions/runs/5083521793/jobs/9134631841

Disabling 3.12 python xapian testing for now.
msg7773 Author: [hidden] (rouilj) Date: 2023-05-25 20:43
fixed by

changeset:   7410:b7cd007c2bd6
msg7774 Author: [hidden] (rouilj) Date: 2023-05-25 20:45
make that not fixed but xapian disabled by...

changeset:   7410:b7cd007c2bd6
msg7834 Author: [hidden] (rouilj) Date: 2023-09-27 00:26
Final fix on:

changeset:   7631:4f5a8b402b40

With these as major fixes among a number of checkins around that time.

changeset:   7630:f4e415e56585
changeset:   7628:88c13f6dbc95
History
Date User Action Args
2023-09-27 00:26:45rouiljsetstatus: new -> fixed
assignee: rouilj
resolution: remind -> fixed
messages: + msg7834
2023-05-25 20:45:00rouiljsetmessages: + msg7774
2023-05-25 20:43:25rouiljsetkeywords: + python3
resolution: remind
messages: + msg7773
components: + Test
2023-05-25 19:27:48rouiljcreate