Deprecation Warning during Netbox Update #10799

Closed
opened 2025-12-29 21:36:03 +01:00 by adam · 1 comment
Owner

Originally created by @TheGuardianLight on GitHub (Feb 24, 2025).

Proposed Changes

INFO    -  DeprecationWarning: Setting a fallback anchor function is deprecated and will be removed in a future release.
             File "/data/netbox-4.2.4/venv/lib/python3.10/site-packages/mkdocstrings/plugin.py", line 190, in on_config
               autorefs.get_fallback_anchor = self.handlers.get_anchors
             File "/data/netbox-4.2.4/venv/lib/python3.10/site-packages/mkdocs_autorefs/plugin.py", line 130, in get_fallback_anchor
               warn(
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /data/netbox-4.2.4/netbox/project-static/docs
/data/netbox-4.2.4/venv/lib/python3.10/site-packages/strawberry/utils/deprecations.py:23: UserWarning: _type_definition is deprecated, use __strawberry_definition__ instead
  self.warn()
INFO    -  Documentation built in 10.35 seconds
Collecting static files (python3 netbox/manage.py collectstatic --no-input)...

I think it's necessary to look into upgrading the modules concerned to avoid future problems.

Justification

When a dependency or module begins to be deprecated, it could pose a number of incompatibility or security problems in the future. It would be worth looking into updating the code concerned.

Impact

the impact may differ depending on the severity of the depreciation.

Originally created by @TheGuardianLight on GitHub (Feb 24, 2025). ### Proposed Changes ```log INFO - DeprecationWarning: Setting a fallback anchor function is deprecated and will be removed in a future release. File "/data/netbox-4.2.4/venv/lib/python3.10/site-packages/mkdocstrings/plugin.py", line 190, in on_config autorefs.get_fallback_anchor = self.handlers.get_anchors File "/data/netbox-4.2.4/venv/lib/python3.10/site-packages/mkdocs_autorefs/plugin.py", line 130, in get_fallback_anchor warn( INFO - Cleaning site directory INFO - Building documentation to directory: /data/netbox-4.2.4/netbox/project-static/docs /data/netbox-4.2.4/venv/lib/python3.10/site-packages/strawberry/utils/deprecations.py:23: UserWarning: _type_definition is deprecated, use __strawberry_definition__ instead self.warn() INFO - Documentation built in 10.35 seconds Collecting static files (python3 netbox/manage.py collectstatic --no-input)... ``` I think it's necessary to look into upgrading the modules concerned to avoid future problems. ### Justification When a dependency or module begins to be deprecated, it could pose a number of incompatibility or security problems in the future. It would be worth looking into updating the code concerned. ### Impact the impact may differ depending on the severity of the depreciation.
adam closed this issue 2025-12-29 21:36:03 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 24, 2025):

Thanks for the heads up, we're aware. These are just warnings; there's no need to submit an issue for them. (Please also note that this issue type is for features to be deprecated in NetBox itself.)

@jeremystretch commented on GitHub (Feb 24, 2025): Thanks for the heads up, we're aware. These are just warnings; there's no need to submit an issue for them. (Please also note that this issue type is for features to be deprecated in NetBox itself.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10799