diff --git a/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %} b/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %} index c05f29a1..6be8dc5d 100644 --- a/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %} +++ b/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %} @@ -46,10 +46,10 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v4 - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.12 - name: Python info shell: bash -e {0} run: | diff --git a/template/.github/workflows/{% if AddGitHubActionDocumentation %}documentation.yml{% endif %} b/template/.github/workflows/{% if AddGitHubActionDocumentation %}documentation.yml{% endif %} index f875b720..90dd50c5 100644 --- a/template/.github/workflows/{% if AddGitHubActionDocumentation %}documentation.yml{% endif %} +++ b/template/.github/workflows/{% if AddGitHubActionDocumentation %}documentation.yml{% endif %} @@ -16,10 +16,10 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v4 - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.12 - name: Python info shell: bash -e {0} run: | @@ -30,7 +30,7 @@ jobs: python -m pip install --upgrade pip setuptools python -m pip install .[dev,publishing] - name: Install pandoc using apt - run: sudo apt install pandoc + run: sudo apt install pandoc - name: Build documentation run: make coverage doctest html working-directory: docs diff --git a/template/.github/workflows/{% if AddSonarCloud %}sonarcloud.yml{% endif %} b/template/.github/workflows/{% if AddSonarCloud %}sonarcloud.yml{% endif %} index e8ca8152..61245253 100644 --- a/template/.github/workflows/{% if AddSonarCloud %}sonarcloud.yml{% endif %} +++ b/template/.github/workflows/{% if AddSonarCloud %}sonarcloud.yml{% endif %} @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.12 - name: Python info shell: bash -e {0} run: | diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index 0ec6f942..f9658e82 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -38,7 +38,7 @@ keywords = [ license = {file = "LICENSE"} name = "{{ package_name }}" readme = {file = "README.md", content-type = "text/markdown"} -requires-python = ">=3.8" +requires-python = ">=3.10" version = "{{ version }}" [project.optional-dependencies] @@ -87,7 +87,7 @@ command_line = "-m pytest" [tool.tox] legacy_tox_ini = """ [tox] -envlist = py38,py39,py310,py311,py312 +envlist = py310,py311,py312 skip_missing_interpreters = true [testenv] commands = pytest