I change a line in my code and build failed

I had to change a very simple line that returns a value from a route, and now that I tried to deploy, I’m getting an error related to Rust.

Could someone help me?

Deployment ID: 8359f2fb-64d7-4010-b737-70d9e6c1e124

Hi!

Did you change dependencies?

Hello @marcelo_diefenbach,

From what I see, your current deployment runs on python 3.12. The new, failing, deployment is using python 3.13. If you want to keep the older version, create .python-version file with the following content:

3.12.7

You can read more about it here.

This should fix the issue.
Why does it happen? I’m not sure. It seems that in python3.13, for some reason, pip cannot download a binary for the rust-based package pydantic_core and tries to build it and fails.

1 Like