From b19ff138902ec4865f9640359d10a5a565fadf44 Mon Sep 17 00:00:00 2001 From: Larry <554538252@qq.com> Date: Thu, 17 Aug 2023 12:03:00 +0800 Subject: [PATCH] Support 3.9/3.10 python (#22) --- .github/workflows/ubuntu_basic.yml | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_basic.yml b/.github/workflows/ubuntu_basic.yml index 86cdf27..e995238 100644 --- a/.github/workflows/ubuntu_basic.yml +++ b/.github/workflows/ubuntu_basic.yml @@ -18,7 +18,7 @@ jobs: - name: Install bazel run: | apt-get update - apt-get install -yq wget gcc g++ python3.7 zlib1g-dev zip libuv1.dev + apt-get install -yq wget gcc g++ python3 zlib1g-dev zip libuv1.dev apt-get install -yq pip wget "https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel_5.1.0-linux-x86_64.deb" -O bazel_5.1.0-linux-x86_64.deb dpkg -i bazel_5.1.0-linux-x86_64.deb @@ -30,7 +30,7 @@ jobs: . py3/bin/activate which python pip install pytest torch - pip install ray==1.11.0 + pip install ray==1.13.0 - name: Build and test run: | diff --git a/setup.py b/setup.py index e6d9db6..42c4070 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ logger = logging.getLogger(__name__) -SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8)] +SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9), (3, 10)] SUPPORTED_BAZEL = (3, 2, 0) ROOT_DIR = os.path.dirname(__file__)