From 71ed81049493d7830a888040fa0a5fd7418cb404 Mon Sep 17 00:00:00 2001 From: Anne Gentle Date: Mon, 14 Oct 2019 15:25:54 -0500 Subject: [PATCH] Update and test with Python 3 --- README.md | 8 ++++---- apic_fabric_setup/requirements.txt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bd62423..746ddd4 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ This repository holds the code samples for the [DevNet](http://developer.cisco.c ## Local Workstation Requirements The code samples in these labs all leverage Python as the programming language. In order to run the exercises and code, you'll need to meet the following requirements. -> Full details on how to setup are included in the Learning Lab Setup Steps. +> Full details on how to setup are included in the Learning Lab's "How To Setup Your Own Computer." -1. Python 2.7.12 or higher +1. Python 3.7 or higher 1. Python Virtual Environment `pip install virtualenv` -1. [ACI Cobra SDK](http://cobra.readthedocs.io) for Python +1. [ACI Cobra SDK](http://cobra.readthedocs.io) for Python. (Note that the DevNet Sandbox does not contain the Cobra SDK files for download but you can get them on DevNet by logging in.) 1. [ACI Toolkit](http://acitoolkit.readthedocs.io) for Python -> It is highly recommended to install all Python requirements within a virtual environment, and not the default Python environment on your workstation. +> It is highly recommended to install all Python requirements within a virtual environment, and not the default Python environment on your workstation. ## Sandbox Lab Infrastructure Setup Also included in this repository are scripts to prepare the DevNet Always On Sandbox for ACI/APIC. These scripts initialize the APIC Simulator and deploy the tenants and application policy leveraged in the Learning Labs. To run the baselining scripts: diff --git a/apic_fabric_setup/requirements.txt b/apic_fabric_setup/requirements.txt index 2361edc..c1373d3 100644 --- a/apic_fabric_setup/requirements.txt +++ b/apic_fabric_setup/requirements.txt @@ -5,11 +5,11 @@ asn1crypto==0.23.0 certifi==2017.11.5 cffi==1.11.2 chardet==3.0.4 -cryptography==2.1.4 +cryptography>=2.3 enum34==1.1.6 idna==2.6 ipaddress==1.0.18 pycparser==2.18 -requests==2.18.4 +requests>=2.20.0 six==1.11.0 -urllib3==1.22 +urllib3>=1.24.2