Skip to content

Commit 0cba168

Browse files
authored
Merge pull request #24 from dataiku/chore/dss12-sc-132089-allow-py36-to-py311
Allow py36 to py311
2 parents 2e7914a + 13748f0 commit 0cba168

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## Version 1.3.0
4+
- Add more supported Python versions. This plugin can now use 2.7 (deprecated), 3.6, 3.7, 3.8, 3.9, 3.10 (experimental), 3.11 (experimental)
5+
36
## Version 1.2.0
47
- Fix the cluster configuration's merging mechanism for string parameters
58
- Remove support for legacy authorization (ABAC)

code-env/python/desc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"acceptedPythonInterpreters": ["PYTHON36", "PYTHON37"],
2+
"acceptedPythonInterpreters": ["PYTHON27", "PYTHON36", "PYTHON37", "PYTHON38", "PYTHON39", "PYTHON310", "PYTHON311"],
33
"forceConda": false,
44
"installCorePackages": true,
5+
"corePackagesSet": "AUTO",
56
"installJupyterSupport": false
67
}

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "gke-clusters",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"meta": {
55
"label": "GKE clusters",
66
"description": "Interact with Google Kubernetes Engine clusters",

python-lib/dku_utils/access.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
from six import text_type
2-
from collections import Mapping, Iterable
2+
try:
3+
from collections.abc import Mapping, Iterable # py3
4+
except ImportError:
5+
from collections import Mapping, Iterable # py2
36
import sys
47

58
if sys.version_info > (3,):

0 commit comments

Comments
 (0)