Skip to content

Commit

Permalink
NE-23979-Handle-inspect-py311 (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadiesa-abu authored Mar 28, 2024
1 parent b4fbece commit d88164b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
3.3.8: handle inspect deprecation for py311.
3.3.7: update requirements.txt.
3.3.6: Support Python 3.11 and discontinue 3.6.
3.3.5: add extra_specs and tenant access to flavor type.
Expand Down
2 changes: 1 addition & 1 deletion openstack_plugin/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '3.3.7'
version = '3.3.8'
2 changes: 2 additions & 0 deletions openstack_plugin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,8 @@ def use_external_resource(_ctx,
# Check if we need to run custom operation for already existed
# resource for operation task
if existing_resource_handler:
if not hasattr(inspect, 'getargspec'):
inspect.getargspec = inspect.getfullargspec
# We may need to send the "openstack_resource" to the
# existing resource handler and in order to do that we may
# need to check if the resource is already there or not
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins:
openstack:
executor: central_deployment_agent
package_name: cloudify-openstack-plugin
package_version: 3.3.7
package_version: 3.3.8

dsl_definitions:

Expand Down
2 changes: 1 addition & 1 deletion plugin_1_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins:
openstack:
executor: central_deployment_agent
package_name: cloudify-openstack-plugin
package_version: 3.3.7
package_version: 3.3.8

dsl_definitions:

Expand Down
2 changes: 1 addition & 1 deletion plugin_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins:
openstack:
executor: central_deployment_agent
package_name: cloudify-openstack-plugin
package_version: 3.3.7
package_version: 3.3.8

dsl_definitions:

Expand Down
2 changes: 1 addition & 1 deletion v2_plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins:
openstack:
executor: central_deployment_agent
package_name: cloudify-openstack-plugin
package_version: 3.3.7
package_version: 3.3.8

dsl_definitions:

Expand Down

0 comments on commit d88164b

Please sign in to comment.