Drop backward compatibility for importing plugin resources from extras app #8766

Closed
opened 2025-12-29 20:40:57 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Oct 20, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Plugin resources were moved from the extras app to the netbox app in v3.7, while retaining backward compatibility to avoid a breaking change. This issue exists to track the removal of this backward compatibility in the v4.0 release.

Plugins which have not already adapted to the refactoring will need to update their imports. For example:

from extras.plugins import PluginConfig

becomes

from netbox.plugins import PluginConfig

Justification

Planned deprecation

Originally created by @jeremystretch on GitHub (Oct 20, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Plugin resources were moved from the `extras` app to the `netbox` app in v3.7, while retaining backward compatibility to avoid a breaking change. This issue exists to track the removal of this backward compatibility in the v4.0 release. Plugins which have not already adapted to the refactoring will need to update their imports. For example: ```python from extras.plugins import PluginConfig ``` becomes ```python from netbox.plugins import PluginConfig ``` ### Justification Planned deprecation
adam added the status: acceptedtype: deprecation labels 2025-12-29 20:40:57 +01:00
adam closed this issue 2025-12-29 20:40:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8766