Hi All, I'm new to Pulumi. Anyone here try to crea...
# python
b
Hi All, I'm new to Pulumi. Anyone here try to create a new compliance policy
pulumi policy new aws-python
and get it to work successfully lately? I'm getting an error when I try with Pulumi
v3.104.2
. The error I get is:
Copy code
ERROR: Failed building wheel for grpcio
  Running setup.py clean for grpcio
Failed to build grpcio
ERROR: Could not build wheels for grpcio, which is required to install pyproject.toml-based projects
h
probably some kind of python/environment mismatch from what's precompiled
check what version of grpcio you're installing and compare it to the wheels in https://pypi.org/project/grpcio/#files
b
Thanks. It's pulling 1.56.2 from the requirements file, which was released in July. What's the best path forward here?
Copy code
Collecting grpcio==1.56.2 (from pulumi-policy<2.0.0,>=1.3.0->-r requirements.txt (line 1))
  Using cached grpcio-1.56.2.tar.gz (24.3 MB)
l
@busy-barista-3617 can you update the Pulumi Python SDK to v3.105.0? That version upgraded the grpcio dependency to v1.60.1 which should fix this problem. https://github.com/pulumi/pulumi/releases/tag/v3.105.0
More context on compatibility with Python 3.12 can be found here: https://github.com/pulumi/pulumi/pull/15190