ArnesSI / netbox-inventory

Manage your hardware inventory in NetBox
MIT License
215 stars 21 forks source link

Error during Ugrade to 4.0 #166

Closed marcucci-DAE closed 6 months ago

marcucci-DAE commented 6 months ago

When I try to run ./upgrade.sh i receive the following error

image

Collecting importlib (from netbox-secretstore->-r local_requirements.txt (line 14)) Using cached importlib-1.0.4.zip (7.1 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute setup.py since setuptools is not available in the build environment. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

a084ed22 commented 6 months ago

This is an issue specific to your environment and/or another plugin rather than from netbox-inventory, which is however not yet compatible with netbox 4.0

matejv commented 6 months ago

Indeed. Based on error the issues seems to be with netbox-scretstore plugin and not netbox-inventory. In any case, netbox-invnetory release for netbox 4.0 should be ready shortly.