Skip to content

Release v2.1.0#348

Merged
jeffkala merged 12 commits intomainfrom
release-2.1.0
Mar 3, 2026
Merged

Release v2.1.0#348
jeffkala merged 12 commits intomainfrom
release-2.1.0

Conversation

@jeffkala
Copy link
Contributor

@jeffkala jeffkala commented Mar 3, 2026

v2.1.0 (2026-03-03)

Added

  • #345 - Added the ability to download files from within a Cisco IOS device.

Housekeeping

  • #335 - Replaced black, bandit, flake8 and pydocstyle with ruff.
  • #335 - Updated tasks.py with newest task list.
  • #335 - Updated to using pyinvoke for development environment definition.
  • Fixed docs build and code-reference issues.
  • Rebaked from the cookie main.

pszulczewski and others added 12 commits January 8, 2025 18:03
* adding test to cover the failed scenario

* fixing test

* raising exception when install message has an error

* linting

* fixing unit test
minor package updates to fix docs
)

* Housekeeping: Fix CI Pipeline - updating GHA to supported versions

* fixing py3.8 to py3.9+

* poetry lock file added

* fix pylint disables

* fix pylint

* fix yamllint

* fix pylint arguments

* fixed to set lower as py3.9

* adding lock file
* Initial pass at updated to 2025 best practices

* fix ci missing build stage

* fix ci invoke lock issue

* fix ci remove markdownlint

* fix ci comment out doc builds for time being

* update Dockerfile to use poetry install script

* fix ruff target-version

* Apply suggestions from code review

Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>

* fix print debug

* Update tasks.py

Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>

* remove unused import of os

* fix ruff target-version

* fix formatting

* fixing tagging

* fixing env vars in ci

* fixing env vars in ci

* fix dockerfile properly this time

* fix dockerfile properly this time

* make poetry install match nautobot best practices

---------

Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>
* fix docs build and docs around standards, towncrier, etc.

* update ci 'needs' clauses

* update to remove mypy

* fix mkdocs with more docs best practices

* fix mkdocs with more docs best practices

* fix griffe types for auto docs adn add code references to mkdocs

* fix yamllint

* fix yamllint

* fix rest of test

* add unittest for release notes and docs versions, fix docs requireemnts.txt
* Add file_pull option to Cisco IOS devices

* Add docs, ruff and change fragment.

* Pylint fixes

Ignore the import position as Ruff is handling that.

* Address feedback

* Fix pylint commands

The find command was too greedy and capturing files ignore by the pylint config in pyproject.toml.  This allows pylint to use the pyproject.tom.

* Rewrite to make the logic for checking files part of the Device.

Not all Devices use netmiko, these changes allow other devices to also implement fix exist validation.

* Update ios_device.py

* Ruff

* Apply suggestions from code review

Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>

* Apply suggestions from code review.

---------

Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>
…t Manager Tool (#343)

* Cookie initially baked targeting develop by NetworkToCode Cookie Drift Manager Tool

Template:

```
{
    "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
    "dir": "python",
    "ref": "main",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/networktocode/pyntc.git",
    "path": "/Users/jeffkala/Documents/GitHub/outputs/pyntc",
    "repository_path": "/Users/jeffkala/Documents/GitHub/outputs/pyntc",
    "dir": "",
    "branch_prefix": "drift-manager/develop",
    "context": {
        "codeowner_github_usernames": "@jeffkala @pszulczewski @pke11y",
        "full_name": "Network to Code, LLC",
        "email": "info@networktocode.com",
        "github_org": "networktocode",
        "description": "Python library focused on tasks related to device level and OS management.",
        "project_name": "pyntc",
        "project_slug": "pyntc",
        "repo_url": "https://github.com/networktocode/pyntc",
        "base_url": "pyntc",
        "project_python_name": "pyntc",
        "project_python_base_version": "3.10",
        "project_with_config_settings": "no",
        "generate_docs": "no",
        "version": "2.0.2",
        "original_publish_year": "2016",
        "_template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
        "_output_dir": "/Users/jeffkala/Documents/GitHub/outputs",
        "_repo_dir": "/Users/jeffkala/.cookiecutters/cookiecutter-ntc/python",
        "_checkout": "main"
    },
    "drift_managed_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [],
    "baked_commit_ref": "",
    "draft": false
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": true,
    "json_filename": "",
    "output_dir": "../outputs",
    "push": true,
    "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
    "template_dir": "python",
    "template_ref": "main",
    "pull_request": null,
    "post_action": [],
    "disable_post_actions": false,
    "draft": null,
    "drift_managed_branch": "develop"
}
```

* address initial drift manager conflicts

* final few fixes for drift management

* last few fixes

* remove doctest as it was never implemented for this lib
* fix docs test failing after new model adds

* fix docs test failing after new model adds

* remove incorrectly commited html files
@jeffkala jeffkala changed the base branch from develop to main March 3, 2026 18:41
Copy link
Contributor

@smk4664 smk4664 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating the release!

@jeffkala jeffkala merged commit 2fb374a into main Mar 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants