Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Jan 13, 2022
1 parent 5d3fe81 commit 0d089dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build-graphscope-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
# last modified the cron syntax in the workflow file.
# Trigger the workflow at 03:00(CST) every day.
- cron: '00 19 * * *'
pull_request:
branches:
- main
push:
tags:
- "v*"
Expand All @@ -20,7 +17,7 @@ env:

jobs:
build-wheels:
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope')
if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope')
runs-on: ubuntu-20.04

steps:
Expand Down Expand Up @@ -130,7 +127,7 @@ jobs:
sudo docker push ${{ env.GS_IMAGE }}:${{ steps.tag.outputs.TAG }}
ubuntu-python-test:
# if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
runs-on: ubuntu-20.04
needs: [build-wheels]
strategy:
Expand Down Expand Up @@ -180,7 +177,7 @@ jobs:
python3 -m pytest -s -v $(dirname $(python3 -c "import graphscope; print(graphscope.__file__)"))/tests/minitest
centos-test:
# if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
runs-on: ubuntu-20.04
needs: [build-wheels]
container:
Expand All @@ -196,10 +193,10 @@ jobs:
- name: Prepare Environment
shell: bash
run: |
dnf install -y gcc gcc-c++ openssl-devel bzip2-devel libffi-devel wget make cmake git
dnf install -y gcc gcc-c++ make cmake
# install python3
dnf install -y python38 python38-devel
# install git and python3
dnf install -y git python38 python38-devel
python3 -m pip install --upgrade pip --user
# install graphscope-client
Expand Down
7 changes: 0 additions & 7 deletions python/graphscope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@
# limitations under the License.
#

import sys

if sys.version_info[:2] < (3, 7):
m = "Python 3.7 or later is required for GraphScope (%d.%d detected)."
raise ImportError(m % sys.version_info[:2])
del sys

from graphscope.analytical.app import *
from graphscope.analytical.udf import declare
from graphscope.analytical.udf.types import Vertex
Expand Down

0 comments on commit 0d089dd

Please sign in to comment.