drop python 2 support (breaking changes) (#86)

* drop python 2 support

* change log

* Update changelogs/fragments/86_drop_python2_support.yaml

Co-authored-by: Mike Graves <mgraves@redhat.com>

* Update k8s.py

Co-authored-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
abikouo
2021-05-04 18:07:22 +02:00
committed by GitHub
parent e754a6cd31
commit fc80540db5
12 changed files with 15 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ['2.7', '3.7']
python_version: ['3.7']
steps:
- name: Check out code
uses: actions/checkout@v2
@@ -116,7 +116,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ['2.7', '3.7']
python_version: ['3.7']
steps:
- name: Check out code
uses: actions/checkout@v2

View File

@@ -0,0 +1,3 @@
---
breaking_changes:
- Drop python 2 support.

View File

@@ -86,7 +86,7 @@ DOCUMENTATION = '''
to access.
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
'''

View File

@@ -124,7 +124,7 @@ DOCUMENTATION = '''
aliases: [ verify_ssl ]
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"

View File

@@ -133,7 +133,7 @@ options:
version_added: 2.0.0
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
- "jsonpatch"

View File

@@ -33,7 +33,7 @@ extends_documentation_fragment:
- kubernetes.core.k8s_auth_options
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
'''

View File

@@ -26,7 +26,7 @@ extends_documentation_fragment:
- kubernetes.core.k8s_auth_options
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift == 0.4.3"
- "PyYAML >= 3.11"

View File

@@ -49,7 +49,7 @@ extends_documentation_fragment:
- kubernetes.core.k8s_wait_options
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
'''

View File

@@ -56,7 +56,7 @@ options:
type: str
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
'''

View File

@@ -31,7 +31,7 @@ extends_documentation_fragment:
- kubernetes.core.k8s_auth_options
- kubernetes.core.k8s_name_options
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
'''

View File

@@ -31,7 +31,7 @@ extends_documentation_fragment:
- kubernetes.core.k8s_scale_options
requirements:
- "python >= 2.7"
- "python >= 3.6"
- "openshift >= 0.6"
- "PyYAML >= 3.11"
'''

View File

@@ -85,7 +85,7 @@ options:
type: bool
requirements:
- python >= 2.7
- python >= 3.6
- openshift >= 0.6.2
'''