3333 strategy :
3434 fail-fast : false
3535 matrix :
36- python-version : ['3.7 ', '3.11', '3.12']
36+ python-version : ['3.8 ', '3.11', '3.12']
3737 python-architecture : ['x64']
3838 extra-args : ['']
3939 os : [ubuntu, macos, windows]
5151 extra-args : ' --forked -m "not llvm"'
5252
5353 # add 32-bit build on windows
54- - python-version : ' 3.8 '
54+ - python-version : ' 3.9 '
5555 python-architecture : ' x86'
5656 os : windows
5757
@@ -70,22 +70,18 @@ jobs:
7070 # https://github.com/ionelmc/pytest-benchmark/issues/243
7171 extra-args : ' -m benchmark --benchmark-enable --benchmark-only --benchmark-min-rounds=2 --benchmark-max-time=0.001 --benchmark-warmup=off -n0 --dist=no'
7272
73- # add python 3.7 with deps restricted to min supported version
74- - python-version : ' 3.7'
75- python-architecture : ' x64'
76- os : ubuntu
77- version-restrict : ' min'
78-
79- # add python 3.8 build on macos since 3.7 is broken
80- # https://github.com/actions/virtual-environments/issues/4230
81- # use default python-architecture
73+ # add python 3.8 with deps restricted to min supported version
74+ # use default python architecture
75+ # https://github.com/actions/setup-python/issues/960
8276 - python-version : ' 3.8'
8377 os : macos
78+ version-restrict : ' min'
8479
8580 exclude :
86- # 3.7 is broken on macos-11,
87- # https://github.com/actions/virtual-environments/issues/4230
88- - python-version : ' 3.7'
81+ # 3.8/x64 python is broken on aarch64 macos runners
82+ # https://github.com/actions/setup-python/issues/960
83+ - python-version : ' 3.8'
84+ python-architecture : ' x64'
8985 os : macos
9086
9187 steps :
@@ -112,7 +108,8 @@ jobs:
112108 if : ${{ matrix.version-restrict == 'min' }}
113109 shell : bash
114110 run : |
115- sed -i '/^[^#]/s/>=/==/' *requirements.txt
111+ # macos/bsd sed requires backup suffix argument to -i
112+ sed -i=.bak -e '/^[^#]/s/>=/==/' *requirements.txt
116113 git config user.name "github actions"
117114 git config user.email "none"
118115 git commit -a -m "Restrict version of direct dependencies to min"
0 commit comments