Skip to content

Commit 1929642

Browse files
authored
Add 3.13 (#4)
* Add 3.13 everywhere * Update cibuildwheel * Upgrade upload-artifact action * Add version to windows wheel so artifact name is unique * Fix version line; remove 3.7 * Try fixing name for manylinux wheels The name collides on the build and upload-artifact is unhappy.
1 parent bd5398d commit 1929642

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

.github/macos-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sudo make install
5151
cd ../..
5252

5353
python -m pip install --upgrade setuptools wheel pip setuptools-scm
54-
python -m pip install cibuildwheel==2.17.0
54+
python -m pip install cibuildwheel==2.21.3
5555

5656
# don't bother with pypy wheels
5757
export CIBW_SKIP="pp*"

.github/workflows/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ make install
1818
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
1919

2020
# Build the wheels
21-
for PYVER in cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312; do
21+
for PYVER in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do
2222
# build the wheels
2323
/opt/python/$PYVER/bin/pip wheel /github/workspace -w /github/workspace/wheels || { echo "Failed while buiding $PYVER wheel"; exit 1; }
2424
done

.github/workflows/manylinux.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
3.10
1717
3.11
1818
3.12
19+
3.13
1920
- name: Cache mecab
2021
id: cache-mecab
2122
uses: actions/cache@v3
@@ -61,6 +62,7 @@ jobs:
6162
3.10
6263
3.11
6364
3.12
65+
3.13
6466
6567
- name: Cache mecab
6668
id: cache-mecab
@@ -89,9 +91,9 @@ jobs:
8991
uses: ./.github/workflows/actions_aarch64/build_wheels/
9092

9193
- name: Upload Wheels
92-
uses: actions/upload-artifact@v1
94+
uses: actions/upload-artifact@v4
9395
with:
94-
name: manylinux-wheels
96+
name: manylinux-wheels-${{ matrix.arch }}
9597
path: manylinux-wheels
9698
- name: Publish to PyPI if tagged
9799
if: startsWith(github.ref, 'refs/tags') && github.repository_owner == 'polm'

.github/workflows/osx.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
3.10
1717
3.11
1818
3.12
19+
3.13
1920
- name: Download and build MeCab
2021
shell: bash
2122
run: |
2223
.github/macos-build.sh
2324
- name: Upload Wheels
24-
uses: actions/upload-artifact@v1
25+
uses: actions/upload-artifact@v4
2526
with:
2627
name: osx-wheels
2728
path: dist

.github/workflows/test_manylinux.yml

+1-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
env:
1313
PYTHON: python${{ matrix.python-version }}
1414
steps:

.github/workflows/windows.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
max-parallel: 4
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
steps:
2932
- uses: actions/checkout@v4
3033
- name: Set up Python ${{ matrix.python-version }}
@@ -50,9 +53,9 @@ jobs:
5053
run: |
5154
python setup.py bdist_wheel
5255
- name: Upload Wheel
53-
uses: actions/upload-artifact@v1
56+
uses: actions/upload-artifact@v4
5457
with:
55-
name: win-wheels
58+
name: win-wheels-${{ matrix.python-version }}
5659
path: dist
5760
- name: Check wheels
5861
shell: bash

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def _get_pkg_data_files(self, package):
231231
"Programming Language :: Python :: 3.10",
232232
"Programming Language :: Python :: 3.11",
233233
"Programming Language :: Python :: 3.12",
234+
"Programming Language :: Python :: 3.13",
234235
"Intended Audience :: Developers",
235236
"Intended Audience :: Science/Research",
236237
"Natural Language :: Japanese",

0 commit comments

Comments
 (0)