diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index ae6226de..a513a96e 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -26,7 +26,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Documentation Test -- Checkout Repository @@ -78,7 +78,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Molecule Lint -- Checkout Repository @@ -120,7 +120,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Push Test -- Checkout Repository @@ -248,7 +248,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Security Test -- Checkout Repository @@ -295,7 +295,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Shellcheck -- Checkout Repository @@ -392,7 +392,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Workflow Lint -- Checkout Repository diff --git a/README.md b/README.md index 67b182fc..dec1cb84 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,7 @@ Ansible Role Development Environment. This template generates a development environment for Ansible Roles with a functional CI/CD template for both Travis CI and Github. ## Requirements -You'll need [Python](https://www.python.org/) 3.6.1 or later to use this template. - -Warning: [Ansible is moving towards Python 3.8 soon](https://github.com/ansible/ansible/issues/72668). +You'll need [Python](https://www.python.org/) 3.8 or later to use this template. ## Quick Start Guide diff --git a/{{cookiecutter.project_slug}}/.github/workflows/push.yml b/{{cookiecutter.project_slug}}/.github/workflows/push.yml index 5635fb3e..26858d4d 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/push.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/push.yml @@ -103,7 +103,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: @@ -146,7 +146,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Molecule Test -- Checkout Repository @@ -188,7 +188,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Security Test -- Checkout Repository @@ -280,7 +280,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: - name: Workflow Lint -- Checkout Repository diff --git a/{{cookiecutter.project_slug}}/.github/workflows/release.yml b/{{cookiecutter.project_slug}}/.github/workflows/release.yml index c43b104d..49fe0037 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/release.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7] + python-version: [3.8] steps: diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index 109f1555..5ddde475 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -5,15 +5,17 @@ description = "{{cookiecutter.description}}" authors = ["{{cookiecutter.author}} <{{cookiecutter.email}}>"] [tool.poetry.dependencies] -python = ">=3.6.1,<4.0" -ansible = "^4.1.0" +python = ">=3.8.0,<4.0" +ansible = "^5.1.0" [tool.poetry.dev-dependencies] -ansible-lint = "^5.0.8" -commitizen = "^2.17.6" -molecule = {extras = ["docker"], version = "^3.3.0"} -molecule-docker = "<1.0.0" -yamllint = "^1.26.1" +ansible-lint = "^5.3.1" +commitizen = "^2.20.3" +molecule = {extras = ["docker"], version = "^3.5.2"} +molecule-docker = "^1.1.0" +# Workaround for https://github.com/ansible-community/ansible-lint/issues/1795 +rich = "^10.16.2" +yamllint = "^1.26.3" [build-system] requires = ["poetry-core>=1.0.0"]