longintrepr.h: No such file or directory, on Python 3.11

longintrepr.h: No such file or directory, on Python 3.11

29 August, 2023 • 1 min read

I upgraded a server from Debian 11 to 12, which comes standard with Python 3.11, under which this happens:

Fails to build on Python 3.11 - longintrepr.h: No such file or directory

Cue learning about pyenv, and updating pyproject.toml of all the FastAPI microservices to make them capable of “poetry run” on Python 3.9.

Then again, all 5 microservices had been running without any intervention for almost one year.

Not bad. Not bad at all.

Dropbox storage

Have something worth building?

A paragraph about what you are working on is enough to start.

Say hello