]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] CI: Bump macOS build to use OpenSSL v3.0 (GH-105538) (#105871)
authorErlend E. Aasland <erlend@python.org>
Wed, 5 Jul 2023 11:20:44 +0000 (13:20 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Jul 2023 11:20:44 +0000 (13:20 +0200)
(cherry picked from commit 34e93d3998bab8acd651c50724eb1977f4860a08)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
.github/workflows/build.yml

index ab2d0e4fd1e4b8eb99cdf6a2446d037e2b2132b0..37fd2ee863f725e929b01353a2c59dbffea6049d 100644 (file)
@@ -153,15 +153,16 @@ jobs:
       PYTHONSTRICTEXTENSIONBUILD: 1
     steps:
     - uses: actions/checkout@v3
+    - name: Install Homebrew dependencies
+      run: brew install pkg-config openssl@3.0 xz gdbm tcl-tk
     - name: Configure CPython
       run: |
-        brew install pkg-config openssl@1.1 xz gdbm tcl-tk
         CC=clang \
         CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
         LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
         ./configure --prefix=/opt/python-dev \
             --with-pydebug \
-            --with-openssl="$(brew --prefix openssl@1.1)" \
+            --with-openssl="$(brew --prefix openssl@3.0)" \
             --with-tcltk-libs="$(pkg-config --libs tk)" \
             --with-tcltk-includes="$(pkg-config --cflags tk)"
     - name: Build CPython