Skip to content

Commit 38f679b

Browse files
authored
Add 3.13 builds (#97)
* Add 3.13 builds * Update Cython version Cython actually did jump from 0.29 to 3.0, there are no versions in between. * Update cibuildwheel Also fix mac versions
1 parent cba9403 commit 38f679b

8 files changed

+16
-10
lines changed

.github/macos-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ sudo make install
4949
cd ../..
5050

5151
python -m pip install --upgrade setuptools wheel pip setuptools-scm
52-
python -m pip install cibuildwheel==2.17.0
52+
python -m pip install cibuildwheel==2.21.3
5353
pip install -r requirements.txt
5454

5555
python -m cibuildwheel --platform macos --archs x86_64,arm64,universal2 --output-dir dist

.github/workflows/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ make install
2121
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
2222

2323
# Build the wheels
24-
Python="cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312"
24+
Python="cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313"
2525
for PYVER in $Python; do
2626
# install cython first
2727
/opt/python/$PYVER/bin/pip install cython setuptools-scm

.github/workflows/manylinux1.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@v5
1212
with:
13-
python-version: '>=3.8 <3.13'
13+
python-version: '>=3.8 <3.14'
1414
- name: install MeCab
1515
run: |
1616
git clone --depth=1 https://github.com/taku910/mecab.git
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Python
4040
uses: actions/setup-python@v5
4141
with:
42-
python-version: '>=3.8 <3.13'
42+
python-version: '>=3.8 <3.14'
4343
- name: build array of wheels
4444
uses: ./.github/workflows/actions/build-manylinux/
4545
- name: Upload Wheels
@@ -66,7 +66,7 @@ jobs:
6666
- name: Set up Python
6767
uses: actions/setup-python@v5
6868
with:
69-
python-version: '>=3.8 <3.13'
69+
python-version: '>=3.8 <3.14'
7070
- name: Set up QEMU
7171
id: qemu
7272
uses: docker/setup-qemu-action@v1

.github/workflows/osx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: '>=3.7 <3.13'
16+
python-version: '>=3.8 <3.14'
1717
- name: Download and build MeCab
1818
shell: bash
1919
run: |

.github/workflows/test_manylinux.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
11+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1212
include:
1313
- python-version: '3.8'
1414
py-short: '38'
@@ -25,6 +25,9 @@ jobs:
2525
- python-version: '3.12'
2626
py-short: 312
2727
py-short2: 312
28+
- python-version: '3.13'
29+
py-short: 313
30+
py-short2: 313
2831
env:
2932
PYTHON: /opt/python/cp${{ matrix.py-short }}-cp${{ matrix.py-short2 }}/bin/python
3033
steps:

.github/workflows/windows.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
max-parallel: 5
1515
matrix:
16-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
16+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1717
include:
1818
- python-version: '3.8'
1919
py-short: '38'
@@ -30,6 +30,9 @@ jobs:
3030
- python-version: '3.12'
3131
py-short: 312
3232
py-short2: 312
33+
- python-version: '3.13'
34+
py-short: 313
35+
py-short2: 313
3336
steps:
3437
- uses: actions/checkout@v4
3538
- name: Set up Python ${{ matrix.python-version }}

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Cython~=0.29.35
1+
Cython~=3.0.11

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
'unidic': ['unidic'],
5757
'unidic-lite': ['unidic-lite'],
5858
},
59-
setup_requires=['wheel', 'Cython~=0.29.35', 'setuptools_scm'])
59+
setup_requires=['wheel', 'Cython~=3.0.11', 'setuptools_scm'])

0 commit comments

Comments
 (0)