Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
build(POETRY): upgrade dependencies, python ver
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jan 9, 2022
1 parent 797dc9f commit b9309e4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Documentation Test -- Checkout Repository
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Molecule Lint -- Checkout Repository
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Push Test -- Checkout Repository
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Security Test -- Checkout Repository
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Shellcheck -- Checkout Repository
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Workflow Lint -- Checkout Repository
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions {{cookiecutter.project_slug}}/.github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:

Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Molecule Test -- Checkout Repository
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Security Test -- Checkout Repository
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Workflow Lint -- Checkout Repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: [3.8]

steps:

Expand Down
16 changes: 9 additions & 7 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit b9309e4

Please sign in to comment.