Skip to content

Commit

Permalink
support python 3.9+
Browse files Browse the repository at this point in the history
  • Loading branch information
tsroten committed Nov 20, 2024
1 parent fc706fb commit 9cf9fef
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, macos-latest]
include:
- python-version: 3.7
py: py37
- python-version: 3.8
py: py38
- python-version: 3.9
py: py39
- python-version: '3.10'
py: py310
- python-version: '3.11'
py: py311
- python-version: '3.12'
py: py312
- python-version: '3.13'
py: py313
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Install Python dependencies
run: |
python -m pip install --upgrade hatch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Install Python dependencies
run: |
python -m pip install --upgrade hatch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Install Hatch
run: |
python -m pip install -U hatch
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ description = "A Python wrapper around the NLPIR/ICTCLAS Chinese segmentation so
readme = "README.rst"
license = "MIT"
authors = [
{ name = "Thomas Roten", email = "thomas@roten.us" },
{ name = "Thomas Roten" },
]
requires-python = ">=3.7"
requires-python = ">=3.9"
keywords = [
"pynlpir",
"nlpir",
Expand All @@ -31,11 +31,11 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
]
Expand Down Expand Up @@ -94,7 +94,7 @@ run = [
]

[[tool.hatch.envs.test.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11"]
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]

[tool.hatch.envs.style]
detached = true
Expand Down

0 comments on commit 9cf9fef

Please # to comment.