fastapi-tdd-docker
fastapi-tdd-docker copied to clipboard
Test-Driven Development with FastAPI and Docker
**I have had errors when building the docker images in gitbub, for that reason I have cloned the project, the problem persisted** thanks for your support WARNING: Running pip as...
So this is a Windows-specific issue from what I can tell, and I'm posting this here in case someone else needs the solution. Please feel free to edit/close the issue...
Hello Michael, I met some problems when I executed `docker-compose exec web python -m pytest` to test the pytest app. (Session: Pytest Setup in part 1) Error message: ```console $...
BaseSettings reads from environment vars already so no need to explicitly call os.getenv() or os.environ.get()
The file `summaries.py` uses a `isort:skip` comment to avoid a conflict between black and isort. Strictly speaking, this isn't necessary; as of version 5 you can [configure isort to be...
to make deployment work in Heroku from my Apple M1 machine I had to replace ``` docker build -f project/Dockerfile.prod -t registry.heroku.com//web ./project ``` to ``` docker buildx build --platform...
Running the original main.yml gives the following warning: `Run docker login -u _ -p ${HEROKU_AUTH_TOKEN} registry.heroku.com WARNING! Using -*** the CLI is insecure. Use --password-stdin.` Revised line: `run: echo ${HEROKU_AUTH_TOKEN}...
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.109.0 to 0.109.1. Release notes Sourced from fastapi's releases. 0.109.1 Security fixes ⬆️ Upgrade minimum version of python-multipart to >=0.0.7 to fix a vulnerability when using form...
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.0.1 to 22.0.0. Release notes Sourced from gunicorn's releases. Gunicorn 22.0 has been released Gunicorn 22.0.0 has been released. This version fix the numerous security vulnerabilities. You're...
Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...