Skip to content

Commit 35475a8

Browse files
authored
add new python311.patch (#245)
* add new python311.patch * remove python311.patch * bump version * add python311.patch
1 parent ace7192 commit 35475a8

File tree

7 files changed

+49
-120
lines changed

7 files changed

+49
-120
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,5 @@
178178
2.13.24: Support Azure Service Account Authentication.
179179
2.13.25: add __version__.py file in cloudify_kubernetes folder.
180180
2.13.26: check plugin and update circleci config.
181-
2.13.27: Use DSL 1.5.
181+
2.13.27: Use DSL 1.5.
182+
2.13.28: Update dependencies.

cloudify_kubernetes/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '2.13.27'
1+
version = '2.13.28'

plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins:
33
kubernetes:
44
executor: central_deployment_agent
55
package_name: cloudify-kubernetes-plugin
6-
package_version: '2.13.27'
6+
package_version: '2.13.28'
77

88
data_types:
99

plugin_1_4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins:
33
kubernetes:
44
executor: central_deployment_agent
55
package_name: cloudify-kubernetes-plugin
6-
package_version: '2.13.27'
6+
package_version: '2.13.28'
77

88
data_types:
99

plugin_1_5.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins:
33
kubernetes:
44
executor: central_deployment_agent
55
package_name: cloudify-kubernetes-plugin
6-
package_version: '2.13.27'
6+
package_version: '2.13.28'
77

88
data_types:
99

python311.patch

Lines changed: 42 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,139 +1,67 @@
11
diff --git a/constraints.txt b/constraints.txt
2-
index 863be00..34de6a6 100644
2+
index 863be00..26c55dc 100644
33
--- a/constraints.txt
44
+++ b/constraints.txt
5-
@@ -1,3 +1,4 @@
5+
@@ -1,3 +1,2 @@
66
-cloudify-common>===6.4.2
77
-git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
88
-charset_normalizer===3.0.1
99
\ No newline at end of file
10-
+cloudify-common>===7.0.0
11-
+# git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
12-
+git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-mgmtworker&subdirectory=mgmtworker
13-
+git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-agent
10+
+cryptography>=41.0.4
11+
+charset_normalizer===3.0.1
1412
diff --git a/dev-requirements.txt b/dev-requirements.txt
15-
index 19732bb..cfe88eb 100644
13+
index 19732bb..1ce86c2 100644
1614
--- a/dev-requirements.txt
1715
+++ b/dev-requirements.txt
1816
@@ -1 +1,4 @@
1917
-git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
20-
+# cloudify-common>===7.0.0
21-
+# git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
22-
+git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-mgmtworker&subdirectory=mgmtworker
23-
+git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-agent
24-
# diff --git a/pydoc/__init__.py b/pydoc/__init__.py
25-
# new file mode 100644
26-
# index 0000000..3676233
27-
# --- /dev/null
28-
# +++ b/pydoc/__init__.py
29-
# @@ -0,0 +1,3 @@
30-
# +
31-
# +def get_doc(*args):
32-
# + return ''
33-
# diff --git a/python311.diff b/python311.diff
34-
# new file mode 100644
35-
# index 0000000..f1499f8
36-
# --- /dev/null
37-
# +++ b/python311.diff
38-
# @@ -0,0 +1,65 @@
39-
+diff --git a/constraints.txt b/constraints.txt
40-
+index 863be00..34de6a6 100644
41-
+--- a/constraints.txt
42-
++++ b/constraints.txt
43-
+@@ -1,3 +1,4 @@
44-
+-cloudify-common>===6.4.2
45-
+-git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
46-
+-charset_normalizer===3.0.1
47-
+\ No newline at end of file
48-
++cloudify-common>===7.0.0
49-
++# git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
50-
++git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-mgmtworker&subdirectory=mgmtworker
51-
++git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-agent
52-
+diff --git a/dev-requirements.txt b/dev-requirements.txt
53-
+index 19732bb..cfe88eb 100644
54-
+--- a/dev-requirements.txt
55-
++++ b/dev-requirements.txt
56-
+@@ -1 +1,4 @@
57-
+-git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
58-
++# cloudify-common>===7.0.0
59-
++# git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-types&subdirectory=cloudify_types
60-
++git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-mgmtworker&subdirectory=mgmtworker
61-
++git+https://github.com/cloudify-cosmo/[email protected]#egg=cloudify-agent
62-
+diff --git a/examples/blueprint-examples b/examples/blueprint-examples
63-
+--- a/examples/blueprint-examples
64-
++++ b/examples/blueprint-examples
65-
+@@ -1 +1 @@
66-
+-Subproject commit 706cac79e74217733c4c4cf26032021ba55132f8
67-
++Subproject commit 706cac79e74217733c4c4cf26032021ba55132f8-dirty
68-
+diff --git a/setup.py b/setup.py
69-
+index f4d4d02..47b9aae 100755
70-
+--- a/setup.py
71-
++++ b/setup.py
72-
+@@ -32,8 +32,9 @@ def get_version():
73-
+ install_requires = [
74-
+ 'cloudify-python-importer==0.2.1',
75-
+ 'cloudify-common>=4.5',
76-
+- 'cloudify-types>=6.3.1',
77-
+- 'deepdiff==3.3.0',
78-
++ # 'cloudify-types>=6.3.1',
79-
++ 'cloudify-mgmtworker',
80-
++ 'deepdiff>=5.7.0',
81-
+ 'cloudify-utilities-plugins-sdk>=0.0.112', # Provides kubernetes and google-auth.
82-
+ ]
83-
+
84-
+@@ -48,7 +49,8 @@ setup(
85-
+ packages=['cloudify_kubernetes',
86-
+ 'cloudify_kubernetes.k8s',
87-
+ 'cloudify_kubernetes.tasks',
88-
+- 'cloudify_kubernetes.tasks.nested_resources'],
89-
++ 'cloudify_kubernetes.tasks.nested_resources',
90-
++ 'pydoc'],
91-
+ license='LICENSE',
92-
+ install_requires=install_requires
93-
+ )
94-
+diff --git a/test-requirements.txt b/test-requirements.txt
95-
+index 2904754..9a01c7b 100644
96-
+--- a/test-requirements.txt
97-
++++ b/test-requirements.txt
98-
+@@ -4,4 +4,4 @@ mock
99-
+ nose-testconfig
100-
+ nose==1.3.7
101-
+ nose-cov==1.6
102-
+-deepdiff==3.3.0
103-
++deepdiff>=5.7.0
18+
+-e fusion-common
19+
+-e fusion-agent
20+
+-e fusion-manager/mgmtworker
21+
+-e cloudify-utilities-plugins-sdk
22+
diff --git a/examples/blueprint-examples b/examples/blueprint-examples
23+
--- a/examples/blueprint-examples
24+
+++ b/examples/blueprint-examples
25+
@@ -1 +1 @@
26+
-Subproject commit 706cac79e74217733c4c4cf26032021ba55132f8
27+
+Subproject commit 706cac79e74217733c4c4cf26032021ba55132f8-dirty
10428
diff --git a/setup.py b/setup.py
105-
index f4d4d02..47b9aae 100755
29+
index f4d4d02..0e54075 100755
10630
--- a/setup.py
10731
+++ b/setup.py
108-
@@ -32,8 +32,9 @@ def get_version():
32+
@@ -16,7 +16,7 @@ import os
33+
import re
34+
import sys
35+
import pathlib
36+
-from setuptools import setup
37+
+from setuptools import setup, find_packages
38+
39+
PY2 = sys.version_info[0] == 2
40+
41+
@@ -31,10 +31,10 @@ def get_version():
42+
10943
install_requires = [
11044
'cloudify-python-importer==0.2.1',
111-
'cloudify-common>=4.5',
45+
- 'cloudify-common>=4.5',
11246
- 'cloudify-types>=6.3.1',
11347
- 'deepdiff==3.3.0',
114-
+ # 'cloudify-types>=6.3.1',
115-
+ 'cloudify-mgmtworker',
116-
+ 'deepdiff>=5.7.0',
117-
'cloudify-utilities-plugins-sdk>=0.0.112', # Provides kubernetes and google-auth.
48+
- 'cloudify-utilities-plugins-sdk>=0.0.112', # Provides kubernetes and google-auth.
49+
+ 'fusion-common',
50+
+ 'fusion-mgmtworker',
51+
+ 'deepdiff==5.7.0',
52+
+ 'cloudify-utilities-plugins-sdk>=0.0.129', # Provides kubernetes and google-auth.
11853
]
11954

