NEF_emulator: error in make build: python version

Operating system: macOS Monterey version 12.6.1
2nd Operating system: Windows 10 pro
Applications: Docker Desktop, Visual Studio Code

While running command “make build” showed this error:
The currently activated Python version 3.9.15 is not supported by the project (3.9.7). Poetry was unable to find a compatible version.

Solution: in NEF_emulator-main/backend/app/pyproject.toml → line 8 is missing “^” (python = “3.9.7” → python = “^3.9.7”)

@alex_antypas thank you for mentioning and solving this issue.

The problem arises probably from the docker image tiangolo/uvicorn-gunicorn-fastapi:python3.9. I deleted the old image that used to work properly, and I pulled again the image from docker hub. Same error appears on my screen “The currently activated Python version 3.9.15 is not supported by the project (3.9.7). Poetry was unable to find a compatible version.

This is due to the fact that the docker image installs python 3.9.15 and then poetry tries to install (overwrite) 3.9.7 python version.