From f27b353311a9ae7f48c4e4bd04bea56bd7467230 Mon Sep 17 00:00:00 2001 From: Falk Date: Sat, 28 Oct 2023 17:24:15 +0200 Subject: [PATCH] 0.3.0.3 test release --- README.md | 40 +++++++++++++++++------------ pyise_ers/__init__.py | 0 pyiseers/__init__.py | 1 + {pyise_ers => pyiseers}/pyiseers.py | 0 pyproject.toml | 4 +-- test/manual_test_ers.py | 2 +- test/test_ise.py | 2 +- 7 files changed, 28 insertions(+), 21 deletions(-) delete mode 100644 pyise_ers/__init__.py create mode 100644 pyiseers/__init__.py rename {pyise_ers => pyiseers}/pyiseers.py (100%) diff --git a/README.md b/README.md index b4c0449..622d3c1 100644 --- a/README.md +++ b/README.md @@ -19,18 +19,29 @@ Python module to manage Cisco ISE via the REST API. - ## Information about the master branch ### As of May 6, 2023 -The master branch is currently being developed towards a 0.3 release. -As a result, it is possible that some features may not work as expected until the 0.3 release is finalized and published as a package on PyPI. +The master branch is currently being in development. Please keep this in mind when using the code from this branch. -## Namechange information +## History + +All initial work is done by [https://github.com/bobthebutcher](https://github.com/bobthebutcher) and [https://github.com/mpenning](https://github.com/mpenning). +I forked from them and updated so it worked with ISE 2.2.x and changed all functions to json calls. + +* 2021-10-01 » All history before 0.2 and the namechange to pyiseers is located [here](#History-before-0.2) +* 2021-10-01 » Deforked from upstream for simpler handling of PR's as of this [discussion](https://github.com/falkowich/ise/discussions/161) +* 2021-10-02 » Started work with namechange as of this [issue](https://github.com/falkowich/ise/issues/164) to pyise-ers +* 2021-10-03 » Pushed pyise-ers 0.2.0-rc to test.pypi.com +* 2021-10-05 » Pushed pyise-ers 0.2.0.1 to pypi.com +* 2023-10-27 » Pushed pyise-ers 0.3.0.1 - 0.3.0.3 to pypi-test +* 2023-10-28 » Pushed pyise-ers 0.3.0.3 to pypi + +### Namechange information -### After 0.2.0.1 information +#### After 0.2.0.1 information In 2021 I tried to publish the library to DevNet and beq modulname was just "ise" I had to do a rename on the package, module and repository. @@ -41,18 +52,12 @@ In 2021 I tried to publish the library to DevNet and beq modulname was just "ise If you use the "old 0.1.2.x" ise packages in PyPi, please update your requirements to pyise-ers to get continued updates. (after testing everything in your environment offcourse) -## History +## Status -All initial work is done by [https://github.com/bobthebutcher](https://github.com/bobthebutcher) and [https://github.com/mpenning](https://github.com/mpenning). -I forked from them and updated so it worked with ISE 2.2.x and changed all functions to json calls. +I am keeping this active until ISE 2.7 is out of support. And for you who have ISE 3.1 and above, I would recommend https://github.com/CiscoISE/ciscoisesdk project. +See this [discussion](https://github.com/falkowich/pyise-ers/discussions/231) -* 2021-10-01 » All history before 0.2 and the namechange to pyiseers is located [here](#History-before-0.2) -* 2021-10-01 » Deforked from upstream for simpler handling of PR's as of this [discussion](https://github.com/falkowich/ise/discussions/161) -* 2021-10-02 » Started work with namechange as of this [issue](https://github.com/falkowich/ise/issues/164) to pyise-ers -* 2021-10-03 » Pushed pyise-ers 0.2.0-rc to test.pypi.com -* 2021-10-05 » Pushed pyise-ers 0.2.0.1 to pypi.com - -## Status +Everything should work on 3.0.x train too, beq a few members uses that version. But in my test I only have access to 2.7. Tested and used in our environment at work. But as usual it's up to you to test this out in a test environment so everything works as intended. If you have any suggestions or find a bug, create a issue and we will try to fix it :) @@ -69,8 +74,9 @@ These versions has been tested with pytest. |0.1.1|2.4.0.357|none|3.7.3|2019|deprecated| |0.1.2|2.7.0.356|11|3.7.7|2020|deprecated| |0.1.2|2.7.0.356|1|3.7.7|2020|deprecated| -|0.2.0.1|2.7.0.356|none|3.7.12|2021-10-05|active| -|0.2.0.1|3.0.0.458|none|3.7.12|2021-10-05|active| +|0.2.0.1|2.7.0.356|none|3.7.12|2021-10-05|deprecated| +|0.2.0.1|3.0.0.458|none|3.7.12|2021-10-05|deprecated| +|0.3.0.3|2.7.0.356|none|3.10.2|2023-10-28|active| There are two tests available in tests/ directory. diff --git a/pyise_ers/__init__.py b/pyise_ers/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pyiseers/__init__.py b/pyiseers/__init__.py new file mode 100644 index 0000000..2270560 --- /dev/null +++ b/pyiseers/__init__.py @@ -0,0 +1 @@ +from .pyiseers import ERS \ No newline at end of file diff --git a/pyise_ers/pyiseers.py b/pyiseers/pyiseers.py similarity index 100% rename from pyise_ers/pyiseers.py rename to pyiseers/pyiseers.py diff --git a/pyproject.toml b/pyproject.toml index 3545cdf..89a172e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyise-ers" -version = "0.3-dev2" +version = "0.3.0.3" description = "Python wrapper for Cisco ISE ERS API" authors = ["Andreas Falk "] keywords=['poetry'] @@ -19,7 +19,7 @@ classifiers = [ include = ['LICENSE'] readme = "README.md" packages = [ - { include = "pyise_ers" }, + { include = "pyiseers" }, ] [tool.poetry.dependencies] diff --git a/test/manual_test_ers.py b/test/manual_test_ers.py index 6bd9aa2..559e10f 100644 --- a/test/manual_test_ers.py +++ b/test/manual_test_ers.py @@ -4,7 +4,7 @@ import sys -sys.path.append("./pyise_ers/") +sys.path.append("./pyiseers/") from pprint import pprint # noqa E402 diff --git a/test/test_ise.py b/test/test_ise.py index 2a99a09..8dae788 100644 --- a/test/test_ise.py +++ b/test/test_ise.py @@ -3,7 +3,7 @@ import pytest import urllib3 -sys.path.append("./pyise_ers") +sys.path.append("./pyiseers") from pprint import pprint # noqa E402