Skip to content

Commit

Permalink
Merge pull request #6 from richardstrnad/master
Browse files Browse the repository at this point in the history
Updated the project to clearly reflect that we only support 3.6 and up
  • Loading branch information
andreasgraber authored Feb 5, 2021
2 parents ce9fd7f + 7ae1ef6 commit f162ffe
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ package:
pypi:
make clean
python setup.py sdist; twine upload dist/* --skip-existing
.PHONY: test
test:
python -m pytest
python -m flake8 .
.PHONY: clean
clean:
find ./* -name '*.pyc' -exec rm {} \;
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

A python wrapper to the Cisco ACI REST-API.

## Python Version

We support Python 3.6 and up. Python 2 is not supported and there is no plan to add support for it.

## Installation
``pip install aciclient``

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = f.read()

setup(name='aciClient',
version='1.1',
version='1.2',
description='aci communication helper class',
url='http://www.netcloud.ch',
author='mze',
Expand All @@ -17,4 +17,5 @@
install_requires=['requests>=2.25.0 , <3', 'pyOpenSSL>=19.1.0, <20'],
long_description=long_description,
long_description_content_type='text/markdown',
python_requires=">=3.6",
zip_safe=False)
3 changes: 0 additions & 3 deletions test/test_aci.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
"""AciClient Testing
"""
# <editor-fold desc="Imports">
from requests import RequestException

from aciClient.aci import ACI
import pytest

# </editor-fold>

__BASE_URL = 'testing-apic.ncdev.ch'


Expand Down

0 comments on commit f162ffe

Please sign in to comment.