Skip to content

Commit

Permalink
Update for NetBox version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed May 7, 2024
1 parent a42b032 commit 8bd96ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions netbox_lifecycle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from extras.plugins import PluginConfig
from importlib.metadata import metadata

from netbox.plugins import PluginConfig

metadata = metadata('netbox_lifecycle')


Expand All @@ -13,7 +14,7 @@ class NetBoxLifeCycle(PluginConfig):
author_email = metadata.get('Author-email')
base_url = 'lifecycle'
min_version = '3.5.0'
max_version = '3.7.99'
max_version = '4.0.99'
required_settings = []
default_settings = {}
queues = []
Expand Down
3 changes: 1 addition & 2 deletions netbox_lifecycle/navigation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from extras.plugins import PluginMenu, PluginMenuButton, PluginMenuItem
from utilities.choices import ButtonColorChoices
from netbox.plugins import PluginMenuItem, PluginMenu

lifecycle = PluginMenuItem(
link='plugins:netbox_lifecycle:hardwarelifecycle_list',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='netbox-lifecycle',
version='1.0.2',
version='1.0.3',
description='NetBox Lifecycle',
long_description='NetBox Support Contract and EOL/EOS management',
url='https://github.com/dansheps/netbox-lifecycle/',
Expand Down

0 comments on commit 8bd96ce

Please sign in to comment.