[PR #18858] [MERGED] Closes #18857: Fix deprecation warnings #15460

Closed
opened 2025-12-30 00:22:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18858
Author: @jeremystretch
Created: 3/10/2025
Status: Merged
Merged: 3/10/2025
Merged by: @arthanson

Base: mainHead: 18857-deprecation-warnings


📝 Commits (2)

  • 3a6d4ce Pass assume_scheme on URLFields to avoid RemovedInDjango60Warning
  • ceaf73a Use dunder to span accessor relationships to avoid DeprecationWarning

📊 Changes

4 files changed (+5 additions, -3 deletions)

View changed files

📝 netbox/circuits/tables/circuits.py (+1 -1)
📝 netbox/extras/dashboard/widgets.py (+2 -1)
📝 netbox/extras/models/customfields.py (+1 -1)
📝 netbox/tenancy/forms/bulk_edit.py (+1 -0)

📄 Description

Fixes: #18857

This resolves the deprecation warnings over which we have control. There are three remaining warnings currently that are triggered within external libraries.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/18858 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/10/2025 **Status:** ✅ Merged **Merged:** 3/10/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `18857-deprecation-warnings` --- ### 📝 Commits (2) - [`3a6d4ce`](https://github.com/netbox-community/netbox/commit/3a6d4ce0cb4e10835be95065156eeb096370b27d) Pass assume_scheme on URLFields to avoid RemovedInDjango60Warning - [`ceaf73a`](https://github.com/netbox-community/netbox/commit/ceaf73ae5891758536958239c0d0fd17c6066e0b) Use dunder to span accessor relationships to avoid DeprecationWarning ### 📊 Changes **4 files changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/tables/circuits.py` (+1 -1) 📝 `netbox/extras/dashboard/widgets.py` (+2 -1) 📝 `netbox/extras/models/customfields.py` (+1 -1) 📝 `netbox/tenancy/forms/bulk_edit.py` (+1 -0) </details> ### 📄 Description ### Fixes: #18857 This resolves the deprecation warnings over which we have control. There are three remaining warnings currently that are triggered within external libraries. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:22:03 +01:00
adam closed this issue 2025-12-30 00:22:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15460