We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Python
os: window11 version: rocketmq-python-client==5.0.2 Python: 3.12
client
No response
When I install dependencies using Python 3.12 use uv tools, an error is reported:
$ uv add rocketmq-python-client==5.0.2 Resolved 197 packages in 236ms x Failed to download and build `grpcio-tools==1.48.2` `-> Build backend failed to build wheel through `build_wheel` (exit code: 1) [stdout] running bdist_wheel running build running build_py copying grpc_tools\command.py -> build\lib.win-amd64-cpython-312\grpc_tools copying grpc_tools\protoc.py -> build\lib.win-amd64-cpython-312\grpc_tools copying grpc_tools\__init__.py -> build\lib.win-amd64-cpython-312\grpc_tools copying grpc_tools\_proto\google\protobuf\wrappers.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\type.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\timestamp.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\struct.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\source_context.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\field_mask.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\empty.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\duration.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\descriptor.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\compiler\plugin.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf\compiler copying grpc_tools\_proto\google\protobuf\api.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf copying grpc_tools\_proto\google\protobuf\any.proto -> build\lib.win-amd64-cpython-312\grpc_tools\_proto\google\protobuf running build_ext building 'grpc_tools._protoc_compiler' extension "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32_LEAN_AND_MEAN=1 -DMS_WIN64=1 -I. -Igrpc_root -Igrpc_root\include -Ithird_party\protobuf\src -IC:\Users\user\AppData\Local\uv\cache\builds-v0\.tmpQI43uH\include -IC:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include -IC:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpgrpc_root\src\compiler\python_generator.cc /Fobuild\temp.win-amd64-cpython-312\Release\grpc_root\src\compiler\python_generator.obj -std=c++14 /MT python_generator.cc grpc_root\src/compiler/python_generator_helpers.h(104): warning C4267: ����ʼ����: �ӡ�size_t��ת������int�������ܶ�ʧ���� grpc_root\src/compiler/python_generator_helpers.h(104): warning C4267: ����ʼ����: �ӡ�size_t��ת������const int�������ܶ�ʧ���� grpc_root\src\compiler\python_generator.cc(852): warning C4267: ��������: �ӡ�size_t��ת������int�������ܶ�ʧ���� grpc_root\src\compiler\python_generator.cc(893): warning C4267: ����ʼ����: �ӡ�size_t��ת������int�������ܶ�ʧ���� grpc_root\src\compiler\python_generator.cc(893): warning C4267: ����ʼ����: �ӡ�size_t��ת������const int�������ܶ�ʧ���� "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32_LEAN_AND_MEAN=1 -DMS_WIN64=1 -I. -Igrpc_root -Igrpc_root\include -Ithird_party\protobuf\src -IC:\Users\user\AppData\Local\uv\cache\builds-v0\.tmpQI43uH\include -IC:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include -IC:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpgrpc_tools\_protoc_compiler.cpp /Fobuild\temp.win-amd64-cpython-312\Release\grpc_tools\_protoc_compiler.obj -std=c++14 /MT _protoc_compiler.cpp C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\pyconfig.h(130): warning C4005: ��MS_WIN64��: ���ض��� C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\pyconfig.h(130): note: ֮ǰ���������������ġ�MS_WIN64�� grpc_tools\_protoc_compiler.cpp(2110): warning C4244: ��������: �ӡ�Py_ssize_t��ת������int�������ܶ�ʧ���� grpc_tools\_protoc_compiler.cpp(3678): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(3818): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(3977): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(4086): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(6292): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(7039): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(7051): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(7055): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(7072): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(7100): error C2039: "curexc_type": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7101): error C2039: "curexc_value": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7102): error C2039: "curexc_traceback": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7103): error C2039: "curexc_type": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7104): error C2039: "curexc_value": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7105): error C2039: "curexc_traceback": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7111): error C2039: "curexc_type": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7112): error C2039: "curexc_value": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7113): error C2039: "curexc_traceback": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7114): error C2039: "curexc_type": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7115): error C2039: "curexc_value": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7116): error C2039: "curexc_traceback": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7265): error C2039: "curexc_traceback": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(7268): error C2039: "curexc_traceback": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(8165): warning C4996: 'PyDictObject::ma_version_tag': deprecated in 3.12 grpc_tools\_protoc_compiler.cpp(8356): error C2027: ʹ����δ�������͡�_frame�� C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\pytypedefs.h(22): note: �μ���_frame�������� grpc_tools\_protoc_compiler.cpp(8450): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� grpc_tools\_protoc_compiler.cpp(8505): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� grpc_tools\_protoc_compiler.cpp(8684): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� grpc_tools\_protoc_compiler.cpp(8739): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� grpc_tools\_protoc_compiler.cpp(8880): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� grpc_tools\_protoc_compiler.cpp(8935): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� grpc_tools\_protoc_compiler.cpp(9155): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9155): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9169): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9171): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9185): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9187): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9188): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9190): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9211): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9213): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9214): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9216): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9440): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9442): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9443): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9445): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9522): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9525): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9526): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9530): error C2027: ʹ����δ�������͡�_frame�� C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\pytypedefs.h(22): note: �μ���_frame�������� grpc_tools\_protoc_compiler.cpp(9561): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9567): error C2027: ʹ����δ�������͡�_frame�� C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\pytypedefs.h(22): note: �μ���_frame�������� grpc_tools\_protoc_compiler.cpp(9576): error C2039: "curexc_type": ���� "_ts" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(115): note: �μ���_ts�������� grpc_tools\_protoc_compiler.cpp(9873): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(9875): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(10122): error C2039: "exc_type": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(10124): error C2039: "exc_traceback": ���� "_err_stackitem" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/pystate.h(83): note: �μ���_err_stackitem�������� grpc_tools\_protoc_compiler.cpp(10557): error C2039: "ob_digit": ���� "_longobject" �ij�Ա C:\Users\user\AppData\Roaming\uv\python\cpython-3.12.6-windows-x86_64-none\include\cpython/longintrepr.h(87): note: �μ���_longobject�������� [stderr] <string>:30: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html cl: ������ warning D9025 :������д��/MD��(�á�/MT��) cl: ������ warning D9002 :����δ֪ѡ�-std=c++14�� cl: ������ warning D9025 :������д��/MD��(�á�/MT��) cl: ������ warning D9002 :����δ֪ѡ�-std=c++14�� error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 help: `grpcio-tools` was included because `api==0.1.0` depends on `rocketmq-python-client==5.0.2` which depends on `grpcio-tools`
none
Using Python 3.12 can install dependencies success.
Installation error reported
The text was updated successfully, but these errors were encountered:
Modify setup.py to pyproject.toml can solve the following problem: An example of the content of pyproject.toml is as follows:
[build-system] requires = ["setuptools>=61.0.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "rocketmq-python-client" version = "5.0.2" description = "RocketMQ Python Client" authors = [ { name = "Your Name", email = "[email protected]" } ] dependencies = [ "grpcio>=1.5.0", "grpcio-tools>=1.5.0", "protobuf", "opentelemetry-api>=1.2.0", "opentelemetry-sdk>=1.2.0", "opentelemetry-exporter-otlp>=1.2.0" ] requires-python = ">=3.7"
Sorry, something went wrong.
No branches or pull requests
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Programming Language of the Client
Python
Runtime Platform Environment
os: window11
version: rocketmq-python-client==5.0.2
Python: 3.12
RocketMQ Version of the Client/Server
client
Run or Compiler Version
No response
Describe the Bug
When I install dependencies using Python 3.12 use uv tools, an error is reported:
Steps to Reproduce
none
What Did You Expect to See?
Using Python 3.12 can install dependencies success.
What Did You See Instead?
Installation error reported
Additional Context
No response
The text was updated successfully, but these errors were encountered: