Skip to content

Commit 97c4cca

Browse files
committed
bump python and github action versions
1 parent c7f71bc commit 97c4cca

File tree

5 files changed

+8364
-1573
lines changed

5 files changed

+8364
-1573
lines changed

.github/workflows/tests.yml

+5-30
Original file line numberDiff line numberDiff line change
@@ -10,46 +10,21 @@ jobs:
1010
# Ensure that a wheel builder finishes even if another fails
1111
fail-fast: false
1212
matrix:
13-
include:
14-
# manylinux builds
15-
- os: ubuntu-latest
16-
python: "36"
17-
platform: manylinux_x86_64
18-
- os: ubuntu-latest
19-
python: "37"
20-
platform: manylinux_x86_64
21-
- os: ubuntu-latest
22-
python: "38"
23-
platform: manylinux_x86_64
24-
25-
# macos builds
26-
- os: macos-latest
27-
python: "38"
28-
platform: macosx_x86_64
29-
30-
# Windows builds
31-
- os: windows-2019
32-
python: "36"
33-
platform: win_amd64
34-
- os: windows-2019
35-
python: "37"
36-
platform: win_amd64
37-
- os: windows-2019
38-
python: "38"
39-
platform: win_amd64
13+
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
14+
os: [ubuntu-latest, windows-latest, macos-latest]
4015

4116
steps:
42-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
4318

4419
- name: Build wheels
45-
uses: pypa/cibuildwheel@v2.1.3
20+
uses: pypa/cibuildwheel@v2.17.0
4621
env:
4722
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform }}
4823
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
4924
CIBW_BUILD_VERBOSITY: 3
5025
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev.txt
5126
CIBW_TEST_COMMAND: pytest -sv {project}/tests
5227

53-
- uses: actions/upload-artifact@v2
28+
- uses: actions/upload-artifact@v4
5429
with:
5530
path: ./wheelhouse/*.whl

Makefile

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
.PHONY: build dist redist install install-from-source clean uninstall
2-
3-
build:
4-
CYTHONIZE=1 ./setup.py build
5-
6-
dist:
7-
CYTHONIZE=1 ./setup.py sdist bdist_wheel
8-
9-
redist: clean dist
1+
.PHONY: install clean uninstall
102

113
install:
124
CYTHONIZE=1 pip install .
135

14-
install-from-source: dist
15-
pip install dist/cython-package-example-0.1.5.tar.gz
16-
176
clean:
187
$(RM) -r build dist ./*.egg-info
198
$(RM) -r editdistpy/damerau_osa.cpp editdistpy/levenshtein.cpp
209
$(RM) -r .pytest_cache
2110
find . -name __pycache__ -exec rm -r {} +
22-
#git clean -fdX
2311

2412
uninstall:
25-
pip uninstall cython-package-example
13+
pip uninstall editdistpy

0 commit comments

Comments
 (0)