error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
Collecting maturin!=1.12.0,<2,>=1.9.4
Using cached maturin-1.14.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (16 kB)
Collecting cffi>=2.0.0
Using cached cffi-2.0.0.tar.gz (523 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/tmp/tmpgwzz7hq8/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpgwzz7hq8/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpgwzz7hq8/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-t8ht9qpm/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-t8ht9qpm/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-t8ht9qpm/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 22, in <module>
RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cffi' when getting requirements to build wheel
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
Ignoring cffi: markers 'python_version >= "3.15" and platform_python_implementation != "PyPy"' don't match your environment
Collecting maturin<2,>=1.14.1
Using cached maturin-1.15.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (17 kB)
Collecting cffi>=2.0.0
Downloading cffi-2.1.1.tar.gz (530 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 530.8/530.8 kB 22.4 MB/s 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/tmp/tmpmkglrare/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpmkglrare/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpmkglrare/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-zsr709nk/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-zsr709nk/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-zsr709nk/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 22, in <module>
RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cffi' when getting requirements to build wheel
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
ent_ListOffsets_result’; did you mean ‘rd_kafka_event_DeleteAcls_result’? [-Wimplicit-function-declaration]
5372 | rd_kafka_event_ListOffsets_result(rkev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rd_kafka_event_DeleteAcls_result
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5372:21: warning: initialization of ‘const int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5373:23: error: unknown type name ‘rd_kafka_ListOffsetsResultInfo_t’
5373 | const rd_kafka_ListOffsetsResultInfo_t **c_result_infos =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5374:21: warning: implicit declaration of function ‘rd_kafka_ListOffsets_result_infos’ [-Wimplicit-function-declaration]
5374 | rd_kafka_ListOffsets_result_infos(c_list_offsets_result,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5374:21: warning: initialization of ‘const int **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5395:14: error: ‘RD_KAFKA_EVENT_ELECTLEADERS_RESULT’ undeclared (first use in this function); did you mean ‘RD_KAFKA_EVENT_DELETEACLS_RESULT’?
5395 | case RD_KAFKA_EVENT_ELECTLEADERS_RESULT: {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RD_KAFKA_EVENT_DELETEACLS_RESULT
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5398:23: error: unknown type name ‘rd_kafka_ElectLeaders_result_t’
5398 | const rd_kafka_ElectLeaders_result_t
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5400:25: warning: implicit declaration of function ‘rd_kafka_event_ElectLeaders_result’; did you mean ‘rd_kafka_event_DeleteAcls_result’? [-Wimplicit-function-declaration]
5400 | rd_kafka_event_ElectLeaders_result(rkev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rd_kafka_event_DeleteAcls_result
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5400:25: warning: initialization of ‘const int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5402:23: error: unknown type name ‘rd_kafka_topic_partition_result_t’
5402 | const rd_kafka_topic_partition_result_t **partition_results =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5403:21: warning: implicit declaration of function ‘rd_kafka_ElectLeaders_result_partitions’; did you mean ‘rd_kafka_group_result_partitions’? [-Wimplicit-function-declaration]
5403 | rd_kafka_ElectLeaders_result_partitions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rd_kafka_group_result_partitions
/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c:5403:21: warning: initialization of ‘const int **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
error: Command '['cc', '-pthread', '-fno-strict-overflow', '-Wsign-compare', '-Wunreachable-code', '-DNDEBUG', '-g', '-O3', '-Wall', '-fPIC', '-fPIC', '-I/tmp/tmpckvarmve/venv/include', '-I/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t', '-c', '/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.c', '-o', 'build/temp.linux-x86_64-cpython-313t/tmp/pip-install-pvitolhh/confluent-kafka_c0d25776ec1642cfb89d469412b1cf39/src/confluent_kafka/src/Admin.o']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for confluent-kafka
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> confluent-kafka
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
Ignoring cffi: markers 'python_version >= "3.15" and platform_python_implementation != "PyPy"' don't match your environment
Collecting maturin<2,>=1.14.1
Using cached maturin-1.15.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (17 kB)
Collecting cffi>=2.0.0
Using cached cffi-2.1.1.tar.gz (530 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/tmp/tmpct_mkai2/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpct_mkai2/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpct_mkai2/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-jff9_ne4/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-jff9_ne4/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-jff9_ne4/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 22, in <module>
RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cffi' when getting requirements to build wheel
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
ERROR: Could not find a version that satisfies the requirement tensorflow-io-gcs-filesystem==0.37.1 (from versions: none)
ERROR: No matching distribution found for tensorflow-io-gcs-filesystem==0.37.1
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
Ignoring cffi: markers 'python_version >= "3.15" and platform_python_implementation != "PyPy"' don't match your environment
Collecting maturin<2,>=1.14.1
Using cached maturin-1.15.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (17 kB)
Collecting cffi>=2.0.0
Downloading cffi-2.1.1.tar.gz (530 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 530.8/530.8 kB 13.5 MB/s 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/tmp/tmpvctx55f8/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpvctx55f8/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpvctx55f8/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-g9halm8e/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-g9halm8e/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-g9halm8e/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 22, in <module>
RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cffi' when getting requirements to build wheel
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
Ignoring cffi: markers 'python_version >= "3.15" and platform_python_implementation != "PyPy"' don't match your environment
Collecting maturin<2,>=1.14.1
Using cached maturin-1.15.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (17 kB)
Collecting cffi>=2.0.0
Using cached cffi-2.1.1.tar.gz (530 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/tmp/tmpnhrx0uwj/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpnhrx0uwj/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpnhrx0uwj/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-km9g4k5r/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-km9g4k5r/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-km9g4k5r/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 22, in <module>
RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cffi' when getting requirements to build wheel
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-8yxdoh8c --interpreter /tmp/tmpo5ze3sws/venv/bin/python`
error: failed to parse manifest at `/tmp/pip-install-d2u3irkv/litellm_e7ae8967ab334097abe614daccfdc60f/litellm-rust/crates/python-bridge/Cargo.toml`
Caused by:
failed to parse the `edition` key
Caused by:
this version of Cargo is older than the `2024` edition, and only supports `2015`, `2018`, and `2021` editions.
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-8yxdoh8c', '--interpreter', '/tmp/tmpo5ze3sws/venv/bin/python']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> litellm
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
ent_ListOffsets_result’; did you mean ‘rd_kafka_event_DeleteAcls_result’? [-Wimplicit-function-declaration]
5372 | rd_kafka_event_ListOffsets_result(rkev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rd_kafka_event_DeleteAcls_result
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5372:21: warning: initialization of ‘const int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5373:23: error: unknown type name ‘rd_kafka_ListOffsetsResultInfo_t’
5373 | const rd_kafka_ListOffsetsResultInfo_t **c_result_infos =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5374:21: warning: implicit declaration of function ‘rd_kafka_ListOffsets_result_infos’ [-Wimplicit-function-declaration]
5374 | rd_kafka_ListOffsets_result_infos(c_list_offsets_result,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5374:21: warning: initialization of ‘const int **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5395:14: error: ‘RD_KAFKA_EVENT_ELECTLEADERS_RESULT’ undeclared (first use in this function); did you mean ‘RD_KAFKA_EVENT_DELETEACLS_RESULT’?
5395 | case RD_KAFKA_EVENT_ELECTLEADERS_RESULT: {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RD_KAFKA_EVENT_DELETEACLS_RESULT
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5398:23: error: unknown type name ‘rd_kafka_ElectLeaders_result_t’
5398 | const rd_kafka_ElectLeaders_result_t
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5400:25: warning: implicit declaration of function ‘rd_kafka_event_ElectLeaders_result’; did you mean ‘rd_kafka_event_DeleteAcls_result’? [-Wimplicit-function-declaration]
5400 | rd_kafka_event_ElectLeaders_result(rkev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rd_kafka_event_DeleteAcls_result
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5400:25: warning: initialization of ‘const int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5402:23: error: unknown type name ‘rd_kafka_topic_partition_result_t’
5402 | const rd_kafka_topic_partition_result_t **partition_results =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5403:21: warning: implicit declaration of function ‘rd_kafka_ElectLeaders_result_partitions’; did you mean ‘rd_kafka_group_result_partitions’? [-Wimplicit-function-declaration]
5403 | rd_kafka_ElectLeaders_result_partitions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rd_kafka_group_result_partitions
/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c:5403:21: warning: initialization of ‘const int **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
error: Command '['cc', '-pthread', '-fno-strict-overflow', '-Wsign-compare', '-Wunreachable-code', '-DNDEBUG', '-g', '-O3', '-Wall', '-fPIC', '-fPIC', '-I/tmp/tmpensqlpa5/venv/include', '-I/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t', '-c', '/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.c', '-o', 'build/temp.linux-x86_64-cpython-314t/tmp/pip-install-py808_wa/confluent-kafka_ede6cd02b53d40c485f5d0bed3579212/src/confluent_kafka/src/Admin.o']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for confluent-kafka
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> confluent-kafka
ERROR: Could not find a version that satisfies the requirement tensorflow-io-gcs-filesystem==0.37.1 (from versions: none)
ERROR: No matching distribution found for tensorflow-io-gcs-filesystem==0.37.1
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-9qe_hohz --interpreter /tmp/tmp1mfmi7o9/venv/bin/python`
error: failed to parse manifest at `/tmp/pip-install-0bdrjyvf/litellm_a3ffdc2af8aa4589951ee31c805712f0/litellm-rust/crates/python-bridge/Cargo.toml`
Caused by:
failed to parse the `edition` key
Caused by:
this version of Cargo is older than the `2024` edition, and only supports `2015`, `2018`, and `2021` editions.
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-9qe_hohz', '--interpreter', '/tmp/tmp1mfmi7o9/venv/bin/python']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> litellm
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.