From dcf43b5b264f1c0eb207ff17f378b0e9c0f6fdbb Mon Sep 17 00:00:00 2001 From: Alvaro Crespo Date: Mon, 18 Nov 2024 19:45:48 +0000 Subject: [PATCH 1/5] update yml files with Python 3.12 and 3.13 --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 From d0a823ca4ce6cbf0d0eea4550b59ca2bad9dc85b Mon Sep 17 00:00:00 2001 From: Alvaro Crespo Date: Mon, 18 Nov 2024 19:46:22 +0000 Subject: [PATCH 2/5] Update tox config to use Python 3.12 and 3.13 versions --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = From 5d78de5c9f8a4b3ef2189e78e960bece771b5770 Mon Sep 17 00:00:00 2001 From: Alvaro Crespo Date: Mon, 18 Nov 2024 19:49:30 +0000 Subject: [PATCH 3/5] Update pyproject.toml with 3.12 and 3.13 Python versions --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) 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", ] From 1befdf54c751a0f954905dbbad8264c82c2022f3 Mon Sep 17 00:00:00 2001 From: Thomas David Baker Date: Thu, 12 Dec 2024 13:50:28 +0000 Subject: [PATCH 4/5] Update pre-commit --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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"] From c13c7277462258316dd3b1c24a168b98ea104738 Mon Sep 17 00:00:00 2001 From: Thomas David Baker Date: Thu, 12 Dec 2024 13:51:53 +0000 Subject: [PATCH 5/5] Update README to match supported versions Remove some old stuff. --- README.rst | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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 =======