A partial port of the postgres fix to deploy/hammer. The version of fastapi is too old and has conflict with newer versions of anyio, it also incorrectly specify the version range supported so any change to the dependency list will break it. A hacky port has to be done where the required test dependencies are not updated and is manually installed, this does mean that it is not possible to run the postgres tests in CI.
Self-checks
[ ] I have prototyped this new feature (if necessary) on Figma
What's new
A partial port of the postgres fix to deploy/hammer. The version of fastapi is too old and has conflict with newer versions of anyio, it also incorrectly specify the version range supported so any change to the dependency list will break it. A hacky port has to be done where the required test dependencies are not updated and is manually installed, this does mean that it is not possible to run the postgres tests in CI.
Self-checks
Discussion