From d67c284383b348ba16edfbe7e6b670d2ec6eea91 Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 31 May 2026 20:10:25 -0700 Subject: [PATCH 1/5] chore(workflows): Update checkout and python setup CI workflow versions. --- .github/workflows/python-app.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 3e2fa80..11ce28e 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout PyTemplate Project - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v5 @@ -51,10 +51,10 @@ jobs: steps: - name: Checkout PyTemplate Project - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -86,7 +86,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download coverage data uses: actions/download-artifact@v4 @@ -113,7 +113,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Golang uses: actions/setup-go@v5 From c54f78b04b07be5aa21c83bde1344e3e16009884 Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 31 May 2026 20:13:08 -0700 Subject: [PATCH 2/5] ci(build-docs): Update gh pages action version used. --- .github/workflows/build-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 550df77..5f838fd 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,14 +15,14 @@ jobs: steps: - name: Checkout Project - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 fetch-tags: true ref: ${{ github.event.repository.default_branch }} - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: .python-version-default @@ -43,7 +43,7 @@ jobs: cp docs/source/_templates/redirect.html _build/index.html - name: Deploy to Github Pages - uses: peaceiris/actions-gh-pages@v4 + uses: peaceiris/actions-gh-pages@v4.1.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./_build From 6e70432b53fd757aab253f8911324cd9af0bc5bd Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 31 May 2026 20:25:12 -0700 Subject: [PATCH 3/5] chore(python-app): Update all python setup actions to v6. --- .github/workflows/python-app.yml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 11ce28e..cfb00e7 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: .python-version-default @@ -95,7 +95,7 @@ jobs: merge-multiple: true - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: .python-version-default diff --git a/pyproject.toml b/pyproject.toml index 76cb59c..32d1147 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [{ name = "Jason C Del Rio", email = "spillthetea917@gmail.com" }] maintainers = [{ name = "Jason C Del Rio", email = "spillthetea917@gmail.com" }] description = "Project description here." license = { file = "LICENSE" } -requires-python = ">=3.11" +requires-python = ">=3.8" keywords = ["keyword1", "keyword2"] classifiers = ["Programming Language :: Python :: 3"] dynamic = ["version", "readme", "dependencies"] From a85bbdfba59153df91381ad2fcfac1a02803a2ef Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 31 May 2026 20:27:42 -0700 Subject: [PATCH 4/5] chore(unit.test_version): static typing. --- tests/unit/test_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_version.py b/tests/unit/test_version.py index 7c7bf28..1eeee1b 100644 --- a/tests/unit/test_version.py +++ b/tests/unit/test_version.py @@ -32,11 +32,11 @@ from PyTemplate import __version__ -def test_version_type(): +def test_version_type() -> None: """Test defined version is a string.""" assert isinstance(__version__, str), "Expected string format version" -def test_version_value(): +def test_version_value() -> None: """Test version string starts with the letter v.""" assert __version__.lower().startswith("v"), "Expected version to begin with `v`" From b1ed32080a69302070ec8da84dc276bca481297e Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 31 May 2026 20:28:52 -0700 Subject: [PATCH 5/5] ci(tox): Update tox workflow to accommodate more python versions. --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 93f3f78..47f8795 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] requires = tox>=4 -envlist = type, lint, coverage, docs, py{38,39,310,311,312}-tests +envlist = type, lint, coverage, docs, py{38,39,310,311,312,313}-tests [testenv] description = Base Environment @@ -12,7 +12,7 @@ commands_pre = commands = coverage run --rcfile pyproject.toml -m pytest {posargs} -[testenv:py{38,39,310,311,312}-tests] +[testenv:py{38,39,310,311,312,313}-tests] description = Run Unit Tests commands_pre = {envpython} --version @@ -23,7 +23,7 @@ description = Report Code Coverage skip_install = true deps = coverage parallel_show_output = true -depends = py{38,39,310,311,312}-tests +depends = py{38,39,310,311,312,313}-tests commands = coverage combine --quiet --rcfile pyproject.toml coverage report --rcfile pyproject.toml {posargs}