tsungchih commented on issue #7779:
URL: https://github.com/apache/gravitino/issues/7779#issuecomment-3119431722

   @unknowntpo Just a heads-up. I have completed my first try to replace 
`python-gradle-miniforge-plugin` with `uv`. In this approach, I leverage uv's 
feature of dependencies management to add declaration of dependencies in the 
`pyproject.toml`.
   
   Here's the outcome.
   
   ```shell
   ❯ ./gradlew test -PskipITs
   Skipping filesystem-fuse module since enableFuse is set to false
   
   > Configure project :
   Current docker context is: desktop-linux
   
   ------------------ Check Docker environment ---------------------
   Docker server status ............................................ [running]
   mac-docker-connector status ..................................... [running]
   OrbStack status ................................................. [no]
   Run test cases without `gravitino-docker-test` tag .............. [embedded 
test]
   -----------------------------------------------------------------
   
   > Configure project :core
   Kotlin DSL property assignment is an incubating feature.
   
   > Task :clients:client-python:checkUv
   Checking uv installation...
   uv 0.8.3 (Homebrew 2025-07-24)
   uv is available
   
   > Task :clients:client-python:uvSync
   Resolved 235 packages in 12.13s
   Downloading pygments (1.2MiB)
   Downloading babel (9.7MiB)
   Downloading sqlalchemy (2.0MiB)
   Downloading nh3 (1.4MiB)
   Downloading networkx (2.0MiB)
   Downloading llama-index-core (1.5MiB)
   Downloading nltk (1.4MiB)
   Downloading llama-index-legacy (1.1MiB)
   Downloading pydantic-core (1.8MiB)
   Downloading pandas (11.1MiB)
   Downloading pillow (3.3MiB)
   Downloading sphinx (3.0MiB)
    Downloading nh3
    Downloading pydantic-core
    Downloading sqlalchemy
    Downloading pygments
    Downloading nltk
    Downloading pillow
    Downloading sphinx
    Downloading networkx
    Downloading llama-index-core
    Downloading llama-index-legacy
    Downloading babel
    Downloading pandas
   Prepared 86 packages in 15.56s
   Installed 91 packages in 1.39s
    + alabaster==0.7.13
    + annotated-types==0.7.0
    + anyio==4.5.2
    + astroid==3.2.4
    + babel==2.17.0
    + backports-tarfile==1.2.0
    + beautifulsoup4==4.13.4
    + coverage==7.5.1
    + deprecated==1.2.18
    + dill==0.4.0
    + dirtyjson==1.0.8
    + distro==1.9.0
    + docker==7.1.0
    + docutils==0.20.1
    + exceptiongroup==1.3.0
    + filetype==1.2.0
    + furo==2024.8.6
    + greenlet==3.1.1
    + h11==0.16.0
    + httpcore==1.0.9
    + httpx==0.28.1
    + imagesize==1.4.1
    + importlib-metadata==8.5.0
    + importlib-resources==6.4.5
    + isort==5.13.2
    + jaraco-classes==3.4.0
    + jaraco-context==6.0.1
    + jaraco-functools==4.1.0
    + jinja2==3.1.6
    + jiter==0.9.1
    + joblib==1.4.2
    + jwcrypto==1.5.6
    + keyring==25.5.0
    + llama-cloud==0.1.34
    + llama-index==0.11.18
    + llama-index-agent-openai==0.3.4
    + llama-index-cli==0.3.1
    + llama-index-core==0.11.23
    + llama-index-embeddings-openai==0.2.5
    + llama-index-indices-managed-llama-cloud==0.5.0
    + llama-index-legacy==0.9.48.post4
    + llama-index-llms-openai==0.2.16
    + llama-index-multi-modal-llms-openai==0.2.3
    + llama-index-program-openai==0.2.0
    + llama-index-question-gen-openai==0.2.0
    + llama-index-readers-file==0.2.2
    + llama-index-readers-llama-parse==0.3.0
    + llama-parse==0.5.15
    + markdown-it-py==3.0.0
    + markupsafe==2.1.5
    + mdurl==0.1.2
    + more-itertools==10.5.0
    + nest-asyncio==1.6.0
    + networkx==3.1
    + nh3==0.3.0
    + nltk==3.9.1
    + openai==1.97.1
    + pandas==2.0.3
    + pillow==10.4.0
    + pkginfo==1.10.0
    + pydantic==2.10.6
    + pydantic-core==2.27.2
    + pygments==2.19.2
    + pylint==3.2.2
    + pypdf==4.3.1
    + pytz==2025.2
    + readme-renderer==43.0
    + regex==2024.11.6
    + requests-toolbelt==1.0.0
    + rfc3986==2.0.0
    + rich==14.1.0
    + sniffio==1.3.1
    + snowballstemmer==3.0.1
    + soupsieve==2.7
    + sphinx==7.1.2
    + sphinx-basic-ng==1.0.0b2
    + sphinxcontrib-applehelp==1.0.4
    + sphinxcontrib-devhelp==1.0.2
    + sphinxcontrib-htmlhelp==2.0.1
    + sphinxcontrib-jsmath==1.0.1
    + sphinxcontrib-qthelp==1.0.3
    + sphinxcontrib-serializinghtml==1.1.5
    + sqlalchemy==2.0.41
    + striprtf==0.0.26
    + tenacity==8.3.0
    + tiktoken==0.7.0
    + tomlkit==0.13.3
    + tqdm==4.67.1
    + twine==5.1.1
    + tzdata==2025.2
    + zipp==3.20.2
   
   > Task :catalogs:catalog-fileset:compileJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/catalogs/catalog-fileset/src/main/java/org/apache/gravitino/catalog/fileset/SecureFilesetCatalogOperations.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :server-common:compileJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :lineage:compileJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :server-common:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   > Task :integration-test-common:compileTestJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/integration-test-common/src/test/java/org/apache/gravitino/integration/test/util/BaseIT.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :server:compileTestJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/server/src/test/java/org/apache/gravitino/server/web/TestVersioningFilter.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :authorizations:authorization-ranger:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :lineage:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   > Task :server:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   > Task :core:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :catalogs:catalog-jdbc-common:compileTestJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/catalogs/catalog-jdbc-common/src/test/java/org/apache/gravitino/catalog/jdbc/utils/TestJdbcConfig.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :catalogs:catalog-jdbc-postgresql:compileTestJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/catalogs/catalog-jdbc-postgresql/src/test/java/org/apache/gravitino/catalog/postgresql/integration/test/CatalogPostgreSqlIT.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :clients:filesystem-hadoop3:compileJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :clients:cli:compileTestJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/clients/cli/src/test/java/org/apache/gravitino/cli/TestModelCommands.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :iceberg:iceberg-rest-server:compileJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/metrics/IcebergMetricsManager.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :clients:client-java:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :spark-connector:spark-common:compileJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :core:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   > Task :trino-connector:trino-connector:compileJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :clients:client-python:pylint
   
   --------------------------------------------------------------------
   Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
   
   
   > Task :iceberg:iceberg-rest-server:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :catalogs:catalog-kafka:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   > Task :clients:client-python:unitTests
   
/Users/tsungchih/Documents/projects/github/gravitino/clients/client-python/.venv/lib/python3.8/site-packages/dataclasses_json/core.py:194:
 RuntimeWarning: Missing value of non-optional type _code detected when 
decoding OAuth2ErrorResponse and was defaulted to None by infer_missing=True. 
Set infer_missing=False (the default) to prevent this behavior.
     warnings.warn(
   
....................................................................................................................................................../Users/tsungchih/Documents/projects/github/gravitino/clients/client-python/.venv/lib/python3.8/site-packages/dataclasses_json/core.py:194:
 RuntimeWarning: Missing value of non-optional type _code detected when 
decoding OAuth2ErrorResponse and was defaulted to None by infer_missing=True. 
Set infer_missing=False (the default) to prevent this behavior.
     .......Cannot get fileset during FilesetDataOperation.LIST_STATUS, ls 
failed
   Cannot get fileset during FilesetDataOperation.GET_FILE_STATUS, info failed
   Cannot get fileset during FilesetDataOperation.EXISTS, exists failed
   Cannot get fileset during FilesetDataOperation.COPY_FILE, cp_file failed
   Cannot get fileset during FilesetDataOperation.DELETE, rm failed
   Cannot get fileset during FilesetDataOperation.DELETE, rm_file failed
   Cannot get fileset during FilesetDataOperation.DELETE, rmdir failed
   Cannot get fileset during FilesetDataOperation.OPEN_AND_WRITE, open failed
   Cannot get fileset during FilesetDataOperation.OPEN_AND_WRITE, open failed
   Cannot get fileset during FilesetDataOperation.OPEN_AND_APPEND, open failed
   Cannot get fileset during FilesetDataOperation.OPEN_AND_APPEND, open failed
   Cannot get fileset during FilesetDataOperation.OPEN, open failed
   Cannot get fileset during FilesetDataOperation.OPEN, open failed
   Cannot get fileset during FilesetDataOperation.OPEN, open failed
   Cannot get fileset during FilesetDataOperation.OPEN, open failed
   Cannot get fileset during FilesetDataOperation.MKDIRS, mkdir failed
   Cannot get fileset during FilesetDataOperation.MKDIRS, makedirs failed
   Cannot get fileset during FilesetDataOperation.CREATED_TIME, created failed
   Cannot get fileset during FilesetDataOperation.MODIFIED_TIME, modified failed
   Cannot get fileset during FilesetDataOperation.CAT_FILE, cat_file failed
   Cannot get fileset during FilesetDataOperation.GET_FILE_STATUS, info failed
   Cannot get fileset during FilesetDataOperation.GET_FILE_STATUS, get_file 
failed
   
........................./Users/tsungchih/Documents/projects/github/gravitino/clients/client-python/.venv/lib/python3.8/site-packages/dataclasses_json/core.py:194:
 RuntimeWarning: Missing value of non-optional type _versions detected when 
decoding ModelVersionListResponse and was defaulted to None by 
infer_missing=True. Set infer_missing=False (the default) to prevent this 
behavior.
     warnings.warn(
   
./Users/tsungchih/Documents/projects/github/gravitino/clients/client-python/.venv/lib/python3.8/site-packages/dataclasses_json/core.py:194:
 RuntimeWarning: Missing value of non-optional type _version detected when 
decoding ModelVersionDTO and was defaulted to None by infer_missing=True. Set 
infer_missing=False (the default) to prevent this behavior.
     warnings.warn(
   
/Users/tsungchih/Documents/projects/github/gravitino/clients/client-python/.venv/lib/python3.8/site-packages/dataclasses_json/core.py:194:
 RuntimeWarning: Missing value of non-optional type _uri detected when decoding 
ModelVersionDTO and was defaulted to None by infer_missing=True. Set 
infer_missing=False (the default) to prevent this behavior.
     warnings.warn(
   
/Users/tsungchih/Documents/projects/github/gravitino/clients/client-python/.venv/lib/python3.8/site-packages/dataclasses_json/core.py:194:
 RuntimeWarning: Missing value of non-optional type _audit detected when 
decoding ModelVersionDTO and was defaulted to None by infer_missing=True. Set 
infer_missing=False (the default) to prevent this behavior.
     warnings.warn(
   ...
   ----------------------------------------------------------------------
   Ran 200 tests in 5.206s
   
   OK
   
   > Task :clients:client-python:unitCoverageReport
   Wrote HTML report to htmlcov/index.html
   
   > Task :catalogs:catalog-model:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   > Task :clients:filesystem-hadoop3:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :catalogs:catalog-fileset:compileTestJava
   Note: 
/Users/tsungchih/Documents/projects/github/gravitino/catalogs/catalog-fileset/src/test/java/org/apache/gravitino/catalog/fileset/integration/test/HadoopUserImpersonationIT.java
 uses unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :catalogs:catalog-fileset:test
   OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader 
classes because bootstrap classpath has been appended
   
   Deprecated Gradle features were used in this build, making it incompatible 
with Gradle 9.0.
   
   You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to 
https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.
   
   BUILD SUCCESSFUL in 18m 36s
   494 actionable tasks: 178 executed, 316 up-to-date
   ```


-- 
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]

Reply via email to