Skip to content

Commit d88164b

Browse files
NE-23979-Handle-inspect-py311 (#437)
1 parent b4fbece commit d88164b

File tree

7 files changed

+8
-5
lines changed

7 files changed

+8
-5
lines changed

CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
3.3.8: handle inspect deprecation for py311.
12
3.3.7: update requirements.txt.
23
3.3.6: Support Python 3.11 and discontinue 3.6.
34
3.3.5: add extra_specs and tenant access to flavor type.

openstack_plugin/__version__.py

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

openstack_plugin/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ def use_external_resource(_ctx,
748748
# Check if we need to run custom operation for already existed
749749
# resource for operation task
750750
if existing_resource_handler:
751+
if not hasattr(inspect, 'getargspec'):
752+
inspect.getargspec = inspect.getfullargspec
751753
# We may need to send the "openstack_resource" to the
752754
# existing resource handler and in order to do that we may
753755
# need to check if the resource is already there or not

plugin.yaml

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

88
dsl_definitions:
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
openstack:
44
executor: central_deployment_agent
55
package_name: cloudify-openstack-plugin
6-
package_version: 3.3.7
6+
package_version: 3.3.8
77

88
dsl_definitions:
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
openstack:
44
executor: central_deployment_agent
55
package_name: cloudify-openstack-plugin
6-
package_version: 3.3.7
6+
package_version: 3.3.8
77

88
dsl_definitions:
99

v2_plugin.yaml

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

88
dsl_definitions:
99

0 commit comments

Comments
 (0)