From ff38a3263a5b3d417c5245b20b24831d5d36a0bc Mon Sep 17 00:00:00 2001 From: Fouad Atwi Date: Wed, 29 Apr 2026 12:24:30 +0200 Subject: [PATCH 1/2] specify tested framework versions in python tutorials --- docs/tutorial/code/django/requirements.txt | 2 +- docs/tutorial/code/fastapi/requirements.txt | 2 +- docs/tutorial/code/flask/requirements.txt | 2 +- docs/tutorial/kubernetes-charm-django.rst | 2 ++ docs/tutorial/kubernetes-charm-fastapi.rst | 2 ++ docs/tutorial/kubernetes-charm-flask.rst | 2 ++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/code/django/requirements.txt b/docs/tutorial/code/django/requirements.txt index fb22bd75c..324909037 100644 --- a/docs/tutorial/code/django/requirements.txt +++ b/docs/tutorial/code/django/requirements.txt @@ -1,2 +1,2 @@ -Django +Django==5.1.4 psycopg2-binary diff --git a/docs/tutorial/code/fastapi/requirements.txt b/docs/tutorial/code/fastapi/requirements.txt index 472fd3835..6c819ffc1 100644 --- a/docs/tutorial/code/fastapi/requirements.txt +++ b/docs/tutorial/code/fastapi/requirements.txt @@ -1,2 +1,2 @@ -fastapi[standard] +fastapi[standard]==0.136.1 psycopg2-binary diff --git a/docs/tutorial/code/flask/requirements.txt b/docs/tutorial/code/flask/requirements.txt index 630d4b819..edfc6ee99 100644 --- a/docs/tutorial/code/flask/requirements.txt +++ b/docs/tutorial/code/flask/requirements.txt @@ -1,2 +1,2 @@ -Flask +Flask==3.1.3 psycopg2-binary diff --git a/docs/tutorial/kubernetes-charm-django.rst b/docs/tutorial/kubernetes-charm-django.rst index fe3b3ca10..4676574f5 100644 --- a/docs/tutorial/kubernetes-charm-django.rst +++ b/docs/tutorial/kubernetes-charm-django.rst @@ -18,6 +18,8 @@ running with Juju. Let's get started! This tutorial should take 90 minutes for you to complete. +Tested with Django 5.1.4. + If you're new to the charming world, Django apps are specifically supported with a template to quickly generate a **rock** and a matching template to generate a **charm**. diff --git a/docs/tutorial/kubernetes-charm-fastapi.rst b/docs/tutorial/kubernetes-charm-fastapi.rst index 562579c02..bf522406d 100644 --- a/docs/tutorial/kubernetes-charm-fastapi.rst +++ b/docs/tutorial/kubernetes-charm-fastapi.rst @@ -19,6 +19,8 @@ up and running with Juju. Let's get started! This tutorial should take 90 minutes for you to complete. +Tested with FastAPI 0.136.1. + If you're new to the charming world, FastAPI apps are specifically supported with a template to quickly generate a **rock** and a matching template to generate a **charm**. diff --git a/docs/tutorial/kubernetes-charm-flask.rst b/docs/tutorial/kubernetes-charm-flask.rst index d6e85f9f6..28c1e462b 100644 --- a/docs/tutorial/kubernetes-charm-flask.rst +++ b/docs/tutorial/kubernetes-charm-flask.rst @@ -14,6 +14,8 @@ up and running with Juju. Let's get started! This tutorial should take 90 minutes for you to complete. +Tested with Flask 3.1.3. + If you're new to the charming world, Flask apps are specifically supported with a template to quickly generate a **rock** and a matching template to generate a **charm**. From 752932d2f9dd4f6a7174f4e6555592b204e9ab46 Mon Sep 17 00:00:00 2001 From: Fouad Atwi Date: Tue, 5 May 2026 11:39:02 +0200 Subject: [PATCH 2/2] docs: reword tested framework versions --- docs/tutorial/kubernetes-charm-django.rst | 4 +--- docs/tutorial/kubernetes-charm-fastapi.rst | 4 +--- docs/tutorial/kubernetes-charm-flask.rst | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/tutorial/kubernetes-charm-django.rst b/docs/tutorial/kubernetes-charm-django.rst index 4676574f5..b707398b8 100644 --- a/docs/tutorial/kubernetes-charm-django.rst +++ b/docs/tutorial/kubernetes-charm-django.rst @@ -18,8 +18,6 @@ running with Juju. Let's get started! This tutorial should take 90 minutes for you to complete. -Tested with Django 5.1.4. - If you're new to the charming world, Django apps are specifically supported with a template to quickly generate a **rock** and a matching template to generate a **charm**. @@ -45,7 +43,7 @@ than the sufficient resources, the tutorial will take longer to complete. What you'll do ~~~~~~~~~~~~~~ -#. Create a Django app. +#. Create a Django app with Django 5.1.4. #. Use that to create a rock with Rockcraft. #. Use that to create a charm with Charmcraft. #. Use that to test, deploy, configure, etc., your Django app on a local diff --git a/docs/tutorial/kubernetes-charm-fastapi.rst b/docs/tutorial/kubernetes-charm-fastapi.rst index bf522406d..5ddc954c9 100644 --- a/docs/tutorial/kubernetes-charm-fastapi.rst +++ b/docs/tutorial/kubernetes-charm-fastapi.rst @@ -19,8 +19,6 @@ up and running with Juju. Let's get started! This tutorial should take 90 minutes for you to complete. -Tested with FastAPI 0.136.1. - If you're new to the charming world, FastAPI apps are specifically supported with a template to quickly generate a **rock** and a matching template to generate a **charm**. @@ -46,7 +44,7 @@ than the sufficient resources, the tutorial will take longer to complete. What you'll do ~~~~~~~~~~~~~~ -#. Create a FastAPI app. +#. Create a FastAPI app with FastAPI 0.136.1. #. Use that to create a rock with Rockcraft. #. Use that to create a charm with Charmcraft. #. Use that to test, deploy, configure, etc., your FastAPI app on a local diff --git a/docs/tutorial/kubernetes-charm-flask.rst b/docs/tutorial/kubernetes-charm-flask.rst index 28c1e462b..735451100 100644 --- a/docs/tutorial/kubernetes-charm-flask.rst +++ b/docs/tutorial/kubernetes-charm-flask.rst @@ -14,8 +14,6 @@ up and running with Juju. Let's get started! This tutorial should take 90 minutes for you to complete. -Tested with Flask 3.1.3. - If you're new to the charming world, Flask apps are specifically supported with a template to quickly generate a **rock** and a matching template to generate a **charm**. @@ -41,7 +39,7 @@ than the sufficient resources, the tutorial will take longer to complete. What you'll do -------------- -#. Create a Flask app. +#. Create a Flask app with Flask 3.1.3. #. Use that to create a rock with Rockcraft. #. Use that to create a charm with Charmcraft. #. Use that to test, deploy, configure, etc., your Flask app on a local