@@ -10,28 +10,28 @@ jobs:
10
10
11
11
tests :
12
12
name : Run tests
13
- runs-on : ubuntu-22 .04
13
+ runs-on : ubuntu-24 .04
14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
- uses : actions/setup-python@v4
17
17
with :
18
- python-version : 3.11
18
+ python-version : 3.13
19
19
- run : pip install tox
20
20
- run : tox
21
21
env :
22
- TOXENV : 3.11
22
+ TOXENV : 3.13
23
23
24
24
linters :
25
25
name : Run linters
26
- runs-on : ubuntu-22 .04
26
+ runs-on : ubuntu-24 .04
27
27
strategy :
28
28
matrix :
29
29
toxenv : [flake8, pydocstyle, mypy, pylint]
30
30
steps :
31
31
- uses : actions/checkout@v3
32
32
- uses : actions/setup-python@v4
33
33
with :
34
- python-version : 3.11
34
+ python-version : 3.13
35
35
- run : pip install tox
36
36
- run : tox
37
37
env :
@@ -40,15 +40,18 @@ jobs:
40
40
build-sdist :
41
41
name : Build source tarball
42
42
needs : [tests, linters]
43
- runs-on : ubuntu-22 .04
43
+ runs-on : ubuntu-24 .04
44
44
steps :
45
45
- uses : actions/checkout@v3
46
46
- uses : actions/setup-python@v4
47
47
with :
48
- python-version : 3.11
49
- - run : python setup.py sdist
50
- - uses : actions/upload-artifact@v3
48
+ python-version : 3.13
49
+ - run : |
50
+ python -m pip install --upgrade build
51
+ python -m build --sdist
52
+ - uses : actions/upload-artifact@v4
51
53
with :
54
+ name : cibw-sdist
52
55
path : ./dist/*
53
56
54
57
build-wheels :
@@ -57,43 +60,28 @@ jobs:
57
60
runs-on : ${{ matrix.os }}
58
61
strategy :
59
62
matrix :
60
- os : [ubuntu-22 .04, windows-2019, macos-11 ]
63
+ os : [ubuntu-24 .04, ubuntu-24.04-arm, windows-2019, macos-14 ]
61
64
env :
62
- CIBW_SKIP : cp27-win *
65
+ CIBW_SKIP : cp27-*
63
66
steps :
64
67
- uses : actions/checkout@v3
65
68
- name : Build wheels
66
-
67
- - uses : actions/upload-artifact@v3
68
- with :
69
- path : ./wheelhouse/*.whl
70
-
71
- build-wheels-linux-aarch64 :
72
- name : Build wheels (ubuntu-22.04-aarch64)
73
- needs : [tests, linters]
74
- runs-on : ubuntu-22.04
75
- steps :
76
- - uses : actions/checkout@v3
77
- - name : Set up QEMU
78
- if : runner.os == 'Linux'
79
- uses : docker/setup-qemu-action@v2
80
- - name : Build wheels
81
-
82
- env :
83
- CIBW_ARCHS_LINUX : aarch64
84
- - uses : actions/upload-artifact@v3
69
+
70
+ - uses : actions/upload-artifact@v4
85
71
with :
72
+ name : cibw-wheels-x86-${{ matrix.os }}-${{ strategy.job-index }}
86
73
path : ./wheelhouse/*.whl
87
74
88
75
publish :
89
76
name : Publish on PyPI
90
- needs : [build-sdist, build-wheels, build-wheels-linux-aarch64 ]
91
- runs-on : ubuntu-22 .04
77
+ needs : [build-sdist, build-wheels]
78
+ runs-on : ubuntu-24 .04
92
79
steps :
93
- - uses : actions/download-artifact@v3
80
+ - uses : actions/download-artifact@v4
94
81
with :
95
- name : artifact
82
+ pattern : cibw-*
96
83
path : dist
84
+ merge-multiple : true
97
85
- uses : pypa/gh-action-pypi-publish@release/v1
98
86
with :
99
87
user : __token__
@@ -105,14 +93,14 @@ jobs:
105
93
publish-docs :
106
94
name : Publish docs
107
95
needs : [publish]
108
- runs-on : ubuntu-22 .04
96
+ runs-on : ubuntu-24 .04
109
97
steps :
110
98
- uses : actions/checkout@v3
111
99
- uses : actions/setup-python@v4
112
100
with :
113
- python-version : 3.11
114
- - run : pip install -r requirements-doc.txt
101
+ python-version : 3.13
115
102
- run : pip install awscli
103
+ - run : pip install -r requirements-doc.txt
116
104
- run : pip install -e .
117
105
- run : (cd docs && make clean html)
118
106
- run : |
0 commit comments