Skip to content

Commit 0a92a84

Browse files
author
Jeny Sadadia
committed
docker/api/requirements: fix api container build failure
Fix build failures of `api` container. Error logs can be found at ```https://github.com/kernelci/kernelci-api/issues/303```. Root cause: `fastapi[all] 0.68.1` package installs `pyyaml 5.4.1` package internally. That again depends on `CPython` package. Due to the recent upgrade to `CPython 3.0.0`, `pyyaml 5.4.1` stopped building with `python 3.10`. To fix this, upgrading `fastapi[all]` to `0.99.1` version as that uses `pyyaml 6.0.1`. The selected `fastapi` version is compatible with current `fastapi-pagination` and `fastapi-versioning` packages. Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
1 parent b7e9cc6 commit 0a92a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/api/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
aioredis[hiredis]==2.0.0
22
cloudevents==1.9.0
3-
fastapi[all]==0.68.1
3+
fastapi[all]==0.99.1
44
fastapi-pagination==0.9.3
55
passlib==1.7.4
66
pydantic==1.10.5

0 commit comments

Comments
 (0)