Closed eatyourpeas closed 7 months ago
The final failing test here is actually not the server, but the RCPCHGrowth python package inside it which uses the now deprecated pkg_resources
in 3.12
My interpretation of this is that we should not support 3.12 for the time being until we have updated the package to include a .toml file and remove pkg_resources
in favour of something else for loading in the reference data.
Dockerise
Overview
This PR covers a few issues:
s
folder to anddocker compose
filesCode changes
Key changes are to typing in
request_validation_classes
,response_schema_classes
, to allow pydantic 2+ to work New files relate to docker, and files deleted are deprecating old code Changes torouters
folders are mostly linting changes Tests mostly unchanged though the responses have been updated to ensure floats are used where previously there were stringsDocumentation changes (done or required as a result of this PR)
This needs doing
Related Issues
There is no associated issue
Mentions
@pacharanero has comments here to discuss