]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS...
authorNed Deily <nad@python.org>
Mon, 10 Apr 2023 00:13:44 +0000 (20:13 -0400)
committerGitHub <noreply@github.com>
Mon, 10 Apr 2023 00:13:44 +0000 (20:13 -0400)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
.github/workflows/build.yml
Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst [new file with mode: 0644]

index a1f63747aa2afa78ac4c4f183abb50849e9ccc15..149436319673a0c6e8c974db0d63eb7b164619a2 100644 (file)
@@ -128,7 +128,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - name: Configure CPython
-      run: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev
+      run: SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev
     - name: Build CPython
       run: make -j4
     - name: Display build info
diff --git a/Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst b/Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst
new file mode 100644 (file)
index 0000000..ba331a0
--- /dev/null
@@ -0,0 +1 @@
+Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK.