Skip to content

Commit

Permalink
feat: require python>=3.10 (#108)
Browse files Browse the repository at this point in the history
Many Ansible development tools dropped earlier version of python. We are
following the trend.
  • Loading branch information
jooola committed Jul 15, 2024
1 parent 8c6dde9 commit a623c02
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

permissions:
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py39-plus]
args: [--py310-plus]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
],
python_requires=">=3.9",
python_requires=">=3.10",
install_requires=[
"molecule>=5.0.0,<24.8",
# Dependencies for the hetzner.hcloud collection
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[tox]
min_version = 4.0
env_list =
py{39,310,311,312}-molecule{5,6}
py{310,311,312}-molecule{5,6}
py{310,311,312}-molecule24

[testenv]
Expand All @@ -23,7 +23,6 @@ passenv =

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

0 comments on commit a623c02

Please sign in to comment.