Skip to content

Commit

Permalink
Upgrade to NetBox 4.0.0 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps authored May 7, 2024
2 parents e2a3a76 + 10df8c5 commit ba33998
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
NETBOX_CONFIGURATION: netbox.configuration_lifecycle
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']
services:
redis:
image: redis
Expand Down
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 ba33998

Please sign in to comment.