unknowntpo commented on PR #7811:
URL: https://github.com/apache/gravitino/pull/7811#issuecomment-3121913432

   > @tsungchih
   > 
   > My uv version is `uv 0.4.20 (Homebrew 2024-10-08)`
   > 
   > When I run :
   > 
   > ```
   >  ./gradlew :clients:client-python:uvSync
   > ```
   > 
   > I got error:
   > 
   > ```
   > Skipping filesystem-fuse module since enableFuse is set to false
   > 
   > > Configure project :
   > checkContainerRunning failed: Process 'command 'bash'' finished with 
non-zero exit value 1
   > Current docker context is: default
   > 
   > ------------------ Check Docker environment ---------------------
   > Docker server status ............................................ [running]
   > mac-docker-connector status ..................................... [stop]
   > OrbStack status ................................................. [no]
   > Run test cases without `gravitino-docker-test` tag .............. 
[embedded test]
   > -----------------------------------------------------------------
   > Tip: Please make sure to use OrbStack or execute the 
`dev/docker/tools/mac-docker-connector.sh` script before running the 
integration test on macOS.
   > 
   > > Configure project :core
   > Kotlin DSL property assignment is an incubating feature.
   > 
   > > Task :clients:client-python:checkUv
   > Checking uv installation...
   > uv 0.4.20 (Homebrew 2024-10-08)
   > uv is available
   > 
   > > Task :clients:client-python:uvSync FAILED
   > Failed to parse lockfile; ignoring locked requirements: TOML parse error 
at line 491, column 1
   >     |
   > 491 | [[package]]
   >     | ^^^^^^^^^^^
   > missing field `version`
   > Resolved 89 packages in 558ms
   > error: Failed to prepare distributions
   >   Caused by: Failed to fetch wheel: numpy==1.24.4
   >   Caused by: Build backend failed to determine requirements with 
`build_wheel()` (exit status: 1)
   > 
   > [stderr]
   > Traceback (most recent call last):
   >   File "<string>", line 8, in <module>
   >   File 
"/Users/unknowntpo/.cache/uv/builds-v0/.tmpYAY3Sv/lib/python3.12/site-packages/setuptools/__init__.py",
 line 10, in <module>
   >     import distutils.core
   > ModuleNotFoundError: No module named 'distutils'
   > 
   >   Caused by: distutils was removed from the standard library in Python 
3.12. Consider adding a constraint (like `numpy >1.24.4`) to avoid building a 
version of numpy that depends on distutils.
   > 
   > FAILURE: Build failed with an exception.
   > 
   > * What went wrong:
   > Execution failed for task ':clients:client-python:uvSync'.
   > > Process 'command 'uv'' finished with non-zero exit value 2
   > 
   > * Try:
   > > Run with --stacktrace option to get the stack trace.
   > > Run with --info or --debug option to get more log output.
   > > Run with --scan to get full insights.
   > > Get more help at https://help.gradle.org.
   > 
   > 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 FAILED in 2s
   > 2 actionable tasks: 2 executed
   > ```
   
   Update: I updated `uv` to `uv 0.7.9 (Homebrew 2025-05-30)` and now uv sync 
rans successfully.


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