@@ -10,28 +10,28 @@ jobs:
1010
1111 tests :
1212 name : Run tests
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414 steps :
1515 - uses : actions/checkout@v3
1616 - uses : actions/setup-python@v4
1717 with :
18- python-version : 3.11
18+ python-version : 3.13
1919 - run : pip install tox
2020 - run : tox
2121 env :
22- TOXENV : 3.11
22+ TOXENV : 3.13
2323
2424 linters :
2525 name : Run linters
26- runs-on : ubuntu-22 .04
26+ runs-on : ubuntu-24 .04
2727 strategy :
2828 matrix :
2929 toxenv : [flake8, pydocstyle, mypy, pylint]
3030 steps :
3131 - uses : actions/checkout@v3
3232 - uses : actions/setup-python@v4
3333 with :
34- python-version : 3.11
34+ python-version : 3.13
3535 - run : pip install tox
3636 - run : tox
3737 env :
@@ -40,15 +40,18 @@ jobs:
4040 build-sdist :
4141 name : Build source tarball
4242 needs : [tests, linters]
43- runs-on : ubuntu-22 .04
43+ runs-on : ubuntu-24 .04
4444 steps :
4545 - uses : actions/checkout@v3
4646 - uses : actions/setup-python@v4
4747 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
5153 with :
54+ name : cibw-sdist
5255 path : ./dist/*
5356
5457 build-wheels :
@@ -57,43 +60,28 @@ jobs:
5760 runs-on : ${{ matrix.os }}
5861 strategy :
5962 matrix :
60- os : [ubuntu-22 .04, windows-2019, macos-11 ]
63+ os : [ubuntu-24 .04, ubuntu-24.04-arm, windows-2019, macos-14 ]
6164 env :
62- CIBW_SKIP : cp27-win *
65+ CIBW_SKIP : cp27-*
6366 steps :
6467 - uses : actions/checkout@v3
6568 - 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
8571 with :
72+ name : cibw-wheels-x86-${{ matrix.os }}-${{ strategy.job-index }}
8673 path : ./wheelhouse/*.whl
8774
8875 publish :
8976 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
9279 steps :
93- - uses : actions/download-artifact@v3
80+ - uses : actions/download-artifact@v4
9481 with :
95- name : artifact
82+ pattern : cibw-*
9683 path : dist
84+ merge-multiple : true
9785 - uses : pypa/gh-action-pypi-publish@release/v1
9886 with :
9987 user : __token__
@@ -105,14 +93,14 @@ jobs:
10593 publish-docs :
10694 name : Publish docs
10795 needs : [publish]
108- runs-on : ubuntu-22 .04
96+ runs-on : ubuntu-24 .04
10997 steps :
11098 - uses : actions/checkout@v3
11199 - uses : actions/setup-python@v4
112100 with :
113- python-version : 3.11
114- - run : pip install -r requirements-doc.txt
101+ python-version : 3.13
115102 - run : pip install awscli
103+ - run : pip install -r requirements-doc.txt
116104 - run : pip install -e .
117105 - run : (cd docs && make clean html)
118106 - run : |
0 commit comments