@@ -46,24 +46,14 @@ jobs:
4646 matrix :
4747 os : ['windows-latest', 'macOS-latest', 'ubuntu-latest']
4848 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"]
6050
6151 env :
6252 PYTHON : ${{ matrix.python-version }}
6353
6454 steps :
65- - uses : actions/checkout@v3
66- - uses : actions/setup-python@v4
55+ - uses : actions/checkout@v4
56+ - uses : actions/setup-python@v5
6757 with :
6858 python-version : ${{ matrix.python-version }}
6959 - run : pip install -r tests/requirements.txt
9181 - run : make test # Test Python
9282
9383 - name : Upload coverage to Codecov
94- uses : codecov/codecov-action@v3
84+ uses : codecov/codecov-action@v5
9585
9686 Build :
9787 # Perhaps smth more in line with this https://github.com/messense/crfs-rs/blob/main/.github/workflows/Python.yml
@@ -146,10 +136,10 @@ jobs:
146136 - uses : actions/checkout@v3
147137
148138 - 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' }}
153143
154144 - name : build sdist
155145 if : ${{ matrix.os == 'ubuntu' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
@@ -165,13 +155,13 @@ jobs:
165155 target : ${{ matrix.target }}
166156 manylinux : ${{ matrix.manylinux || 'auto' }}
167157 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 ' }}
169159
170160 - run : ${{ matrix.ls || 'ls -lh' }} dist/
171161
172- - uses : actions/upload-artifact@v3
162+ - uses : actions/upload-artifact@v4
173163 with :
174- name : pypi_files
164+ name : pypi_files-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.interpreter || 'all' }}-${{ matrix.manylinux || 'auto' }}
175165 path : dist
176166
177167 Release :
@@ -187,12 +177,13 @@ jobs:
187177 # with:
188178 # python-version: '3.10'
189179
190- - run : pip install -U twine
180+ - run : pip install -U twine packaging
191181
192182 - name : get dist artifacts
193- uses : actions/download-artifact@v3
183+ uses : actions/download-artifact@v4
194184 with :
195- name : pypi_files
185+ pattern : pypi_files-*
186+ merge-multiple : true
196187 path : dist
197188
198189 - run : twine check dist/*
0 commit comments