File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 32
32
strategy :
33
33
matrix :
34
34
# https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job
35
+ # ubuntu-20.04 supports more versions of Python than ubuntu-22.04
36
+ # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
35
37
os : [windows-2019, macos-11, ubuntu-20.04]
36
38
37
39
steps :
@@ -45,14 +47,15 @@ jobs:
45
47
platforms : all
46
48
47
49
- name : Build wheels
48
- uses : pypa/cibuildwheel@v2.11.2
50
+ uses : pypa/cibuildwheel@v2.13.1
49
51
# https://cibuildwheel.readthedocs.io/en/stable/options/#options-summary
50
52
env :
51
53
# Windows - both 64-bit and 32-bit builds
52
54
CIBW_ARCHS_WINDOWS : " AMD64 x86"
53
55
54
- # macOS - both Intel and ARM builds; no bundled libraries
55
- CIBW_ARCHS_MACOS : " x86_64 arm64"
56
+ # macOS - just Intel build (ARM doesn't work); no bundled libraries
57
+ # https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile
58
+ CIBW_ARCHS_MACOS : x86_64
56
59
# prevent the addition of unixODBC dylibs to the wheel by simply not calling the repair
57
60
CIBW_REPAIR_WHEEL_COMMAND_MACOS : " "
58
61
Original file line number Diff line number Diff line change @@ -5,14 +5,16 @@ on: [push, pull_request]
5
5
jobs :
6
6
run_tests :
7
7
name : Run tests on Python ${{ matrix.python-version }}
8
+ # ubuntu-20.04 supports more versions of Python than ubuntu-22.04
9
+ # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
8
10
runs-on : ubuntu-20.04
9
11
10
12
strategy :
11
13
fail-fast : false
12
14
matrix :
15
+ # Github Actions no longer supports Python 2.7 (June 2023)
16
+ # https://github.com/actions/runner-images/issues/7401
13
17
include :
14
- - python-version : " 2.7"
15
- tests-dir : tests2
16
18
- python-version : " 3.6"
17
19
tests-dir : tests3
18
20
- python-version : " 3.7"
@@ -161,7 +163,7 @@ jobs:
161
163
- uses : actions/checkout@v3
162
164
163
165
- name : Set up Python ${{ matrix.python-version }}
164
- uses : actions/setup-python@v3
166
+ uses : actions/setup-python@v4
165
167
with :
166
168
python-version : ${{ matrix.python-version }}
167
169
You can’t perform that action at this time.
0 commit comments