From 40e92067e64657879300927f23b054b3cf70ad0d Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Mon, 26 Feb 2024 18:36:59 +0800 Subject: [PATCH] ci: Mark python 3.13 is not supported (#4269) Signed-off-by: Xuanwo --- .github/workflows/ci_bindings_c.yml | 2 +- .github/workflows/ci_bindings_cpp.yml | 2 +- .github/workflows/ci_bindings_dotnet.yml | 2 +- .github/workflows/ci_bindings_go.yml | 2 +- .github/workflows/ci_bindings_haskell.yml | 2 +- .github/workflows/ci_bindings_java.yml | 2 +- .github/workflows/ci_bindings_lua.yml | 2 +- .github/workflows/ci_bindings_nodejs.yml | 4 ++-- .github/workflows/ci_bindings_ocaml.yml | 2 +- .github/workflows/ci_bindings_python.yml | 8 +++++--- .github/workflows/ci_bindings_ruby.yml | 2 +- .github/workflows/ci_bindings_swift.yml | 4 ++-- .github/workflows/ci_bindings_zig.yml | 2 +- bindings/python/pyproject.toml | 4 +++- 14 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci_bindings_c.yml b/.github/workflows/ci_bindings_c.yml index dccfcda03bad..8a3999a263f9 100644 --- a/.github/workflows/ci_bindings_c.yml +++ b/.github/workflows/ci_bindings_c.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/c/**" - - ".github/workflows/bindings_c.yml" + - ".github/workflows/ci_bindings_c.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_cpp.yml b/.github/workflows/ci_bindings_cpp.yml index 526c9bf8859f..43b4aff6f662 100644 --- a/.github/workflows/ci_bindings_cpp.yml +++ b/.github/workflows/ci_bindings_cpp.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/cpp/**" - - ".github/workflows/bindings_cpp.yml" + - ".github/workflows/ci_bindings_cpp.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_dotnet.yml b/.github/workflows/ci_bindings_dotnet.yml index 12fc6c728c20..ac2182806f75 100644 --- a/.github/workflows/ci_bindings_dotnet.yml +++ b/.github/workflows/ci_bindings_dotnet.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/dotnet/**" - - ".github/workflows/bindings_dotnet.yml" + - ".github/workflows/ci_bindings_dotnet.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_go.yml b/.github/workflows/ci_bindings_go.yml index bcbf030c728c..5ec7c3cc43a4 100644 --- a/.github/workflows/ci_bindings_go.yml +++ b/.github/workflows/ci_bindings_go.yml @@ -30,7 +30,7 @@ on: - "core/**" - "bindings/c/**" - "bindings/go/**" - - ".github/workflows/bindings_go.yml" + - ".github/workflows/ci_bindings_go.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_haskell.yml b/.github/workflows/ci_bindings_haskell.yml index 864a984170c5..6e053fcd9a86 100644 --- a/.github/workflows/ci_bindings_haskell.yml +++ b/.github/workflows/ci_bindings_haskell.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/haskell/**" - - ".github/workflows/bindings_haskell.yml" + - ".github/workflows/ci_bindings_haskell.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_java.yml b/.github/workflows/ci_bindings_java.yml index 304da3906cb3..a7f9397cd4ad 100644 --- a/.github/workflows/ci_bindings_java.yml +++ b/.github/workflows/ci_bindings_java.yml @@ -29,7 +29,7 @@ on: paths: - "core/**" - "bindings/java/**" - - ".github/workflows/bindings_java.yml" + - ".github/workflows/ci_bindings_java.yml" schedule: - cron: '30 1 * * 1' workflow_dispatch: diff --git a/.github/workflows/ci_bindings_lua.yml b/.github/workflows/ci_bindings_lua.yml index d1647702dc32..4066c2796dff 100644 --- a/.github/workflows/ci_bindings_lua.yml +++ b/.github/workflows/ci_bindings_lua.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/lua/**" - - ".github/workflows/bindings_lua.yml" + - ".github/workflows/ci_bindings_lua.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_nodejs.yml b/.github/workflows/ci_bindings_nodejs.yml index 5a3f027032d7..2a5dcfa87c80 100644 --- a/.github/workflows/ci_bindings_nodejs.yml +++ b/.github/workflows/ci_bindings_nodejs.yml @@ -32,7 +32,7 @@ on: - main paths: - "bindings/nodejs/**" - - ".github/workflows/bindings_nodejs.yml" + - ".github/workflows/ci_bindings_nodejs.yml" workflow_dispatch: jobs: @@ -254,7 +254,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - needs: [macos, linux, windows] + needs: [ macos, linux, windows ] permissions: id-token: write diff --git a/.github/workflows/ci_bindings_ocaml.yml b/.github/workflows/ci_bindings_ocaml.yml index debc8d015fe6..ec1fdb45db7f 100644 --- a/.github/workflows/ci_bindings_ocaml.yml +++ b/.github/workflows/ci_bindings_ocaml.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/ocaml/**" - - ".github/workflows/bindings_ocaml.yml" + - ".github/workflows/ci_bindings_ocaml.yml" workflow_dispatch: jobs: diff --git a/.github/workflows/ci_bindings_python.yml b/.github/workflows/ci_bindings_python.yml index 6621950bf893..b615f719dd0c 100644 --- a/.github/workflows/ci_bindings_python.yml +++ b/.github/workflows/ci_bindings_python.yml @@ -19,13 +19,15 @@ name: Bindings Python CI on: push: + branches: + - main tags: - '*' pull_request: branches: - main paths: - - ".github/workflows/bindings_python.yml" + - ".github/workflows/ci_bindings_python.yml" workflow_dispatch: concurrency: @@ -60,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - target: [x86_64, aarch64, armv7l] + target: [ x86_64, aarch64, armv7l ] steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain @@ -123,7 +125,7 @@ jobs: permissions: contents: read id-token: write - needs: [macos, linux, windows] + needs: [ macos, linux, windows ] steps: - uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/ci_bindings_ruby.yml b/.github/workflows/ci_bindings_ruby.yml index b8733755affa..f21fef4af4a1 100644 --- a/.github/workflows/ci_bindings_ruby.yml +++ b/.github/workflows/ci_bindings_ruby.yml @@ -28,7 +28,7 @@ on: - main paths: - "bindings/ruby/**" - - ".github/workflows/bindings_ruby.yml" + - ".github/workflows/ci_bindings_ruby.yml" workflow_dispatch: concurrency: diff --git a/.github/workflows/ci_bindings_swift.yml b/.github/workflows/ci_bindings_swift.yml index 34933d5fc2cc..3d037892f22c 100644 --- a/.github/workflows/ci_bindings_swift.yml +++ b/.github/workflows/ci_bindings_swift.yml @@ -29,7 +29,7 @@ on: paths: - "bindings/swift/**" - "bindings/c/**" - - ".github/workflows/bindings_swift.yml" + - ".github/workflows/ci_bindings_swift.yml" workflow_dispatch: concurrency: @@ -45,7 +45,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] + os: [ ubuntu-latest ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ci_bindings_zig.yml b/.github/workflows/ci_bindings_zig.yml index bdd4afbf3c22..4e3f8f42ecfc 100644 --- a/.github/workflows/ci_bindings_zig.yml +++ b/.github/workflows/ci_bindings_zig.yml @@ -30,7 +30,7 @@ on: - "core/**" - "bindings/c/**" - "bindings/zig/**" - - ".github/workflows/bindings_zig.yml" + - ".github/workflows/ci_bindings_zig.yml" workflow_dispatch: concurrency: diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 209a118eafd6..e882b3dad61f 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -29,7 +29,9 @@ description = "Apache OpenDALâ„¢ Python Binding" license = { text = "Apache-2.0" } name = "opendal" readme = "README.md" -requires-python = ">=3.7" +# PyO3 doesn't support python 3.13 yet. +# ref: https://github.com/apache/opendal/issues/4268 +requires-python = ">=3.7, < 3.13" [project.optional-dependencies] benchmark = [