From: Ɓukasz Langa Date: Mon, 6 May 2024 22:08:17 +0000 (+0200) Subject: Test premium Mac builders (#118672) X-Git-Tag: v3.13.0b1~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fd33af5ac57f649971ffd8091bd898a96f85b55;p=thirdparty%2FPython%2Fcpython.git Test premium Mac builders (#118672) --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aac395d56387..7d9e70a68005 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -208,7 +208,7 @@ jobs: with: config_hash: ${{ needs.check_source.outputs.config_hash }} # macos-14 is M1, macos-13 is Intel - os-matrix: '["macos-14", "macos-13"]' + os-matrix: '["macos-14-xlarge", "macos-13-large"]' build_macos_free_threading: name: 'macOS (free-threading)' diff --git a/.github/workflows/reusable-macos.yml b/.github/workflows/reusable-macos.yml index e3319f141bd7..d06a718d199c 100644 --- a/.github/workflows/reusable-macos.yml +++ b/.github/workflows/reusable-macos.yml @@ -50,7 +50,7 @@ jobs: --prefix=/opt/python-dev \ --with-openssl="$(brew --prefix openssl@3.0)" - name: Build CPython - run: make -j4 + run: make -j8 - name: Display build info run: make pythoninfo - name: Tests diff --git a/Lib/test/test_pyrepl.py b/Lib/test/test_pyrepl.py index 2b217abdf154..3df76e02b231 100644 --- a/Lib/test/test_pyrepl.py +++ b/Lib/test/test_pyrepl.py @@ -15,9 +15,9 @@ from test.support.import_helper import import_module # Optionally test pyrepl. This currently requires that the # 'curses' resource be given on the regrtest command line using the -u # option. Additionally, we need to attempt to import curses and readline. -requires('curses') -curses = import_module('curses') -readline = import_module('readline') +requires("curses") +curses = import_module("curses") +readline = import_module("readline") from _pyrepl.console import Console, Event from _pyrepl.readline import ReadlineAlikeReader, ReadlineConfig