Pynetbox version tied to NetBox version? #516
markkuleinio
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
Good discussion, I'd add a couple points as I'm currently working on supporting NetBox 3.3. The 3.3 changes will be breaking changes, so it won't be able to support older versions. I'm not sure historically if backwards compatibility has caused delays in releasing updates, but for the current NetBox 3.3 changes that is not what is causing the delays - it is a combination of switching maintainers and the 3.3 changes require some refactoring of the internals of the API to support things like a_terminations which return a mix of different types of objects (which the current pynetbox wasn't specifically designed to handle. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(Oh we have discussions enabled here in
pynetbox
repo as well!)What do you all think, would it be feasible to make
pynetbox
versions to work with specific NetBox versions only?I mean, in the course of NetBox development there have been several cases where the API has been changed (quite appropriately, no problem there), which means that
pynetbox
needs to be made compatible with both earlier and current behaviour of NetBox API. That slows down adopting the new features inpynetbox
(case: cable changes in NetBox 3.3 is a prime example).Making
pynetbox
version X.Y.* only compatible with NetBox A.B API would make it easy to drop out support for legacy things and add new.Obviously it would mean that the
pynetbox
user would need to pin the version and then manually test and change the new version when upgrading NetBox. But that's the case now in any case, this would just be made official.I think some of the NetBox container repos also work in this way: a new version is released, with proper changes, whenever new NetBox version is released,
What do you all think?
Beta Was this translation helpful? Give feedback.
All reactions