Skip to content

Commit

Permalink
Increased minimum Python version to 3.9 to ensure Ansible compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpfleming committed Jul 24, 2023
1 parent 5284221 commit 36296fe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<a href="https://opensource.org"><img height="150" align="left" src="https://opensource.org/files/OSIApprovedCropped.png" alt="Open Source Initiative Approved License logo"></a>
[![CI](https://github.com/kpfleming/jinjanator-plugin-ansible/workflows/CI%20checks/badge.svg)](https://github.com/kpfleming/jinjanator-plugin-ansible/actions?query=workflow%3ACI%20checks)
[![Python](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/release/python-3812/)
[![Python](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/release/python-3912/)
[![License - Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-9400d3.svg)](https://spdx.org/licenses/Apache-2.0.html)
[![Code Style - Black](https://img.shields.io/badge/Code%20Style-Black-000000.svg)](https://github.com/psf/black)
[![Types - Mypy](https://img.shields.io/badge/Types-Mypy-blue.svg)](https://github.com/python/mypy)
Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license = { text="Apache-2.0" }
authors = [
{ name="Kevin P. Fleming", email="[email protected]" },
]
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -22,7 +22,6 @@ classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -118,7 +117,6 @@ dependencies = [

[[tool.hatch.envs.ci.matrix]]
python = [
"3.8",
"3.9",
"3.10",
"3.11",
Expand Down Expand Up @@ -181,7 +179,7 @@ line-length = 90
[tool.ruff]
src = ["src", "tests"]
format = "grouped"
target-version = "py38"
target-version = "py39"
select = ["ALL"]

ignore = [
Expand Down Expand Up @@ -219,7 +217,7 @@ addopts = [
]

[tool.mypy]
python_version = 3.8
python_version = 3.9
namespace_packages = true
explicit_package_bases = true
check_untyped_defs = true
Expand Down
2 changes: 1 addition & 1 deletion workflow-support/make_ci_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ proj_deps=(libsqlite3-0)
proj_build_deps=(build-essential libc6-dev pkg-config)

hatchenvs=(lint ci)
cimatrix=(3.8 3.9 3.10 3.11 3.12)
cimatrix=(3.9 3.10 3.11 3.12)

c=$(buildah from "${base_image}")

Expand Down
2 changes: 1 addition & 1 deletion workflow-support/versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
versions={"python": ["3.8", "3.9", "3.10", "3.11", "3.12"]}
versions={"python": ["3.9", "3.10", "3.11", "3.12"]}

0 comments on commit 36296fe

Please sign in to comment.