diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65cf340..1d0ba01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 9b71ebc..70b00f0 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -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`. diff --git a/pyproject.toml b/pyproject.toml index 1b6e6e6..1681388 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ license = "MIT" authors = [ { name = "Thomas Roten", email = "thomas@roten.us" }, ] -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = [ "chinese", "mandarin", @@ -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", ] @@ -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