When using version 3.192.0 of pulumi (Python libra...
# python
h
When using version 3.192.0 of pulumi (Python library), I'm getting this error when updating stack:
Copy code
error: Exception calling application: Value out of range: 8589934588
Reverting to version 3.191.0 worked. Any insights? Thanks! NOTE: Happens on both MacOS (my laptop) and Linux (when using self-hosted runner in GitHub Actions). ARM architecture in both cases.
s
Hmm are you using that value anywhere in your code? Either way, I'd recommend opening up a bug in this repository https://github.com/pulumi/pulumi-azure-native 🙂
h
Nope. The error is thrown when pulumi update starts. Gonna fill a bug ...
Just a heads up. Same happens with version 3.193.0: Exactly the same error with the same number (8589934588)
a
I'm seeing the exact same error when doing a stack preview, except that I run into the error with Pulumi >= 3.190, but <= 3.189.0 works fine
After digging into this for a while, I believe the culprit is an incompatibility between the Pulumi CLI and the Pulumi python packages. I had the Pulumi 3.99.1 CLI installed, which fails with the above error. Upgrading the CLI to 3.193.0 fixes the problem.
h
For me 3.191.0 works. 3.192 and 3.193 do not.
a
@hallowed-keyboard-76328 CLI version, SDK version, or both?
h
In
requirements.txt
for the python virtual env I have set this:
Copy code
pulumi<3.192.0
a
@hallowed-keyboard-76328 Right, that's the SDK version. What does running
pulumi version
return?
h
It's 3.191.0 right now.