net-mgmt/netbox: Update to 4.5.8
- The first code that is backward-incompatible with Python 3.11 has appeared in this release, which was to be expected since the support for it was officially discontinued with the Netbox 4.5 release.
The actual workaround to get Python 3.11 compatibility is quite simple and as long as this remains the case until the NetBox 4.6 release, which requires Django 6.0 and thus Python 3.12+, compatibility with Python 3.11 can still be provided.
Changelog:
Enhancements:
- Display the device role's color in the device view
- Update humanize_speed template filter to support decimal Gbps/Tbps values
Bug Fixes:
- Exclude non-existent custom fields from object changelog data returned via the REST API
- Expand interface speed field to 64-bit integer to prevent overflow for LAG interfaces exceeding ~2.1 Tbps
- Fix missing port mappings in device type YAML export
- Fix support for bulk import of cables connected to power feeds
- Prevent duplicate filename collision when uploading files using S3 storage
- Fix custom script "last run" time to reflect job start time rather than creation time
- Correct help text for color selection form fields
- Restore visibility of the edit button for script modules to non-superusers
- Fix CSV export of connection columns rendering template whitespace instead of a formatted value
- Remove redundant ScriptModule class synchronization triggered on save
https://github.com/netbox-community/netbox/releases/tag/v4.5.8
MFH: 2026Q2
(cherry picked from commit c3977c08d72ff5d7c9a662c071b2ccb93c6ffb28)