The tests for the python deployer use an old revision of the template plugin. We should update this to support python 3.13.
It's also possible that there is another problem in addition to that one, since updating it locally caused or exposed a different issue.