Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.11'
python-version: '3.13'
- name: Unit test
run: |
pip3 install virtualenv
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.11'
python-version: '3.13'
- name: Unit test
run: |
pip3 install virtualenv
Expand Down
8 changes: 4 additions & 4 deletions environments.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@
],
"name": "Python FastAPI Environment",
"readme": "https://github.com/fission/environments/tree/master/python",
"runtimeVersion": "3.11",
"runtimeVersion": "3.13",
"shortDescription": "Fission Python environment based on FastAPI framework.",
"status": "stable",
"version": "1.34.2"
"version": "1.35.0"
}
]
,
Expand All @@ -169,10 +169,10 @@
],
"name": "Python Environment",
"readme": "https://github.com/fission/environments/tree/master/python",
"runtimeVersion": "3.11",
"runtimeVersion": "3.13",
"shortDescription": "Fission Python environment based on Flask framework.",
"status": "stable",
"version": "1.34.3"
"version": "1.35.0"
}
]
,
Expand Down
2 changes: 1 addition & 1 deletion python-fastapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PY_BASE_IMG=3.11-alpine
ARG PY_BASE_IMG=3.13-alpine

FROM python:${PY_BASE_IMG}

Expand Down
2 changes: 1 addition & 1 deletion python-fastapi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.PHONY: all
all: python-fastapi-env-img

python-fastapi-env-img-buildargs := --build-arg PY_BASE_IMG=3.11-alpine
python-fastapi-env-img-buildargs := --build-arg PY_BASE_IMG=3.13-alpine

python-fastapi-env-img: Dockerfile
4 changes: 2 additions & 2 deletions python-fastapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the Python environment for Fission based on FastAPI framework.

It's a Docker image containing a Python 3.11 runtime, along with a
It's a Docker image containing a Python 3.13 runtime, along with a
dynamic loader. A few common dependencies are included in the
requirements.txt file.

Expand All @@ -25,7 +25,7 @@ gcr.io, quay.io, etc. Let's assume you're using a docker hub account
called USER. Build and push the image to the the registry:

```
docker build -t USER/python-fastapi-env --build-arg PY_BASE_IMG=3.11-alpine . && docker push USER/python-fastapi-env
docker build -t USER/python-fastapi-env --build-arg PY_BASE_IMG=3.13-alpine . && docker push USER/python-fastapi-env
```

## Using the image in fission
Expand Down
2 changes: 1 addition & 1 deletion python-fastapi/builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILDER_IMAGE=fission/builder
ARG PY_BASE_IMG=3.11-alpine
ARG PY_BASE_IMG=3.13-alpine

FROM ${BUILDER_IMAGE}
FROM python:${PY_BASE_IMG}
Expand Down
2 changes: 1 addition & 1 deletion python-fastapi/builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.PHONY: all
all: python-fastapi-builder-img

python-fastapi-builder-img-buildargs := --build-arg PY_BASE_IMG=3.11-alpine
python-fastapi-builder-img-buildargs := --build-arg PY_BASE_IMG=3.13-alpine

python-fastapi-builder-img: Dockerfile
4 changes: 2 additions & 2 deletions python-fastapi/envconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
],
"name": "Python FastAPI Environment",
"readme": "https://github.com/fission/environments/tree/master/python",
"runtimeVersion": "3.11",
"runtimeVersion": "3.13",
"shortDescription": "Fission Python environment based on FastAPI framework.",
"status": "stable",
"version": "1.34.2"
"version": "1.35.0"
}
]
4 changes: 2 additions & 2 deletions python-fastapi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fastapi==0.114.0
uvicorn==0.30.6
fastapi==0.136.3
uvicorn==0.49.0
2 changes: 1 addition & 1 deletion python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PY_BASE_IMG=3.11-alpine
ARG PY_BASE_IMG=3.13-alpine

FROM python:${PY_BASE_IMG}

Expand Down
2 changes: 1 addition & 1 deletion python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.PHONY: all
all: python-env-img

python-env-img-buildargs := --build-arg PY_BASE_IMG=3.11-alpine
python-env-img-buildargs := --build-arg PY_BASE_IMG=3.13-alpine

