Patch api v1 21 0 (#2932)

* fix(chalice): fixes for SSO

* fix(chalice): changed base image

* fix(chalice): changed requirements

(cherry picked from commit c8775f3c15)
This commit is contained in:
Kraiem Taha Yassine 2025-01-09 19:30:01 +01:00 committed by Taha Yassine Kraiem
parent 830fb70ee0
commit a58bff9d11
3 changed files with 30 additions and 33 deletions

View file

@ -12,12 +12,9 @@ ENV SOURCE_MAP_VERSION=0.7.4 \
WORKDIR /work
COPY requirements.txt ./requirements.txt
# Caching the source build
#RUN pip install --no-cache-dir --upgrade uv
#RUN uv pip install --no-cache-dir --upgrade pip setuptools wheel --system
#RUN uv pip install --no-cache-dir --upgrade python3-saml==1.16.0 --no-binary=lxml --system
#RUN uv pip install --no-cache-dir --upgrade -r requirements.txt --system
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# This code is used to solve 'lxml & xmlsec libxml2 library version mismatch' error
RUN pip uninstall -y lxml && pip install lxml
COPY . .
RUN mv env.default .env

View file

@ -4,27 +4,27 @@ verify_ssl = true
name = "pypi"
[packages]
urllib3 = "==2.2.3"
urllib3 = "==1.26.16"
requests = "==2.32.3"
boto3 = "==1.35.86"
pyjwt = "==2.10.1"
boto3 = "==1.35.60"
pyjwt = "==2.9.0"
psycopg2-binary = "==2.9.10"
psycopg = {extras = ["pool", "binary"], version = "==3.2.3"}
clickhouse-driver = {extras = ["lz4"], version = "==0.2.9"}
clickhouse-connect = "==0.8.11"
elasticsearch = "==8.17.0"
psycopg = {extras = ["binary", "pool"], version = "==3.2.3"}
elasticsearch = "==8.16.0"
jira = "==3.8.0"
cachetools = "==5.5.0"
fastapi = "==0.115.6"
uvicorn = {extras = ["standard"], version = "==0.34.0"}
fastapi = "==0.115.5"
uvicorn = {extras = ["standard"], version = "==0.32.0"}
gunicorn = "==23.0.0"
python-decouple = "==3.8"
pydantic = {extras = ["email"], version = "==2.10.4"}
apscheduler = "==3.11.0"
redis = "==5.2.1"
pydantic = {extras = ["email"], version = "==2.9.2"}
apscheduler = "==3.10.4"
clickhouse-driver = {extras = ["lz4"], version = "==0.2.9"}
lxml = "!=4.7.0,<=5.2.1,>=4.6.5"
python3-saml = "==1.16.0"
python-multipart = "==0.0.20"
azure-storage-blob = "==12.24.0"
python-multipart = "==0.0.17"
redis = "==5.2.0"
azure-storage-blob = "==12.23.1"
[dev-packages]

View file

@ -1,30 +1,30 @@
urllib3==2.2.3
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
requests==2.32.3
boto3==1.35.86
pyjwt==2.10.1
boto3==1.35.60
pyjwt==2.9.0
psycopg2-binary==2.9.10
psycopg[pool,binary]==3.2.3
clickhouse-driver[lz4]==0.2.9
clickhouse-connect==0.8.11
elasticsearch==8.17.0
elasticsearch==8.16.0
jira==3.8.0
cachetools==5.5.0
fastapi==0.115.6
uvicorn[standard]==0.34.0
fastapi==0.115.5
uvicorn[standard]==0.32.0
gunicorn==23.0.0
python-decouple==3.8
pydantic[email]==2.10.4
apscheduler==3.11.0
redis==5.2.1
pydantic[email]==2.9.2
apscheduler==3.10.4
clickhouse-driver[lz4]==0.2.9
# TODO: enable after xmlsec fix https://github.com/xmlsec/python-xmlsec/issues/252
#--no-binary is used to avoid libxml2 library version incompatibilities between xmlsec and lxml
lxml >= 4.6.5, !=4.7.0, <=5.2.1
python3-saml==1.16.0 --no-binary=lxml
python-multipart==0.0.20
python-multipart==0.0.17
redis==5.2.0
#confluent-kafka==2.1.0
azure-storage-blob==12.24.0
azure-storage-blob==12.23.1