Skip to content

Commit

Permalink
drop python 3.7 and add python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tsroten committed May 25, 2024
1 parent 8b4e140 commit e06f51a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, macos-latest]
include:
- python-version: 3.7
py: py37
- python-version: 3.8
py: py38
- python-version: 3.9
Expand All @@ -22,6 +20,8 @@ jobs:
py: py310
- python-version: '3.11'
py: py311
- python-version: '3.12'
py: py312
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.7+. Check
3. The pull request should work for Python 3.8+. Check
https://github.com/tsroten/dragonmapper/actions/workflows/ci.yml
and make sure that the tests pass for all supported Python versions.
4. If you want to receive credit, add your name to `AUTHORS.rst`.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "MIT"
authors = [
{ name = "Thomas Roten", email = "[email protected]" },
]
requires-python = ">=3.7"
requires-python = ">=3.8"
keywords = [
"chinese",
"mandarin",
Expand All @@ -32,11 +32,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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
]
Expand Down Expand Up @@ -90,7 +90,7 @@ run = [
]

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

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

0 comments on commit e06f51a

Please sign in to comment.