You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ar...@apache.org on 2021/12/22 18:05:50 UTC

[fluo-muchos] branch main updated: Use Python 3.9 (#422)

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

arvindsh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git


The following commit(s) were added to refs/heads/main by this push:
     new 3eb7ca5  Use Python 3.9 (#422)
3eb7ca5 is described below

commit 3eb7ca5a6332efc508b938097526fb777a200f17
Author: Arvind Shyamsundar <ar...@apache.org>
AuthorDate: Wed Dec 22 10:05:46 2021 -0800

    Use Python 3.9 (#422)
    
    * Fixes #405. As GitHub Actions does not yet support Python 3.10 for all
      runner environments, we will stay with Python 3.9 for now. The Python 3.9
      end-of-life date of Oct 2025 is adequate for our purposes.
    
    * Upgrade flake8 and ansible-lint packages to sync with new Python version.
    
    * Update docs
---
 .github/workflows/ci.yaml | 4 ++--
 README.md                 | 6 +++---
 docs/azure-ubuntu-1804.md | 2 +-
 lib/requirements.txt      | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index d793b5c..42db105 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-# This GitHub Actions workflow will prepare a environment with Python 3.6
+# This GitHub Actions workflow will prepare a environment with Python 3.9
 # and the required Python packages, to run the CI tests
 # (Ansible-lint, Flake8 etc.) for Fluo-Muchos.
 # See also:
@@ -43,7 +43,7 @@ jobs:
     - uses: actions/checkout@v1
     - uses: actions/setup-python@v2
       with:
-        python-version: '3.6'
+        python-version: '3.9'
     - name: Install required packages
       run: pip install -r ./lib/requirements.txt
     - name: Install Azure specific Ansible collections
diff --git a/README.md b/README.md
index babde0e..e571e6c 100644
--- a/README.md
+++ b/README.md
@@ -28,12 +28,12 @@ Check out [Uno] for setting up Accumulo or Fluo on a single machine.
 Muchos requires the following common components for installation and setup:
 
 * Python 3 with a virtual environment setup.
-Create a Python 3 environment and switch to it. (We tested using Python 3.6.8,
+Create a Python 3 environment and switch to it. (The CI tests using Python 3.9,
 but this should work in later versions as well. If you encounter problems,
-please file an issue.)
+please file an issue).
 ```bash
 cd ~
-python3.6 -m venv env
+python3.9 -m venv env
 source env/bin/activate
 ```
 * `ssh-agent` installed and running and ssh-agent forwarding.  Note that this may
diff --git a/docs/azure-ubuntu-1804.md b/docs/azure-ubuntu-1804.md
index d3573ea..fbf5b81 100644
--- a/docs/azure-ubuntu-1804.md
+++ b/docs/azure-ubuntu-1804.md
@@ -10,7 +10,7 @@ the following steps can get you on your way.
 # https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest
 
 # Install Ansible Azure for Python 3.  The main reason these tips were written
-# was to save you time on the following steps.  Muchos needs Python 3.6 and above.
+# was to save you time on the following steps.  Muchos is tested with Python 3.9 and above.
 # If python-pip and pip were installed and used, those would go against Python 2
 # and would not work.
 sudo apt install python3-pip
diff --git a/lib/requirements.txt b/lib/requirements.txt
index ef83403..4433ead 100644
--- a/lib/requirements.txt
+++ b/lib/requirements.txt
@@ -1,4 +1,4 @@
-flake8==3.8.0
+flake8==4.0.1
 ansible-core==2.11.3
-ansible-lint==5.1.2
+ansible-lint==5.3.1
 nose2==0.10.0