Skip to content

Commit abe4f60

Browse files
committed
issue251338 - xapian doesn't build in CI for 3.13 python
ubuntu-latest is ubunut-24.04. so re-enable xapian install for 3.13. Also remove include for python-3.12/ ubuntu-24.04 as -latest covers it. Clean up excludes as only python-latest is used and exclude is used for named version not the actual version (ubuntu-latest is not excluded by ubuntu-24.04 even thugh that's it's actual version).
1 parent c081df2 commit abe4f60

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/ci-test.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
#os: [ubuntu-latest, macos-latest, windows-latest]
6666
# ubuntu latest 22.04 12/2022
6767
# ubuntu latest 24.04 12/2024
68-
os: [ubuntu-24.04, ubuntu-latest, ubuntu-20.04]
68+
os: [ubuntu-latest]
6969

7070
# if the ones above fail. fail the build
7171
experimental: [ false ]
@@ -78,10 +78,6 @@ jobs:
7878
# os: ubuntu-22.04
7979
# experimental: true
8080

81-
# test on new default 24.04 runner 3.12 for 24.04
82-
- python-version: 3.12
83-
os: ubuntu-24.04
84-
8581
# 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu
8682
- python-version: 3.6
8783
os: ubuntu-20.04
@@ -91,10 +87,10 @@ jobs:
9187
os: ubuntu-22.04
9288

9389
exclude:
94-
# skip all python versions on 20.04/24.04 except
90+
# skip all python versions on explicit 20.04/24.04 unless
9591
# explicitly included
96-
- os: ubuntu-20.04
97-
- os: ubuntu-24.04
92+
#- os: ubuntu-20.04
93+
#- os: ubuntu-24.04
9894

9995
# disable when testing ubuntu-24.04 to speed up
10096
# runs.
@@ -256,10 +252,6 @@ jobs:
256252
pip install Markdown; fi
257253
258254
- name: Install xapian
259-
# comment the if: line out once we start running on
260-
# ubuntu-24.04. 24.04 has xapian 1.4.22 which builds
261-
# correctly with python 3.13.
262-
if: matrix.python-version != '3.13'
263255
run: |
264256
set -xv
265257
sudo apt-get install libxapian-dev

0 commit comments

Comments
 (0)