Skip to content

Commit 850189a

Browse files
authored
[3.10] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm 1.24 (#125112)
Per #89452 (comment), 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.
1 parent 0c5fc27 commit 850189a

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
@@ -193,7 +193,9 @@ jobs:
193193
./configure \
194194
--with-pydebug \
195195
--prefix=/opt/python-dev \
196-
--with-openssl="$(brew --prefix [email protected])"
196+
--with-openssl="$(brew --prefix [email protected])" \
197+
--with-dbmliborder=gdbm:ndbm
198+
# (--with-dbmliborder needed for homebrew's gdbm 1.24: see gh-89452)
197199
- name: Build CPython
198200
run: make -j4
199201
- name: Display build info

0 commit comments

Comments
 (0)