Skip to content

Commit

Permalink
Update Python
Browse files Browse the repository at this point in the history
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
  • Loading branch information
red-hat-konflux[bot] authored Nov 23, 2024
1 parent 9951c1f commit d9131c2
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Use the official lightweight Python image.
# https://hub.docker.com/_/python
FROM python:3.7-slim
FROM python:3.13-slim

ENV APP_HOME /app
WORKDIR $APP_HOME
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/explanation/aix/mnist/rfserver/rf.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7
FROM python:3.13

COPY . .
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir kserve
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/kafka/transformer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.13-slim

RUN apt-get update && apt-get install -y libglib2.0-0
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir kserve
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.13-slim

COPY driver_transformer driver_transformer
WORKDIR driver_transformer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.13-slim
RUN pip install --upgrade pip && pip install "feast[gcp]~=0.30.0" "feast[redis]~=0.30.0" "feast[aws]~=0.30.0"
ENV FEAST_USAGE=False
EXPOSE 6566
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.13-slim
RUN pip install --upgrade pip && pip install "feast[gcp]~=0.30.0" "feast[redis]~=0.30.0" "feast[aws]~=0.30.0"
WORKDIR feature_store_initializer
COPY feature_store_initializer_entrypoint.sh feature_store_initializer_entrypoint.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-bullseye
FROM python:3.13-slim-bullseye
WORKDIR /code
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion python/aiffairness/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../kserve", develop = true}
aif360 = "^0.2.3"
nest-asyncio = "^1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion python/alibiexplainer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
alibi = { version = "^0.9.4", extras = ["shap", "tensorflow"] } # From 0.9.5 alibi uses BSL license
tensorflow = ">=2.12.0,<2.14" # the range that supports python 3.8 -- 3.11
Expand Down
2 changes: 1 addition & 1 deletion python/artexplainer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../kserve", develop = true}
adversarial-robustness-toolbox = {version = "^1.10.3", extras = ["keras"]}
nest-asyncio = "^1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion python/custom_model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../kserve", develop = true}
torchvision = {version = "0.15.1+cpu", source = "pytorch"}
torch = {version = "2.0.0", source = "pytorch"}
Expand Down
2 changes: 1 addition & 1 deletion python/custom_tokenizer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../kserve", develop = true}

[tool.poetry.group.test]
Expand Down
2 changes: 1 addition & 1 deletion python/custom_transformer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../kserve", develop = true}
torchvision = {version = "0.15.1+cpu", source = "pytorch"}
torch = {version = "2.0.0+cpu", source = "pytorch"}
Expand Down
2 changes: 1 addition & 1 deletion python/huggingfaceserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
transformers = "~4.37.0"
torch = "~2.1.2"
Expand Down
2 changes: 1 addition & 1 deletion python/kserve/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ packages = [
exclude = ["kserve/storage/test"]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
uvicorn = { version = "^0.21.1", extras = ["standard"] }
fastapi = "^0.109.1"
cloudevents = "^1.6.2"
Expand Down
2 changes: 1 addition & 1 deletion python/lgbserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
lightgbm = "~3.3.2"
pandas = "^1.3.5"
Expand Down
2 changes: 1 addition & 1 deletion python/paddleserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../kserve", extras = ["storage"], develop = true}
paddlepaddle = "^2.6.0"

Expand Down
2 changes: 1 addition & 1 deletion python/pmmlserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
jpmml-evaluator = "~0.5.1"

Expand Down
2 changes: 1 addition & 1 deletion python/sklearnserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
scikit-learn = "~1.3.0"
joblib = "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion python/test_resources/graph/error_404_isvc/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../../../kserve", develop = true}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.13,<3.14"
kserve = {path = "../../../kserve", develop = true}


Expand Down
2 changes: 1 addition & 1 deletion python/xgbserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.13,<3.14"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
xgboost = "~2.0.2"

Expand Down

0 comments on commit d9131c2

Please sign in to comment.