Skip to content

Commit 3ec7359

Browse files
committed
Mac Intel refresh
1 parent ea3538a commit 3ec7359

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build_wheels_macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
Build:
23-
runs-on: macos-11
23+
runs-on: macos-12
2424
defaults:
2525
run:
2626
shell: bash
@@ -48,6 +48,7 @@ jobs:
4848
SDIST: ${{ matrix.build_sdist || 0 }}
4949
ENABLE_HEADLESS: ${{ matrix.without_gui }}
5050
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
51+
_PYTHON_HOST_PLATFORM: macosx-11.0-x86_64
5152
steps:
5253
- name: Cleanup
5354
run: find . -mindepth 1 -delete
@@ -98,7 +99,7 @@ jobs:
9899

99100
Test:
100101
needs: [Build]
101-
runs-on: macos-11
102+
runs-on: macos-12
102103
defaults:
103104
run:
104105
shell: bash

travis_osx_brew_cache.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function _brew_parse_bottle_json {
265265

266266
local JSON; JSON="${1:?}"; shift
267267

268-
local JSON_DATA; JSON_DATA=$(python2.7 -c 'if True:
268+
local JSON_DATA; JSON_DATA=$(python3 -c 'if True:
269269
import sys,json; j=json.load(open(sys.argv[1],"rb")); [name]=j.keys(); [pdata]=j.values()
270270
print name
271271
print pdata["formula"]["pkg_version"]
@@ -292,7 +292,7 @@ function _brew_parse_package_info {
292292
PACKAGE="${1:?}"; shift
293293
OS_CODENAME="${1:?}"; shift
294294

295-
local JSON_DATA; JSON_DATA=$(python2.7 -c 'if True:
295+
local JSON_DATA; JSON_DATA=$(python3 -c 'if True:
296296
import sys, json, subprocess; j=json.loads(subprocess.check_output(("brew","info","--json=v1",sys.argv[1])))
297297
data=j[0]
298298
revision=data["revision"]

0 commit comments

Comments
 (0)