@@ -46,24 +46,14 @@ jobs:
46
46
matrix :
47
47
os : ['windows-latest', 'macOS-latest', 'ubuntu-latest']
48
48
rust : ['nightly'] # ['stable', 'beta']
49
- python-version : ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', "3.13"]
50
- exclude : # Python < 3.8 is not supported on Apple Silicon ARM64
51
- - os : macOS-latest
52
- python-version : ' 3.7'
53
- - os : ubuntu-latest
54
- python-version : ' 3.7'
55
- include : # So run on older version on Intel CPU
56
- - os : macOS-13
57
- python-version : ' 3.7'
58
- - os : ubuntu-22.04
59
- python-version : ' 3.7'
49
+ python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', "3.13"]
60
50
61
51
env :
62
52
PYTHON : ${{ matrix.python-version }}
63
53
64
54
steps :
65
- - uses : actions/checkout@v3
66
- - uses : actions/setup-python@v4
55
+ - uses : actions/checkout@v4
56
+ - uses : actions/setup-python@v5
67
57
with :
68
58
python-version : ${{ matrix.python-version }}
69
59
- run : pip install -r tests/requirements.txt
91
81
- run : make test # Test Python
92
82
93
83
- name : Upload coverage to Codecov
94
- uses : codecov/codecov-action@v3
84
+ uses : codecov/codecov-action@v5
95
85
96
86
Build :
97
87
# Perhaps smth more in line with this https://github.com/messense/crfs-rs/blob/main/.github/workflows/Python.yml
@@ -146,10 +136,10 @@ jobs:
146
136
- uses : actions/checkout@v3
147
137
148
138
- name : set up python
149
- uses : actions/setup-python@v4
150
- # with:
151
- # python-version: '3.11'
152
- # architecture: ${{ matrix.python-architecture || 'x64' }}
139
+ uses : actions/setup-python@v5
140
+ with :
141
+ python-version : 3.13
142
+ architecture : ${{ matrix.python-architecture || 'x64' }}
153
143
154
144
- name : build sdist
155
145
if : ${{ matrix.os == 'ubuntu' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
@@ -165,13 +155,13 @@ jobs:
165
155
target : ${{ matrix.target }}
166
156
manylinux : ${{ matrix.manylinux || 'auto' }}
167
157
container : ${{ matrix.container }}
168
- args : --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3. 8 3.9 3.10 3.11 3.12' }}
158
+ args : --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 ' }}
169
159
170
160
- run : ${{ matrix.ls || 'ls -lh' }} dist/
171
161
172
- - uses : actions/upload-artifact@v3
162
+ - uses : actions/upload-artifact@v4
173
163
with :
174
- name : pypi_files
164
+ name : pypi_files-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.interpreter || 'all' }}-${{ matrix.manylinux || 'auto' }}
175
165
path : dist
176
166
177
167
Release :
@@ -187,12 +177,13 @@ jobs:
187
177
# with:
188
178
# python-version: '3.10'
189
179
190
- - run : pip install -U twine
180
+ - run : pip install -U twine packaging
191
181
192
182
- name : get dist artifacts
193
- uses : actions/download-artifact@v3
183
+ uses : actions/download-artifact@v4
194
184
with :
195
- name : pypi_files
185
+ pattern : pypi_files-*
186
+ merge-multiple : true
196
187
path : dist
197
188
198
189
- run : twine check dist/*
0 commit comments