Skip to content

Commit

Permalink
[3.10] pythongh-89452: GHA: Set --with-dbmliborder to avoid issues wi…
Browse files Browse the repository at this point in the history
…th homebrew's gdbm 1.24 (python#125112)

Per python#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.
  • Loading branch information
encukou authored Oct 8, 2024
1 parent 0c5fc27 commit 850189a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ jobs:
./configure \
--with-pydebug \
--prefix=/opt/python-dev \
--with-openssl="$(brew --prefix [email protected])"
--with-openssl="$(brew --prefix [email protected])" \
--with-dbmliborder=gdbm:ndbm
# (--with-dbmliborder needed for homebrew's gdbm 1.24: see gh-89452)
- name: Build CPython
run: make -j4
- name: Display build info
Expand Down

0 comments on commit 850189a

Please sign in to comment.