Skip to content

Commit be988e8

Browse files
encukouambv
andauthored
[3.9] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm 1.24 (GH-125112) (#125176)
Per https://github.com/python/cpython/issues/89452GH-issuecomment-1116329316, the issue is fixed in configure for 3.11+, and > For older Python versions, the workaround is to build with: > > ./configure --with-dbmliborder=gdbm:ndbm We need this workaround in GitHub Actions, otherwise the tests fail. (cherry picked from commit 850189a) Co-authored-by: Łukasz Langa <[email protected]>
1 parent 681e0fa commit be988e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ jobs:
168168
--with-pydebug \
169169
--with-openssl="$(brew --prefix [email protected])" \
170170
--with-tcltk-libs="$(pkg-config --libs tk)" \
171-
--with-tcltk-includes="$(pkg-config --cflags tk)"
171+
--with-tcltk-includes="$(pkg-config --cflags tk)" \
172+
--with-dbmliborder=gdbm:ndbm
173+
# (--with-dbmliborder needed for homebrew's gdbm 1.24: see gh-89452)
172174
- name: Build CPython
173175
run: make -j4
174176
- name: Display build info

0 commit comments

Comments
 (0)