Skip to content
New issue

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

grpcio build fails (Python 3.13, Windows): client_side_weighted_round_robin.upb_minitable.c : fatal error C1083: Cannot open compiler generated file: '': Invalid argument #36201

Open
SamuelMarks opened this issue Mar 31, 2024 · 2 comments

Comments

@SamuelMarks
Copy link

SamuelMarks commented Mar 31, 2024

What version of gRPC and what language are you using?

1.62.1 with Python

Also tried with: https://pypi.org/project/grpcio/#history

  • 1.59.3
  • 1.58.0
  • 1.57.0
  • 1.56.2
  • 1.55.3

What operating system (Linux, Windows,...) and version?

Windows 11

What runtime / compiler are you using (e.g. python version or version of gcc)

Python 3.13.0a5 with MSVC 19.39.33523

What did you do?

  1. Open x64 Native Tools Command Prompt for VS 2022 (also tried with Developer Command Prompt for VS 2022)
  2. Activate Python 3.13.0a5 virtualenv
  3. Extend INCLUDE environment variable with location of Python.h
  4. py -m pip install grpcio

What did you expect to see?

Build to work

What did you see instead?

client_side_weighted_round_robin.upb_minitable.c
  third_party\upb\upb/message/internal/array.h(123): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
  third_party\upb\upb/message/accessors.h(316): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
  Local\Temp\pip-install-r5xfmgbx\grpcio_a3fe1474c8d548e08cb988c668e52887\src\core\ext\upb-gen\envoy\extensions\load_balancing_policies\client_side_weighted_round_robin\v3\client_side_weighted_round_robin.upb_minitable.c : fatal error C1083: Cannot open compiler generated file: '': Invalid argument

stdout.log
stderr.log

Anything else we should know about your project / environment?

@XuanWang-Amos
Copy link
Contributor

Hi, Python 3.13 is not officially supported yet, we'll add the support later this year.

@XuanWang-Amos
Copy link
Contributor

Since it's related to core file, @yashykt or @veblush can one of you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants