This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9e1462a4 AIRAVATA-3529 Adding support for Python 3.10
9e1462a4 is described below

commit 9e1462a469d28512e69142c35bec903a306c1171
Author: Marcus Christie <[email protected]>
AuthorDate: Fri Mar 24 16:06:15 2023 -0400

    AIRAVATA-3529 Adding support for Python 3.10
---
 Dockerfile                          |  2 +-
 README.md                           |  4 ++--
 docs/tutorial/custom_ui_tutorial.md | 24 ++++++++++++------------
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index eee57597..38089d83 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,7 +62,7 @@ RUN yarn run build
 
 
 
-FROM python:3.9-slim as server-stage
+FROM python:3.10-slim as server-stage
 
 ENV PYTHONUNBUFFERED 1
 
diff --git a/README.md b/README.md
index 3289b261..17fd6b34 100644
--- a/README.md
+++ b/README.md
@@ -16,8 +16,8 @@ Django Portal locally. This will allow you to try it out and 
can also be used as
 a development environment. If you just want to run the Airavata Django Portal
 locally, see the Docker instructions below for a more simplified approach.
 
-The Airavata Django Portal works with Python versions 3.6, 3.7, 3.8 and 3.9.
-You'll need one of these versions installed locally.
+The Airavata Django Portal works with Python versions 3.6 - 3.10. You'll need
+one of these versions installed locally.
 
 You'll also need Node.js and yarn to build the JavaScript frontend code. Please
 install
diff --git a/docs/tutorial/custom_ui_tutorial.md 
b/docs/tutorial/custom_ui_tutorial.md
index df883229..9175fccb 100644
--- a/docs/tutorial/custom_ui_tutorial.md
+++ b/docs/tutorial/custom_ui_tutorial.md
@@ -10,7 +10,7 @@ Tutorial attendees should have:
 -   a text editor or IDE for writing Python and web code. Any text editor or 
IDE
     will do but if you're looking for recommendations, I recommend
     [Visual Studio Code](https://code.visualstudio.com/).
--   latest Python (current version as of this writing is 3.9.5)
+-   Python (3.6 - 3.10)
 -   Git client
 -   [Docker Desktop](https://www.docker.com/products/docker-desktop)
 -   If you don't have Docker installed or can't install it, you'll also need:
@@ -20,27 +20,27 @@ Tutorial attendees should have:
 
 ### Installing Python
 
-Python 3.6-3.9 are supported, but I highly recommend you download and use
-**Python 3.9**
+Python 3.6-3.10 are supported, but I highly recommend you download and use
+**Python 3.10**
 
-Download and install Python 3.9.
+Download and install Python 3.10.
 
 -   (macOS/Windows): Download from <https://www.python.org/downloads/>
--   (Linux): use your distribution's package manager to install Python 3.9
+-   (Linux): use your distribution's package manager to install Python 3.10
 
-Verify you have installed Python 3.9:
+Verify you have installed Python 3.10:
 
 === "macOS/Linux"
 
-        $ python3.9 --version
-        Python 3.9.5
+        $ python3.10 --version
+        Python 3.10.0
 
 === "Windows"
 
     Open PowerShell then run:
 
         PS C:\Users\username> py --version
-        Python 3.9.5
+        Python 3.10.0
 
 ### Installing Git
 
@@ -534,7 +534,7 @@ can install in which we can write the custom output view 
code.
 === "macOS/Linux"
 
         $ cd $HOME
-        $ python3.9 -m venv tutorial-env
+        $ python -m venv tutorial-env
         $ source tutorial-env/bin/activate
         (tutorial-env) $
 
@@ -615,7 +615,7 @@ the settings_local.py file for local development. Move or 
copy it to the
 
     Verify that you have the following installed
 
-    -   Python 3.9
+    -   Python 3.10
     -   Node LTS
     -   Yarn
     -   Git
@@ -661,7 +661,7 @@ the settings_local.py file for local development. Move or 
copy it to the
 
     Verify that you have the following installed
 
-    -   Python 3.9
+    -   Python 3.10
     -   Node LTS
     -   Yarn
     -   Git

Reply via email to