120-
@@ -48,7 +49,8 @@ setup(
121-
packages=['cloudify_kubernetes',
122-
'cloudify_kubernetes.k8s',
123-
'cloudify_kubernetes.tasks',
55+
56+
@@ -45,10 +45,7 @@ setup(
57+
author_email='[email protected]',
58+
description='Plugin provides Kubernetes management possibility',
59+
include_package_data=True,
60+
- packages=['cloudify_kubernetes',
61+
- 'cloudify_kubernetes.k8s',
62+
- 'cloudify_kubernetes.tasks',
12463
- 'cloudify_kubernetes.tasks.nested_resources'],
125-
+ 'cloudify_kubernetes.tasks.nested_resources',
126-
+ 'pydoc', 'webbrowser'],
64+
+ packages=find_packages(),
12765
license='LICENSE',
12866
install_requires=install_requires
12967
)
130-
diff --git a/test-requirements.txt b/test-requirements.txt
131-
index 2904754..9a01c7b 100644
132-
--- a/test-requirements.txt
133-
+++ b/test-requirements.txt
134-
@@ -4,4 +4,4 @@ mock
135-
nose-testconfig
136-
nose==1.3.7
137-
nose-cov==1.6
138-
-deepdiff==3.3.0
139-
+deepdiff>=5.7.0

v2_plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins:
33
kubernetes:
44
executor: central_deployment_agent
55
package_name: cloudify-kubernetes-plugin
6-
package_version: '2.13.27'
6+
package_version: '2.13.28'
77

88
data_types:
99

0 commit comments

Comments
 (0)