Skip to content

Commit

Permalink
Drop/py36 37 support (#96)
Browse files Browse the repository at this point in the history
* updated min. python version to 3.8 for tests

* dropped support of python 3.6 and 3.7 and reformated ci

* updated python min. version in the development_guide
  • Loading branch information
KiLLuuuhh authored Apr 16, 2024
1 parent 9d15fcd commit cecd36b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ jobs:
- devel
# - milestone
python:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand All @@ -205,21 +203,16 @@ jobs:
python: '3.10'
- ansible: stable-2.11
python: '3.10'
# for Ansible >=2.15 Python 3.6 support has been deprecated
- ansible: devel
python: '3.6'
- ansible: devel
python: '3.7'
- ansible: stable-2.12
python: "3.11"
python: '3.11'
- ansible: stable-2.12
python: "3.12"
python: '3.12'
- ansible: stable-2.13
python: "3.11"
python: '3.11'
- ansible: stable-2.13
python: "3.12"
python: '3.12'
- ansible: stable-2.14
python: "3.12"
python: '3.12'


steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/docsite/rst/development_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Ansible documentation (`Prepare your environment
git clone [email protected]/<YOUR_GITHUB_HANDLE>/puzzle.opnsense.git \
<YOUR_WORKING_DIR>/ansible_collections/puzzle/opnsense
3. This collection supports Python versions >=3.6,<3.12 therefore make sure your system
3. This collection supports Python versions >=3.8,<3.12 therefore make sure your system
supports any of those versions.
4. Setup the pipenv:

Expand Down
2 changes: 1 addition & 1 deletion tests/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# ansible-test configurations
modules:
python_requires: ">=3.6"
python_requires: ">=3.8"

0 comments on commit cecd36b

Please sign in to comment.