Skip to content

Commit

Permalink
ci: Fix ci failure and pre-release v0.27.0 (#3512)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze0629 authored Jan 26, 2024
1 parent febcc99 commit d7a0d93
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 20 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.26.0
0.27.0
2 changes: 1 addition & 1 deletion analytical_engine/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</modules>

<properties>
<revision>0.26.0</revision>
<revision>0.27.0</revision>
<fastffi.version>0.1.2</fastffi.version>
<compile-testing.version>0.19</compile-testing.version>
<cupid.sdk.version>3.3.11</cupid.sdk.version>
Expand Down
2 changes: 1 addition & 1 deletion charts/graphscope-store/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sources:
maintainers:
- name: GraphScope
url: https://github.com/alibaba/graphscope
version: 0.26.0
version: 0.27.0

dependencies:
- condition: kafka.enabled
Expand Down
4 changes: 2 additions & 2 deletions charts/graphscope/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.26.0
version: 0.27.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.26.0"
appVersion: "0.27.0"
24 changes: 15 additions & 9 deletions coordinator/gscoordinator/kubernetes_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,21 @@ def deploy_engine(self, engine_type, object_id=None):
setattr(self, f"_{engine_type}_pod_host_ip", self._pod_host_ip_list)

return (
getattr(self, f"_{engine_type}_pod_name")
if object_id is None
else getattr(self, f"_{engine_type}_pod_name")[object_id],
getattr(self, f"_{engine_type}_pod_ip")
if object_id is None
else getattr(self, f"_{engine_type}_pod_ip")[object_id],
getattr(self, f"_{engine_type}_pod_host_ip")
if object_id is None
else getattr(self, f"_{engine_type}_pod_host_ip")[object_id],
(
getattr(self, f"_{engine_type}_pod_name")
if object_id is None
else getattr(self, f"_{engine_type}_pod_name")[object_id]
),
(
getattr(self, f"_{engine_type}_pod_ip")
if object_id is None
else getattr(self, f"_{engine_type}_pod_ip")[object_id]
),
(
getattr(self, f"_{engine_type}_pod_host_ip")
if object_id is None
else getattr(self, f"_{engine_type}_pod_host_ip")[object_id]
),
)

def delete_engine_stateful_set_with_object_id(self, engine_type, object_id):
Expand Down
8 changes: 5 additions & 3 deletions python/graphscope/analytical/udf/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ def wrap_init(
{
"algo": module_name,
"context_type": "labeled_vertex_data",
"type": "cython_pie"
if program_model == ProgramModel.PIE
else "cython_pregel",
"type": (
"cython_pie"
if program_model == ProgramModel.PIE
else "cython_pregel"
),
"class_name": "gs::PregelPropertyAppBase",
"compatible_graph": ["vineyard::ArrowFragment"],
"vd_type": vd_type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for closeness centrality.
"""

import pytest
from networkx.testing import almost_equal

Expand Down
6 changes: 3 additions & 3 deletions python/graphscope/nx/classes/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ def clear(self):
self.succ_attr_cache = ()
self.pred_cache = ()
self.pred_attr_cache = ()
self.node_attr_align = (
self.succ_align
) = self.succ_attr_align = self.pred_align = self.pred_attr_align = False
self.node_attr_align = self.succ_align = self.succ_attr_align = (
self.pred_align
) = self.pred_attr_align = False
self.get_node_attr.cache_clear()
self.get_successors.cache_clear()
self.get_succ_attr.cache_clear()
Expand Down

0 comments on commit d7a0d93

Please sign in to comment.