-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix(schematic): updated schematic api python version to 3.10.14 #2619
fix(schematic): updated schematic api python version to 3.10.14 #2619
Conversation
@linglp This seems to have failed |
@tschaffter I looked at the security issues raised by trivy, and here's a summary of how I plan to address them:
I then double checked schematicpy version 24.2.1 and found out that in the lock file, MarkupSafe version is indeed 2.1.0. But the current schematic in develop branch is already using MarkupSafe 2.1.5. This means that we could update connexion and flask after another release of schematic
Note: How about making MarkupSafe optional?
And nbconvert is required by jupyter-server.. which means that to turn it optional, we have to turn jupyter-server optional.. that’s possible, but should be its own PR and ticket.
|
Quality Gate passed for 'schematic-api'Issues Measures |
Problem
Related to https://sagebionetworks.jira.com/browse/FDS-1942
Got an error message when trying to build docker image:
and also:
The cause is because our project is using python version 3.10.13 but 3.10.14 is required.
The docker file that we are using is using
FROM tiangolo/uwsgi-nginx-flask:python3.10
. When I looked into the base image of that docker file, I saw:FROM tiangolo/uwsgi-nginx:python3.10
. And in this docker file, I saw:FROM python:3.10-bullseye
. I then checked the docker file related topython:3.10-bulleye
here and saw thatENV PYTHON_VERSION 3.10.14
.I also checked the commit history of
python:3.10-bulleye
docker file and found that two weeks ago, they updated the image to use Python 3.10.14 instead of Python 3.10.13. (See commit here)Temporary solution
Updated our project to use python 3.10.14
FDS-1942