Skip to content

Commit

Permalink
Bump minimum Python to 3.8
Browse files Browse the repository at this point in the history
3.8 will also have to be removed soon, but it can stay for now.

There will probably not be a release made with just this change, but
it'll fix builds for now.
  • Loading branch information
polm committed Sep 29, 2024
1 parent 602fe85 commit 1bf293c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manylinux1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '>=3.7 <3.13'
python-version: '>=3.8 <3.13'
- name: install MeCab
run: |
git clone --depth=1 https://github.com/taku910/mecab.git
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '>=3.7 <3.13'
python-version: '>=3.8 <3.13'
- name: build array of wheels
uses: ./.github/workflows/actions/build-manylinux/
- name: Upload Wheels
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '>=3.7 <3.13'
python-version: '>=3.8 <3.13'
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test_manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
include:
- python-version: '3.7'
py-short: '37'
py-short2: '37m'
- python-version: '3.8'
py-short: '38'
py-short2: '38'
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
include:
- python-version: '3.7'
py-short: '37'
py-short2: '37m'
- python-version: '3.8'
py-short: '38'
py-short2: '38'
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ classifiers =
Operating System :: MacOS :: MacOS X
Programming Language :: Cython
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Natural Language :: Japanese
Topic :: Text Processing :: Linguistic

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"License :: OSI Approved :: MIT License",
"Natural Language :: Japanese",
],
python_requires='>=3.7',
python_requires='>=3.8',
ext_modules=[extensions],
data_files=data_files,
entry_points={
Expand Down

0 comments on commit 1bf293c

Please sign in to comment.