mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-27 05:43:02 +00:00
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:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
3
changelogs/fragments/86_drop_python2_support.yaml
Normal file
3
changelogs/fragments/86_drop_python2_support.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
breaking_changes:
|
||||
- Drop python 2 support.
|
||||
@@ -86,7 +86,7 @@ DOCUMENTATION = '''
|
||||
to access.
|
||||
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6"
|
||||
- "openshift >= 0.6"
|
||||
- "PyYAML >= 3.11"
|
||||
'''
|
||||
|
||||
@@ -124,7 +124,7 @@ DOCUMENTATION = '''
|
||||
aliases: [ verify_ssl ]
|
||||
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6"
|
||||
- "openshift >= 0.6"
|
||||
- "PyYAML >= 3.11"
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ options:
|
||||
version_added: 2.0.0
|
||||
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6"
|
||||
- "openshift >= 0.6"
|
||||
- "PyYAML >= 3.11"
|
||||
- "jsonpatch"
|
||||
|
||||
@@ -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"
|
||||
'''
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
'''
|
||||
|
||||
@@ -56,7 +56,7 @@ options:
|
||||
type: str
|
||||
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6"
|
||||
- "openshift >= 0.6"
|
||||
- "PyYAML >= 3.11"
|
||||
'''
|
||||
|
||||
@@ -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"
|
||||
'''
|
||||
|
||||
@@ -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"
|
||||
'''
|
||||
|
||||
@@ -85,7 +85,7 @@ options:
|
||||
type: bool
|
||||
|
||||
requirements:
|
||||
- python >= 2.7
|
||||
- python >= 3.6
|
||||
- openshift >= 0.6.2
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user