You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/06/03 16:09:37 UTC

[airavata-django-portal] 01/01: Document and test support for Python 3.9

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

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

commit f9ba64e834f54875901e8bed14082475c27a3867
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Jun 3 12:09:20 2021 -0400

    Document and test support for Python 3.9
---
 .travis.yml | 2 ++
 README.md   | 6 +++---
 tox.ini     | 4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f75d669..0e0c001 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,9 +3,11 @@ python:
   - "3.6"
   - "3.7"
   - "3.8"
+  - "3.9"
 install:
   - nvm install
   - nvm use
+  - pip install --upgrade pip setuptools wheel
   - pip install -r requirements-dev.txt
 script:
   - cp django_airavata/settings_local.py.sample django_airavata/settings_local.py
diff --git a/README.md b/README.md
index 7667dd5..60c136f 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 and 3.8. You'll
-need one of these versions installed locally.
+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.
 
 You'll also need Node.js and yarn to build the JavaScript frontend code. Please
 install
@@ -34,7 +34,7 @@ information on how to install yarn.
     cd airavata-django-portal
     python3 -m venv venv
     source venv/bin/activate
-    pip install --upgrade pip
+    pip install --upgrade pip setuptools wheel
     pip install -r requirements.txt
     ```
 
diff --git a/tox.ini b/tox.ini
index bd83326..e35908d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,11 +4,11 @@
 # and then run "tox" from this directory.
 
 [tox]
-envlist = py36, py37, py38
+envlist = py36, py37, py38, py39
 
 [testenv]
 deps =
-    py{3,36,37,38}: -rrequirements-dev.txt
+    py{3,36,37,38,39}: -rrequirements-dev.txt
 
 commands =
     ./runtests.py