Skip to content

Commit 5c74fe5

Browse files
committed
Build: Update targets, tools and dependencies.
1 parent 7a02e09 commit 5c74fe5

File tree

4 files changed

+26
-24
lines changed

4 files changed

+26
-24
lines changed

.github/workflows/ci.yml

+22-20
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.10"
17+
python-version: "3.12"
1818

1919
- name: Install Python dependencies
2020
run: python -m pip install -r requirements.txt
@@ -23,13 +23,13 @@ jobs:
2323
run: make sdist
2424

2525
- name: Release
26-
uses: softprops/action-gh-release@v1
26+
uses: softprops/action-gh-release@v2
2727
if: startsWith(github.ref, 'refs/tags/')
2828
with:
2929
files: dist/*.tar.gz
3030

3131
- name: Upload sdist
32-
uses: actions/upload-artifact@v3
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: sdist
3535
path: dist/*.tar.gz
@@ -65,6 +65,8 @@ jobs:
6565
pyversion: "cp311*"
6666
- image: manylinux_2_28_aarch64
6767
pyversion: "cp312*"
68+
- image: manylinux_2_28_aarch64
69+
pyversion: "cp313*"
6870

6971
- image: musllinux_1_1_aarch64
7072
pyversion: "cp37*"
@@ -78,16 +80,18 @@ jobs:
7880
pyversion: "cp311*"
7981
- image: musllinux_1_1_aarch64
8082
pyversion: "cp312*"
83+
- image: musllinux_1_1_aarch64
84+
pyversion: "cp313*"
8185

8286
runs-on: ubuntu-latest
8387

8488
steps:
85-
- uses: actions/checkout@v3
89+
- uses: actions/checkout@v4
8690

87-
- name: Set up Python 3.10
88-
uses: actions/setup-python@v4
91+
- name: Set up Python 3.12
92+
uses: actions/setup-python@v5
8993
with:
90-
python-version: "3.10"
94+
python-version: "3.12"
9195

9296
- name: Install Dependencies
9397
run: |
@@ -101,13 +105,13 @@ jobs:
101105
run: cp -v wheelhouse*/fastrlock*.whl dist/
102106

103107
- name: Release
104-
uses: softprops/action-gh-release@v1
108+
uses: softprops/action-gh-release@v2
105109
if: startsWith(github.ref, 'refs/tags/')
106110
with:
107111
files: dist/*-m*linux*.whl # manylinux / musllinux
108112

109113
- name: Archive Wheels
110-
uses: actions/upload-artifact@v3
114+
uses: actions/upload-artifact@v4
111115
with:
112116
name: ${{ matrix.image }}
113117
path: dist/*-m*linux*.whl # manylinux / musllinux
@@ -123,32 +127,30 @@ jobs:
123127
os: [macos-latest, windows-latest]
124128
python-version:
125129
- "2.7"
126-
- "3.5"
127-
- "3.6"
128130
- "3.7"
129131
- "3.8"
130132
- "3.9"
131133
- "3.10"
132134
- "3.11"
133-
- "3.12-dev"
135+
- "3.12"
136+
- "3.13"
137+
- "3.14-dev"
134138

135139
exclude:
136140
# fails due to lack of a compatible compiler
137141
- os: windows-latest
138142
python-version: 2.7
139-
- os: windows-latest
140-
python-version: 3.5
141143

142144
runs-on: ${{ matrix.os }}
143145

144146
env:
145147
MACOSX_DEPLOYMENT_TARGET: 10.15
146148

147149
steps:
148-
- uses: actions/checkout@v3
150+
- uses: actions/checkout@v4
149151

150152
- name: Set up Python
151-
uses: actions/setup-python@v4
153+
uses: actions/setup-python@v5
152154
if: startsWith(matrix.python-version, '3.')
153155
with:
154156
python-version: ${{ matrix.python-version }}
@@ -162,13 +164,13 @@ jobs:
162164
python setup.py bdist_wheel
163165
164166
- name: Release
165-
uses: softprops/action-gh-release@v1
167+
uses: softprops/action-gh-release@v2
166168
if: startsWith(github.ref, 'refs/tags/')
167169
with:
168170
files: dist/*.whl
169171

170172
- name: Archive Wheels
171-
uses: actions/upload-artifact@v3
173+
uses: actions/upload-artifact@v4
172174
with:
173175
name: ${{ matrix.os }}-wheels
174176
path: dist/*.whl

requirements-appveyor.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
tox
22
pytest
33
coverage
4-
Cython==3.0.2
4+
Cython==3.0.11
55
codecov
66
setuptools
77
wheel

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Cython>=3.0.2
1+
Cython>=3.0.11, <3.1
22
setuptools
33
wheel

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{27,35,36,37,38,39,310,311}
2+
envlist = py{27,37,38,39,310,311,312,313}
33

44
[testenv]
55
platform =
@@ -13,7 +13,7 @@ skip_install = true
1313
passenv = *
1414

1515
commands_pre =
16-
python -m pip install pytest Cython
16+
python -m pip install pytest -r requirements.txt
1717
python setup.py build_ext -i
1818
python -m pip install .
1919

0 commit comments

Comments
 (0)