Dev container not building

When opening the dev container it fails when building on this step:

RUN pip3 install -r requirements_test.txt --use-deprecated=legacy-resolver

it fails with this error: Command failed: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-4685538d-d78a-4250-a1c0-1ded5573bdc01715587686440 --workspace-folder /workspaces/core --workspace-mount-consistency cached --id-label vsch.local.repository=GitHub - kaareseras/core: 🏡 Open source home automation that puts local control and privacy first. --id-label vsch.local.repository.volume=core-5bed3a311c426bd70137f049495d4950c6768c4e8e266433ac90e18c9eb0f3c3 --id-label vsch.local.repository.folder=core --id-label devcontainer.config_file=/workspaces/core/.devcontainer/devcontainer.json --log-level debug --log-format json --config /workspaces/core/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-e5db55a5-1590-40aa-85a1-41f5d1606602.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=core-5bed3a311c426bd70137f049495d4950c6768c4e8e266433ac90e18c9eb0f3c3,target=/workspaces,external=true --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default off --mount-workspace-git-root --terminal-columns 164 --terminal-rows 13