urlyy opened a new issue, #2731:
URL: https://github.com/apache/fory/issues/2731

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/fory/issues) 
and found no similar issues.
   
   
   ### Version
   
   Latest
   
   ### Component(s)
   
   Other
   
   ### Minimal reproduce step
   
   submit a pr
   
   ### What did you expect to see?
   
   ci pass
   
   ### What did you see instead?
   
   ```
   Running command Getting requirements to build editable
     2025/10/08 15:25:24 Downloading 
https://releases.bazel.build/6.3.2/release/bazel-6.3.2-linux-arm64...
     2025/10/08 15:25:29 could not download Bazel: failed to download bazel: 
failed to download bazel: could not copy from 
https://releases.bazel.build/6.3.2/release/bazel-6.3.2-linux-arm64 to 
/home/runner/.cache/bazelisk/downloads/_tmp/download1245162363: stream error: 
stream ID 1; INTERNAL_ERROR; received from peer
     DEBUG = False, BAZEL_BUILD_EXT = True, PATH = 
/tmp/pip-build-env-8vv6bk_o/overlay/bin:/tmp/pip-build-env-8vv6bk_o/normal/bin:/opt/hostedtoolcache/Python/3.13.3/arm64/bin:/opt/hostedtoolcache/Python/3.13.3/arm64:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/opt/google-cloud-sdk/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
     setup_dir: /home/runner/work/fory/fory/python
     project_dir: /home/runner/work/fory/fory
     fory_cpp_src_dir: /home/runner/work/fory/fory/src
     Traceback (most recent call last):
       File 
"/opt/hostedtoolcache/Python/3.13.3/arm64/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 389, in <module>
         main()
         ~~~~^^
       File 
"/opt/hostedtoolcache/Python/3.13.3/arm64/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 373, in main
         json_out["return_val"] = hook(**hook_input["kwargs"])
                                  ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
       File 
"/opt/hostedtoolcache/Python/3.13.3/arm64/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 157, in get_requires_for_build_editable
         return hook(config_settings)
       File 
"/tmp/pip-build-env-8vv6bk_o/overlay/lib/python3.13/site-packages/setuptools/build_meta.py",
 line 473, in get_requires_for_build_editable
         return self.get_requires_for_build_wheel(config_settings)
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
       File 
"/tmp/pip-build-env-8vv6bk_o/overlay/lib/python3.13/site-packages/setuptools/build_meta.py",
 line 331, in get_requires_for_build_wheel
         return self._get_build_requires(config_settings, requirements=[])
                ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       File 
"/tmp/pip-build-env-8vv6bk_o/overlay/lib/python3.13/site-packages/setuptools/build_meta.py",
 line 301, in _get_build_requires
         self.run_setup()
         ~~~~~~~~~~~~~~^^
       File 
"/tmp/pip-build-env-8vv6bk_o/overlay/lib/python3.13/site-packages/setuptools/build_meta.py",
 line 317, in run_setup
         exec(code, locals())
         ~~~~^^^^^^^^^^^^^^^^
       File "<string>", line 64, in <module>
       File 
"/tmp/pip-build-env-8vv6bk_o/overlay/lib/python3.13/site-packages/setuptools/__init__.py",
 line 115, in setup
         return distutils.core.setup(**attrs)
                ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
       File 
"/tmp/pip-build-env-8vv6bk_o/overlay/lib/python3.13/site-packages/setuptools/_distutils/core.py",
 line 148, in setup
         _setup_distribution = dist = klass(attrs)
                                      ~~~~~^^^^^^^
       File "<string>", line 57, in __init__
       File 
"/opt/hostedtoolcache/Python/3.13.3/arm64/lib/python3.13/subprocess.py", line 
419, in check_call
         raise CalledProcessError(retcode, cmd)
     subprocess.CalledProcessError: Command '['bazel', 'build', '-s', 
'--copt=-fsigned-char', '//:cp_fory_so']' returned non-zero exit status 1.
     error: subprocess-exited-with-error
     
     × Getting requirements to build editable did not run successfully.
     │ exit code: 1
     ╰─> See above for output.
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     full command: /opt/hostedtoolcache/Python/3.13.3/arm64/bin/python 
/opt/hostedtoolcache/Python/3.13.3/arm64/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py
 get_requires_for_build_editable /tmp/tmpzt54lry5
     cwd: /home/runner/work/fory/fory/python
     Getting requirements to build editable: finished with status 'error'
   error: subprocess-exited-with-error
   
   × Getting requirements to build editable did not run successfully.
   │ exit code: 1
   ╰─> See above for output.
   
   note: This error originates from a subprocess, and is likely not a problem 
with pip.
   Error: Process completed with exit code 1.
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to