-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to build API Docker image with Python 3.10 #303
Comments
Thank you for reporting the issue. Looking into it. |
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>
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 `Cython` package. Due to the recent upgrade to `Cython 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>
Hello @yurinnick , |
When trying to build
kernelci-api_api
image it fails with error:However once downgrading to base image
python:3.9
it builds just fine. Maybe releated to pypa/setuptools#3214.The text was updated successfully, but these errors were encountered: