From 0f526574a64d9cd1931d90a129cb79b2ab6d6a0d Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Sat, 13 Nov 2021 19:15:21 -0500 Subject: [PATCH] Fix nautobot secrets issue, bump version --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 11 +++++++++++ nautobot_plugin_nornir/__init__.py | 4 ++-- .../plugins/inventory/nautobot_orm.py | 2 +- poetry.lock | 2 +- pyproject.toml | 14 ++++++++++++-- 6 files changed, 28 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7a3aff..549cbe4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.6", "3.7", "3.8", "3.9"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] nautobot-version: ["1.0.1"] runs-on: "ubuntu-20.04" env: diff --git a/CHANGELOG.md b/CHANGELOG.md index abbf831..f2b72f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## v0.9.6 - 2021-11 + +### Fixed + +- #35 Fix bug introduced in secret support, update pinned nornir-nautobot version + +### Added + +- #35 Testing support for Python 3.10 + + ## v0.9.5 - 2021-11 ### Added diff --git a/nautobot_plugin_nornir/__init__.py b/nautobot_plugin_nornir/__init__.py index b5570de..85c6ad1 100644 --- a/nautobot_plugin_nornir/__init__.py +++ b/nautobot_plugin_nornir/__init__.py @@ -1,6 +1,6 @@ -"""Plugin declaration for nautbot_nornir_plugin.""" +"""Plugin declaration for nautobot_plugin_nornir.""" -__version__ = "0.9.5" +__version__ = "0.9.6" from nautobot.extras.plugins import PluginConfig diff --git a/nautobot_plugin_nornir/plugins/inventory/nautobot_orm.py b/nautobot_plugin_nornir/plugins/inventory/nautobot_orm.py index 5aa1b55..c544a22 100644 --- a/nautobot_plugin_nornir/plugins/inventory/nautobot_orm.py +++ b/nautobot_plugin_nornir/plugins/inventory/nautobot_orm.py @@ -149,7 +149,7 @@ def create_host(self, device, cred, params: Dict): "data": { "connection_options": { "netmiko": {"extras": {}}, - "napalm": {"extras": {}}, + "napalm": {"extras": {"optional_args": {}}}, }, }, } diff --git a/poetry.lock b/poetry.lock index 58c7656..40a71c0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1784,7 +1784,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [metadata] lock-version = "1.1" python-versions = "^3.6.2" -content-hash = "f5ee0b606d887171721885d7f49fe31182bfc5e022b78e5d0a5aeee46ff38420" +content-hash = "f79b653ba9f09e369b9e7486370d8741a29a3927561c7e4ab4320a1204b25aad" [metadata.files] aiocontextvars = [ diff --git a/pyproject.toml b/pyproject.toml index e612974..33886a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nautobot-plugin-nornir" -version = "0.9.5" +version = "0.9.6" description = "Nautobot Nornir plugin." authors = ["Network to Code, LLC "] @@ -12,13 +12,23 @@ include = [ "README.md", ] +classifiers = [ + "Intended Audience :: Developers", + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] packages = [ { include = "nautobot_plugin_nornir" }, ] [tool.poetry.dependencies] python = "^3.6.2" -nornir-nautobot = "^2.0.0" +nornir-nautobot = "^2.2.0" nautobot = ">=1.0.0" netutils = ">=0.2.4"