diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23cd9b0c..1850be56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set git crlf/eol run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16150934..b1f8ba05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-latest, windows-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set git crlf/eol diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb2fab18..e951d3ad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-useless-excludes - id: check-hooks-apply - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -21,7 +21,7 @@ repos: exclude: '(conda/meta.yaml|.pep8speaks.yml)' - repo: https://github.com/ambv/black - rev: 23.7.0 + rev: 24.10.0 hooks: - id: black name: "Format code" @@ -29,7 +29,7 @@ repos: language_version: python3 - repo: "https://github.com/asottile/blacken-docs" - rev: "1.16.0" + rev: "1.19.1" hooks: - id: "blacken-docs" name: "Format docs (blacken-docs)" @@ -38,7 +38,7 @@ repos: - "black==23.1.0" - repo: https://github.com/PyCQA/doc8 - rev: v1.1.1 + rev: v1.1.2 hooks: - id: doc8 args: @@ -54,7 +54,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/myint/autoflake - rev: v2.2.0 + rev: v2.3.1 hooks: - id: autoflake exclude: '(.*tests/.*|.*test.py$|^setup.py$|^test_.*.py$)' @@ -65,14 +65,14 @@ repos: - --remove-unused-variables - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 exclude: '(.*tests/.*|.*test.py$|^setup.py$|^test_.*.py$)' additional_dependencies: ["flake8-bugbear"] - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.8.0 hooks: - id: bandit args: ["-ll", "-x", "pystache/tests"] diff --git a/README.rst b/README.rst index 76d998c8..f9a4fb9e 100644 --- a/README.rst +++ b/README.rst @@ -9,7 +9,7 @@ Pystache This updated fork of Pystache is currently tested on Python 3.8+ and in -Conda, on Linux, Macos, and Windows (Python 2.7 is no longer supported). +Conda, on Linux, Macos, and Windows. |logo| @@ -40,6 +40,8 @@ Pystache is tested with: - Python 3.9 - Python 3.10 - Python 3.11 +- Python 3.12 +- Python 3.13 - Conda (py38 and py310) JSON support is needed only for the command-line interface and to run @@ -277,15 +279,6 @@ It's usually a good idea to update the hooks to the latest version:: .. _pre-commit: https://pre-commit.com/ -Mailing List (old) ------------------- - -There is(was) a `mailing list`_. Note that there is a bit of a delay -between posting a message and seeing it appear in the mailing list archive. - - -.. _mailing list: https://librelist.com/browser/pystache/ - Credits ======= diff --git a/pyproject.toml b/pyproject.toml index d15ddb7f..133dc5a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,8 @@ classifiers = [ "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", ] diff --git a/tox.ini b/tox.ini index 65f2aa0a..a245e24d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{8,9,10,11}-{linux,macos,windows} +envlist = py3{8,9,10,11,12,13}-{linux,macos,windows} skip_missing_interpreters = true isolated_build = true skipsdist = true @@ -10,6 +10,8 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 + 3.13: py313 [gh-actions:env] PLATFORM =