https://github.com/python/cpython/commit/9fd33af5ac57f649971ffd8091bd898a96f85b55
commit: 9fd33af5ac57f649971ffd8091bd898a96f85b55
branch: main
author: Ćukasz Langa <[email protected]>
committer: ambv <[email protected]>
date: 2024-05-07T00:08:17+02:00
summary:
Test premium Mac builders (#118672)
files:
M .github/workflows/build.yml
M .github/workflows/reusable-macos.yml
M Lib/test/test_pyrepl.py
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aac395d5638750..7d9e70a68005e3 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 e3319f141bd7f5..d06a718d199c96 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 [email protected])"
- 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 2b217abdf1543b..3df76e02b231dc 100644
--- a/Lib/test/test_pyrepl.py
+++ b/Lib/test/test_pyrepl.py
@@ -15,9 +15,9 @@
# 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]