jiangxt2 commented on code in PR #14206: URL: https://github.com/apache/gravitino/pull/14206#discussion_r4548128098
########## clients/client-python/scripts/reproduce_oss_multiflush.py: ########## @@ -0,0 +1,73 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +"""Reproduce the OSSFile append-position defect without cloud credentials. Review Comment: Thanks for raising this. GVFS returns the underlying `ossfs` file object, so it may be affected by the same multi-flush path. The controlled OSSFile reproduction shows the mismatch, but real OSS through GVFS has not been verified. I removed the reproducer from this PR. The same append-position issue is already reported in [fsspec/ossfs#127](https://github.com/fsspec/ossfs/issues/127), so I propose tracking it there rather than opening a separate Gravitino issue. ########## docs/how-to-use-python-client.md: ########## @@ -51,6 +51,87 @@ To preserve the previous installation profile that included all GVFS backends, i the base Gravitino client alongside their Ray Data dependencies without installing these storage extras. +### Core client compatibility Review Comment: Thanks. I moved the runtime range table after the navigation list and kept the matrix execution details in the runner documentation. ########## clients/client-python/tests/unittests/test_package_metadata.py: ########## @@ -23,16 +25,21 @@ from email.parser import Parser from pathlib import Path +from packaging.requirements import Requirement Review Comment: Thanks. I added `packaging==26.3` to `requirements-dev.txt`. ########## clients/client-python/build.gradle.kts: ########## @@ -423,6 +423,51 @@ tasks { } } + register("coreCompatibilityTest") { + group = "verification" + description = "Verify installed core SDK artifacts in isolated Ray dependency environments." + dependsOn(distribution) + + fun interpreter(version: String, property: String): String { Review Comment: Thanks. The task now builds the server distribution when both distribution directories are absent; otherwise it reuses a complete distribution or fails if it is incomplete, avoiding an automatic rebuild that would delete the existing distribution directories. Existing distributions are not automatically refreshed. I kept the runner's server lifecycle separate because it checks for an occupied port and terminates only its own foreground process. Interpreter lookup remains duplicated; I kept that small duplication to avoid expanding the refactor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
