Skip to content
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

Python version upgraded from 3.8 to 3.12 #4106

Draft
wants to merge 43 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c450447
Python version upgraded from 3.8 to 3.11
gauravmishrack Oct 9, 2024
66a6321
Python version changes done in build_docker_images.yml file
gauravmishrack Oct 9, 2024
ebe4658
Testng 3.8 version test results
gauravmishrack Oct 9, 2024
730ce90
Testing 3.8 tests results
gauravmishrack Oct 15, 2024
d777c07
python 3.11 testing
gauravmishrack Oct 15, 2024
3aff35b
Final Commit for python upgrade
gauravmishrack Oct 17, 2024
9c19e5a
requirements.txt updated for testing
gauravmishrack Oct 21, 2024
ae384de
bullseye to bookworm python update
gauravmishrack Oct 21, 2024
ec44e25
service bus version update
gauravmishrack Oct 21, 2024
ffef58c
rolledback requirement.txt file
gauravmishrack Oct 21, 2024
f892564
resource procesor change
Oct 22, 2024
50e7d70
Bookworm to Bullseye Changes
Oct 22, 2024
6c9e93b
3.12 version upgrade for python
Oct 22, 2024
b50090e
airlockfiles changes
Oct 22, 2024
72a52e8
mlflow changes
Oct 22, 2024
9388e3e
remove stuff
tp-allen Nov 5, 2024
a66f7dc
add in 'the'
tp-allen Nov 5, 2024
25b5422
update
tp-allen Nov 5, 2024
90257f6
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 5, 2024
8c0ea44
update requirements
tp-allen Nov 5, 2024
ad445e8
updaet
tp-allen Nov 5, 2024
ccfb11d
update
tp-allen Nov 5, 2024
62b0d4b
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 5, 2024
fadd855
update
tp-allen Nov 5, 2024
0b143cd
update pytest versions
tp-allen Nov 5, 2024
5ca4af3
update starlette
tp-allen Nov 5, 2024
679c468
update
tp-allen Nov 5, 2024
fb7c31e
update mlflow
tp-allen Nov 5, 2024
9972ef7
update
tp-allen Nov 6, 2024
97aa8c0
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 6, 2024
543110f
update vmss_porter
tp-allen Nov 6, 2024
f8aeaa0
update
tp-allen Nov 6, 2024
74b30ce
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 7, 2024
ca179c0
update core version
tp-allen Nov 7, 2024
4f4786f
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 8, 2024
a8e7452
python updates
tp-allen Nov 8, 2024
e6f7063
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 8, 2024
3ce4e29
update StrEnum
tp-allen Nov 11, 2024
dc5c6d3
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 11, 2024
7dd21e4
fix api messages
tp-allen Nov 12, 2024
19960ae
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 12, 2024
e36ca15
add in user, edit output.sh, revert schema_extra
tp-allen Nov 13, 2024
809deb3
Merge branch 'main' into python3.8-Gaurav
tim-allen-ck Nov 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/python-3/.devcontainer/base.Dockerfile

# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
ARG VARIANT="3.8"
ARG VARIANT="3.12"
ARG TARGETPLATFORM="linux/amd64"
FROM --platform="${TARGETPLATFORM}" mcr.microsoft.com/vscode/devcontainers/python:dev-${VARIANT}-bullseye

Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"context": "..",
"dockerfile": "Dockerfile",
"args": {
// To ensure that the group ID for the docker group in the container
tim-allen-ck marked this conversation as resolved.
Show resolved Hide resolved
// matches the group ID on the host, add this to your .bash_profile on the host
// To ensure that the group ID for the docker group in container
// matches the group ID on the host, add this to your .bash_profile on host
// export DOCKER_GROUP_ID=$(getent group docker | awk -F ":" '{ print $3 }')
"DOCKER_GROUP_ID": "${localEnv:DOCKER_GROUP_ID}",
"INTERACTIVE": "true"
Expand Down
1 change: 1 addition & 0 deletions AzureTRE
Submodule AzureTRE added at 400766
2 changes: 1 addition & 1 deletion airlock_processor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To enable ssh & remote debugging on app service change the base image to the one below
# FROM mcr.microsoft.com/azure-functions/python:4-python3.8-appservice as base
FROM mcr.microsoft.com/azure-functions/python:4-python3.8-slim as base
FROM mcr.microsoft.com/azure-functions/python:4-python3.12-slim as base

COPY requirements.txt /
RUN pip install --no-cache-dir -r /requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion api_app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim-bullseye as base
FROM python:3.12-slim-bullseye as base
COPY requirements.txt /.
RUN pip3 install --no-cache-dir -r requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion resource_processor/vmss_porter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM python:3.8-slim-bullseye
FROM python:3.12-slim-bullseye

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/certs/Dockerfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1.4.0
FROM --platform=linux/amd64 python:3.8-slim-bullseye
FROM --platform=linux/amd64 python:3.12-slim-bullseye

# PORTER_INIT

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-bullseye
FROM python:3.12-slim-bullseye

# Install MLflow Python Packages
RUN pip install --no-cache-dir psycopg2==2.9.5 mlflow==2.0.1 azure-storage-blob==12.14.1
Expand Down
Loading