]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS...
authorNed Deily <nad@python.org>
Sat, 4 Mar 2023 21:07:35 +0000 (16:07 -0500)
committerGitHub <noreply@github.com>
Sat, 4 Mar 2023 21:07:35 +0000 (16:07 -0500)
[3.8] Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK.

.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 e019e89928879a7a9f183f16ad7c1d68810ca709..c25df8136df7b154559fd1e1c9814f160bc2ca8f 100644 (file)
@@ -129,7 +129,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..c51319b
--- /dev/null
@@ -0,0 +1,2 @@
+[3.8] Avoid GHA CI macOS test_posix failure by using the appropriate macOS
+SDK.