From 15bd2ce5470b53bf2a67a6501740918de0756330 Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Mon, 20 Oct 2025 20:11:55 +0900 Subject: [PATCH 1/4] Add 3.14 (fix #113) --- .github/workflows/test_manylinux.yml | 5 ++++- .github/workflows/windows.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_manylinux.yml b/.github/workflows/test_manylinux.yml index 5acc551..931713d 100644 --- a/.github/workflows/test_manylinux.yml +++ b/.github/workflows/test_manylinux.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] include: - python-version: '3.9' py-short: '39' @@ -25,6 +25,9 @@ jobs: - python-version: '3.13' py-short: 313 py-short2: 313 + - python-version: '3.14' + py-short: 314 + py-short2: 314 env: PYTHON: /opt/python/cp${{ matrix.py-short }}-cp${{ matrix.py-short2 }}/bin/python steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0d06ca1..4359b8d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] include: - python-version: '3.9' py-short: '39' @@ -30,6 +30,9 @@ jobs: - python-version: '3.13' py-short: 313 py-short2: 313 + - python-version: '3.14' + py-short: 314 + py-short2: 314 steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From 1476243844213d6d25c0ae0c1d1cfd7c7858dbd1 Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Thu, 23 Oct 2025 14:13:02 +0900 Subject: [PATCH 2/4] Add 3.14 in more places Wheels were not actually being build except for Windows. --- .github/workflows/entrypoint.sh | 2 +- .github/workflows/manylinux1.yml | 6 +++--- .github/workflows/osx.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/entrypoint.sh b/.github/workflows/entrypoint.sh index 544e553..5fa76a5 100755 --- a/.github/workflows/entrypoint.sh +++ b/.github/workflows/entrypoint.sh @@ -21,7 +21,7 @@ make install export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ # Build the wheels -Python="cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313" +Python="cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313 cp314-cp314" for PYVER in $Python; do # build the wheels /opt/python/$PYVER/bin/pip wheel /github/workspace -w /github/workspace/wheels || { echo "Failed while buiding $PYVER wheel"; exit 1; } diff --git a/.github/workflows/manylinux1.yml b/.github/workflows/manylinux1.yml index 2decd78..744541c 100644 --- a/.github/workflows/manylinux1.yml +++ b/.github/workflows/manylinux1.yml @@ -10,7 +10,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '>=3.9 <3.14' + python-version: '>=3.9 <3.15' - name: install MeCab run: | git clone --depth=1 https://github.com/taku910/mecab.git @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '>=3.9 <3.14' + python-version: '>=3.9 <3.15' - name: build array of wheels uses: ./.github/workflows/actions/build-manylinux/ - name: Upload Wheels @@ -66,7 +66,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '>=3.9 <3.14' + python-version: '>=3.9 <3.15' - name: Set up QEMU id: qemu uses: docker/setup-qemu-action@v1 diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 66bc2e8..6ce5935 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -13,7 +13,7 @@ jobs: - name: Set up python uses: actions/setup-python@v5 with: - python-version: '>=3.8 <3.14' + python-version: '>=3.9 <3.15' - name: Download and build MeCab shell: bash run: | From 5459de5464aa35f566ddb3229bf256b64724731f Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Thu, 23 Oct 2025 18:28:40 +0900 Subject: [PATCH 3/4] Bump cibuildwheel in osx build It looks like this will raise the supported Python versions --- .github/macos-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/macos-build.sh b/.github/macos-build.sh index 7ab2196..90c971c 100755 --- a/.github/macos-build.sh +++ b/.github/macos-build.sh @@ -49,6 +49,6 @@ sudo make install cd ../.. python -m pip install --upgrade pip -python -m pip install cibuildwheel==2.23.3 +python -m pip install cibuildwheel==3.2.1 python -m cibuildwheel --platform macos --archs x86_64,arm64,universal2 --output-dir dist From a3c98b885542ad6c073c318853837cd7528cdbee Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Thu, 23 Oct 2025 19:24:53 +0900 Subject: [PATCH 4/4] Bump Cython version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d440924..01a80bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["Cython~=3.0.11", "setuptools>=77", "setuptools-scm>=8"] +requires = ["Cython~=3.1.5", "setuptools>=77", "setuptools-scm>=8"] build-backend = "setuptools.build_meta" [project]