Skip to content

use new version identifier from netbox - fixes #163 #164

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nv6
Copy link

@nv6 nv6 commented Mar 12, 2025

Fix #163

Verified with Netbox version 4.2.5-Docker-3.2.0

Derived from netbox-community/netbox-topology-views#608

@nv6
Copy link
Author

nv6 commented Mar 12, 2025

Until this PR is merged, use the workaround below for installing/building the Netbox docker image with this plugin.

Insert this in Dockerfile-Plugins immediately after the uv pip install line:

RUN sed -i 's/settings\.VERSION/settings\.RELEASE\.version/g' \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/__init__.py \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/views.py \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/migrations/0001_initial.py \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/models.py

(derived from netbox-community/netbox-topology-views#604 (comment), netbox-community/netbox-topology-views#608 (comment))

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.

packaging.version.InvalidVersion: Invalid version: '4.2.4-Docker-3.2.0'
1 participant