python-env-img: Dockerfile
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ gcr.io, quay.io, etc. Let's assume you're using a docker hub account
called USER. Build and push the image to the the registry:

```
docker build -t USER/python-env --build-arg PY_BASE_IMG=3.11-alpine . && docker push USER/python-env
docker build -t USER/python-env --build-arg PY_BASE_IMG=3.13-alpine . && docker push USER/python-env
```

## Using the image in fission
Expand Down
2 changes: 1 addition & 1 deletion python/builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILDER_IMAGE=fission/builder
ARG PY_BASE_IMG=3.11-alpine
ARG PY_BASE_IMG=3.13-alpine

FROM ${BUILDER_IMAGE}
FROM python:${PY_BASE_IMG}
Expand Down
2 changes: 1 addition & 1 deletion python/builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.PHONY: all
all: python-builder-img

python-builder-img-buildargs := --build-arg PY_BASE_IMG=3.11-alpine
python-builder-img-buildargs := --build-arg PY_BASE_IMG=3.13-alpine

python-builder-img: Dockerfile
4 changes: 2 additions & 2 deletions python/envconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
],
"name": "Python Environment",
"readme": "https://github.com/fission/environments/tree/master/python",
"runtimeVersion": "3.11",
"runtimeVersion": "3.13",
"shortDescription": "Fission Python environment based on Flask framework.",
"status": "stable",
"version": "1.34.3"
"version": "1.35.0"
}
]
2 changes: 1 addition & 1 deletion python/flask_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import gevent
from werkzeug.routing import Map, Rule
from werkzeug.exceptions import NotFound
from werkzeug.http import parse_cookie
from werkzeug.sansio.http import parse_cookie
from flask import request

from socket_tracker import WebsocketTracker
Expand Down
54 changes: 27 additions & 27 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
bjoern==3.2.1
blinker==1.4
certifi==2024.7.4
chardet==4.0.0
charset-normalizer==2.0.7
click==8.0.3
Flask==2.1.1
gevent==22.10.2
bjoern==3.2.2
blinker==1.9.0
certifi==2026.5.20
chardet==7.4.3
charset-normalizer==3.4.7
click==8.4.1
Flask==3.1.3
gevent==26.5.0
gevent-ws==2.1.0
greenlet==3.0.2
hiredis==2.0.0
httplib2==0.20.1
idna==3.7
importlib-metadata==4.11.3
itsdangerous==2.0.1
Jinja2==3.1.4
MarkupSafe==2.1.4
pyparsing==2.4.7
python-dateutil==2.8.2
redis==3.5.3
requests==2.32.2
sentry-sdk==2.8.0
six==1.16.0
urllib3==1.26.19
Werkzeug==2.2.2
zipp==3.19.1
zope.event==4.5.0
zope.interface==5.4.0
greenlet==3.5.1
hiredis==3.4.0
httplib2==0.31.2
idna==3.18
importlib-metadata==9.0.0
itsdangerous==2.2.0
Jinja2==3.1.6
MarkupSafe==3.0.3
pyparsing==3.3.2
python-dateutil==2.9.0.post0
redis==8.0.0
requests==2.34.2
sentry-sdk==2.61.1
six==1.17.0
urllib3==2.7.0
Werkzeug==3.1.8
zipp==4.1.0
zope.event==6.2
zope.interface==8.5
6 changes: 3 additions & 3 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ profiles:
docker:
dockerfile: Dockerfile
buildArgs:
PY_BASE_IMG: "3.11-alpine"
PY_BASE_IMG: "3.13-alpine"
- image: python-builder
context: python/builder/
docker:
dockerfile: Dockerfile
buildArgs:
PY_BASE_IMG: "3.11-alpine"
PY_BASE_IMG: "3.13-alpine"
- name: python-fastapi
build:
artifacts:
Expand All @@ -141,7 +141,7 @@ profiles:
docker:
dockerfile: Dockerfile
buildArgs:
PY_BASE_IMG: "3.11-alpine"
PY_BASE_IMG: "3.13-alpine"
- name: ruby
build:
artifacts:
Expand Down
Loading