CGI is not part of python as of 3.13
The cgi module used to parse form data is not available any more as of python 3.13. For remi to continue, the dependency here https://github.com/rawpython/remi/blob/master/remi/server.py#L577 has to be removed
An idea would be to switch to legacy-cgi https://pypi.org/project/legacy-cgi/ . Another to replace the call by parse_qs from urllib. I am no expert, so the details would have to be worked out
On another note, when will the next release be made? The last release on pypi is from 2022 as it seems? https://pypi.org/project/remi/#history
Any feedback is appreciated.
Thanks, Ben
Just discovered this myself in RPi OS Trixie testing. It would be good to not to have to use legacy-cgi as that requires a python virtual environment with all the faff that this involves.
I use grok code fast to fix it, and it suggests using multipart instead. At least I can use editor by this fix. Now I choose to create a uv venv using python 3.12. May someone can keep maintaining.