Skip to content

Commit

Permalink
drop support for python2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdubr committed Jul 26, 2024
1 parent 810fb32 commit 6a1a32d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '2.x', '3.x' ]
python-version: [ '3.x' ]

steps:
- uses: actions/checkout@v3
Expand Down
54 changes: 27 additions & 27 deletions plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -267,7 +267,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand All @@ -285,7 +285,7 @@ providers:
title: "API Version"
description: "Kubernetes API Version"
required: true
default: "extensions/v1beta1"
default: "apps/v1"
renderingOptions:
groupName: Metadata
- name: name
Expand Down Expand Up @@ -476,7 +476,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand All @@ -494,7 +494,7 @@ providers:
title: "API Version"
description: "Kubernetes API Version"
required: true
default: "extensions/v1beta1"
default: "apps/v1"
renderingOptions:
groupName: Metadata
- name: name
Expand Down Expand Up @@ -652,7 +652,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -727,7 +727,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -802,7 +802,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -877,7 +877,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -964,7 +964,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1051,7 +1051,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1135,7 +1135,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1216,7 +1216,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1369,7 +1369,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1522,7 +1522,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1597,7 +1597,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1858,7 +1858,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -1933,7 +1933,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2013,7 +2013,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2106,7 +2106,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2200,7 +2200,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2393,7 +2393,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2465,7 +2465,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2556,7 +2556,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2644,7 +2644,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2738,7 +2738,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
Expand Down Expand Up @@ -2836,7 +2836,7 @@ providers:
groupName: Advanced
description: "This plugin is written in python. Use this to define the python interpreter that is used to execute this plugin."
type: Select
values: "python,python2,python3"
values: "python,python3"
default: "python"
required: true
scope: Instance
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27, py36, py37, py38, py39, mypy
envlist = py36, py37, py38, py39, mypy

[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38, mypy
Expand Down

0 comments on commit 6a1a32d

Please sign in to comment.