Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit f4efce3

Browse files
authored
Drop python 3.6 and 3.7 support (#141)
Since ansible/molecule#3436 molecule doesn't support python < 3.8, so we drop support for python 3.6 and 3.7. Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent e171936 commit f4efce3

File tree

4 files changed

+11
-19
lines changed

4 files changed

+11
-19
lines changed

.github/workflows/tox.yml

-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ jobs:
2929
- name: dockerfile
3030
tox_env: dockerfile
3131
# - tox_env: docs
32-
- name: py36
33-
tox_env: py36-2.9,py36-2.10,py36-2.11
34-
PREFIX: PYTEST_REQPASS=3
35-
- name: py37
36-
tox_env: py37-2.9,py37-2.10,py37-2.11
37-
PREFIX: PYTEST_REQPASS=3
3832
- name: py38
3933
tox_env: py38-2.9,py38-2.10,py38-2.11
4034
PREFIX: PYTEST_REQPASS=3

mypy.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.8
33
color_output = True
44
error_summary = True
55
disallow_untyped_calls=True

setup.cfg

+1-3
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ classifiers =
3434
Operating System :: OS Independent
3535

3636
Programming Language :: Python :: 3
37-
Programming Language :: Python :: 3.6
38-
Programming Language :: Python :: 3.7
3937
Programming Language :: Python :: 3.8
4038
Programming Language :: Python :: 3.9
4139

@@ -49,7 +47,7 @@ keywords =
4947

5048
[options]
5149
use_scm_version = True
52-
python_requires = >=3.6
50+
python_requires = >=3.8
5351
package_dir =
5452
= src
5553
packages = find:

tox.ini

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ envlist =
44
lint
55
docs
66
packaging
7-
py{36,37,38,39}-2.9
8-
py{36,37,38,39}-2.10
9-
py{36,37,38,39}-2.11
10-
py{36,37,38,39}-devel
7+
py{38,39}-2.9
8+
py{38,39}-2.10
9+
py{38,39}-2.11
10+
py{38,39}-devel
1111

1212
# do not enable skip missing to avoid CI false positives
1313
skip_missing_interpreters = False
@@ -41,11 +41,11 @@ setenv =
4141
MOLECULE_NO_LOG=0
4242
deps =
4343
devel: ansible-core>=2.11.1,<2.12
44-
py{36,37,38,39}: molecule[test]
45-
py{36,37,38,39}-2.9: ansible>=2.9.22,<2.10
46-
py{36,37,38,39}-2.10: ansible-base>=2.10,<2.11
47-
py{36,37,38,39}-2.11: ansible-core>=2.11.1,<2.12
48-
py{36,37,38,39}-{devel}: git+https://github.com/ansible-community/molecule.git@main#egg=molecule[test]
44+
py{38,39}: molecule[test]
45+
py{38,39}-2.9: ansible>=2.9.22,<2.10
46+
py{38,39}-2.10: ansible-base>=2.10,<2.11
47+
py{38,39}-2.11: ansible-core>=2.11.1,<2.12
48+
py{38,39}-{devel}: git+https://github.com/ansible-community/molecule.git@main#egg=molecule[test]
4949
dockerfile: ansible-core>=2.11.1
5050
selinux
5151
extras =

0 commit comments

Comments
 (0)