Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.2.0 #374

Merged
merged 10 commits into from
Sep 6, 2024
Merged

Release v2.2.0 #374

merged 10 commits into from
Sep 6, 2024

Conversation

smk4664
Copy link
Contributor

@smk4664 smk4664 commented Sep 6, 2024

Added

  • #367 - Added support for Python 3.12.

Fixed

  • #343 - Fix logic populating the "Inventory Part ID" drop-down in the create/edit form for the Hardware Notice.

Housekeeping

  • #366 - Rebake with the 2.3 release of Nautobot-App-Cookiecutter.
  • #371 - Rebaked from the cookie nautobot-app-v2.3.2.

qduk and others added 8 commits August 9, 2024 11:53
* Updated contract export and provider model to allow tags

---------

Co-authored-by: Przemek Rogala <[email protected]>
* Cookie updated by NetworkToCode Cookie Drift Manager Tool

Template:

```
{
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "refs/tags/nautobot-app-v2.3.0",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-app-device-lifecycle-mgmt.git",
    "path": "/tmp/tmp_mfdixfk/nautobot-app-device-lifecycle-mgmt",
    "repository_path": "/tmp/tmp_mfdixfk/nautobot-app-device-lifecycle-mgmt",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@josh5276 @jvanderaa @progala",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "app_name": "nautobot_device_lifecycle_mgmt",
        "verbose_name": "Device Lifecycle Management",
        "app_slug": "nautobot-device-lifecycle-mgmt",
        "project_slug": "nautobot-app-device-lifecycle-mgmt",
        "repo_url": "https://github.com/nautobot/nautobot-app-device-lifecycle-mgmt",
        "base_url": "nautobot-device-lifecycle-mgmt",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotDeviceLifecycleManagement",
        "project_short_description": "Device Lifecycle Management",
        "model_class_name": "None",
        "open_source_license": "Apache-2.0",
        "docs_base_url": "https://docs.nautobot.com",
        "docs_app_url": "https://docs.nautobot.com/projects/device-lifecycle/en/latest",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/tmp/tmp_mfdixfk",
        "_repo_dir": "/github/home/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "refs/tags/nautobot-app-v2.3.0"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "88f34a0a58485295d8fb90427ee664eda511430d",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "",
    "output_dir": "",
    "push": true,
    "template": "",
    "template_dir": "",
    "template_ref": "refs/tags/nautobot-app-v2.3.0",
    "pull_request": null,
    "post_action": [],
    "disable_post_actions": false,
    "draft": null
}
```

* Remove Bandit

* Revert changes to test_api and ruff

* Add change fragment.

Also fixes one additional pylint error.

---------

Co-authored-by: bakebot <[email protected]>
Co-authored-by: Stephen Kiely <[email protected]>
* Fix #343 - updated hardware notice form to use DynamicModelChoiceField to prevent populating all inventory items.

---------

Co-authored-by: Przemek Rogala <[email protected]>
…ult. (#363)

* Allow metrics to be enabled selectively and disable all by default.

* Add change fragments.
* build: ⬆️ Update project to support py3.12

* docs: 📝 Add changelog snippet

* build: 📌 Pin djang-debug-toolbar to less than 4.4.

This fixes the index_together error thrown in CI.

* docs: 📝 Change snippet to added and reword message.

* refactor: Add remaining updates from py3.12 cookie

* build: ⬆️ Change python to less than 3.13

* ci: 💚 Change python version to 3.11 for tests with 2.0.0
* Cookie updated by NetworkToCode Cookie Drift Manager Tool

Template:

```
{
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "refs/tags/nautobot-app-v2.3.2",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-app-device-lifecycle-mgmt.git",
    "path": "/tmp/tmpd1ve3w_w/nautobot-app-device-lifecycle-mgmt",
    "repository_path": "/tmp/tmpd1ve3w_w/nautobot-app-device-lifecycle-mgmt",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@josh5276 @jvanderaa @progala",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "app_name": "nautobot_device_lifecycle_mgmt",
        "verbose_name": "Device Lifecycle Management",
        "app_slug": "nautobot-device-lifecycle-mgmt",
        "project_slug": "nautobot-app-device-lifecycle-mgmt",
        "repo_url": "https://github.com/nautobot/nautobot-app-device-lifecycle-mgmt",
        "base_url": "nautobot-device-lifecycle-mgmt",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotDeviceLifecycleManagement",
        "project_short_description": "Device Lifecycle Management",
        "model_class_name": "None",
        "open_source_license": "Apache-2.0",
        "docs_base_url": "https://docs.nautobot.com",
        "docs_app_url": "https://docs.nautobot.com/projects/device-lifecycle/en/latest",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/tmp/tmpd1ve3w_w",
        "_repo_dir": "/github/home/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "refs/tags/nautobot-app-v2.3.2"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "3162f300f45a7ece038375dea5747e12723f48e1",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "",
    "output_dir": "",
    "push": true,
    "template": "",
    "template_dir": "",
    "template_ref": "refs/tags/nautobot-app-v2.3.2",
    "pull_request": null,
    "post_action": [],
    "disable_post_actions": false,
    "draft": null
}
```

* Ruff, dependency fixes

* Add Changelog

* Fix CI issues missed from Cookie

* Update Lock file.

* Fix Pylint errors

* Assist poetry resolving numpy

* Remove MySQL test

This was disabled before applying drift manager. Their are no open issues about MySQL support, so I was hoping I could just re-enable this test. I will open an issue to track this disable.

* Ruff again

---------

Co-authored-by: bakebot <[email protected]>
Co-authored-by: Stephen Kiely <[email protected]>
@bradh11 bradh11 merged commit 1e45ede into main Sep 6, 2024
13 checks passed
@bradh11 bradh11 deleted the release-2.2.0 branch September 6, 2024 13:39
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