[PR #12907] [CLOSED] DRAFT 12237 update to Django 4.2 / psycopg3 #14070

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12907
Author: @arthanson
Created: 6/15/2023
Status: Closed

Base: featureHead: 12237-django-4.2


📝 Commits (10+)

📊 Changes

18 files changed (+138 additions, -39 deletions)

View changed files

📝 base_requirements.txt (+2 -2)
📝 docs/release-notes/version-3.5.md (+15 -0)
📝 netbox/core/api/views.py (+1 -1)
📝 netbox/core/models/data.py (+3 -1)
📝 netbox/dcim/api/views.py (+4 -1)
📝 netbox/dcim/models/racks.py (+1 -1)
📝 netbox/dcim/views.py (+0 -10)
netbox/extras/migrations/0093_rename_taggeditem_content_type_object_id_extras_tagg_content_717743_idx.py (+17 -0)
📝 netbox/extras/models/models.py (+1 -1)
📝 netbox/extras/models/tags.py (+1 -3)
📝 netbox/ipam/forms/bulk_import.py (+25 -9)
📝 netbox/ipam/forms/model_forms.py (+2 -4)
📝 netbox/ipam/tests/test_views.py (+59 -0)
📝 netbox/netbox/navigation/menu.py (+1 -1)
📝 netbox/templates/tenancy/object_contacts.html (+1 -1)
📝 netbox/utilities/views.py (+1 -1)
📝 netbox/virtualization/views.py (+0 -1)
📝 requirements.txt (+4 -2)

📄 Description

Fixes: #12237

Updates requirements to Django 4.2.2 and pyscopyg3.
this broke tobytes accesss to DataFile so fixed that for test cases.
changed index_together to indexes as this was deprecated.

@jeremystretch I accidentally created this as a branch from develop, then just merged in feature to make it match - however there are a lot of extra changes showing up (not sure why) should I re-make this just off feature? Seems like it should just work, assuming there is some branch / commit weirdness?


🔄 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/12907 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 6/15/2023 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `12237-django-4.2` --- ### 📝 Commits (10+) - [`01d9e0a`](https://github.com/netbox-community/netbox/commit/01d9e0afb6212ade33e85b655d156ef442906739) Round rack power utilization to nearest 0.1% - [`210879d`](https://github.com/netbox-community/netbox/commit/210879d3807ed7036e2b886f39ac59e45ed6703a) fix contact assignment table modal - [`82cd6c5`](https://github.com/netbox-community/netbox/commit/82cd6c5f4c261555f207f650558442b9c48b095b) Fixes #12862 - Add Button for Wireless Links in Sidebar - [`e785139`](https://github.com/netbox-community/netbox/commit/e7851399c67960fd6e704510e66fa719b4d5c652) Merge pull request #12857 from netbox-community/fix/12850-contacts-table - [`43235f1`](https://github.com/netbox-community/netbox/commit/43235f143d11ea23a3875c44acceaea69d04875a) Merge pull request #12839 from candlerb/candlerb/12838 - [`22a0ce3`](https://github.com/netbox-community/netbox/commit/22a0ce3f76089b4974f8aac3c75207b1237d1bf6) broadcast error fixes for ipv6 and /31/32 - [`74c1f7a`](https://github.com/netbox-community/netbox/commit/74c1f7a17665188e69be8eb233b0ed32ae9f071b) Merge pull request #12874 from ITJamie/broadcast_exceptions - [`a81924a`](https://github.com/netbox-community/netbox/commit/a81924ac0f5a33cfa4461b95661b68316e8b13f4) Merge pull request #12863 from sudheesh001/fix/12862-connection-sidebar-add - [`2e95865`](https://github.com/netbox-community/netbox/commit/2e9586523f75e588bb47ba3d7d148caa72a670b9) Changelog for #12687, #12838, #12850, #12862 - [`96cf95d`](https://github.com/netbox-community/netbox/commit/96cf95d1769d1a8318ced18ffbfdc0e2d4f4ce38) fixes typo in register_model_view docstring #12824 ### 📊 Changes **18 files changed** (+138 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+2 -2) 📝 `docs/release-notes/version-3.5.md` (+15 -0) 📝 `netbox/core/api/views.py` (+1 -1) 📝 `netbox/core/models/data.py` (+3 -1) 📝 `netbox/dcim/api/views.py` (+4 -1) 📝 `netbox/dcim/models/racks.py` (+1 -1) 📝 `netbox/dcim/views.py` (+0 -10) ➕ `netbox/extras/migrations/0093_rename_taggeditem_content_type_object_id_extras_tagg_content_717743_idx.py` (+17 -0) 📝 `netbox/extras/models/models.py` (+1 -1) 📝 `netbox/extras/models/tags.py` (+1 -3) 📝 `netbox/ipam/forms/bulk_import.py` (+25 -9) 📝 `netbox/ipam/forms/model_forms.py` (+2 -4) 📝 `netbox/ipam/tests/test_views.py` (+59 -0) 📝 `netbox/netbox/navigation/menu.py` (+1 -1) 📝 `netbox/templates/tenancy/object_contacts.html` (+1 -1) 📝 `netbox/utilities/views.py` (+1 -1) 📝 `netbox/virtualization/views.py` (+0 -1) 📝 `requirements.txt` (+4 -2) </details> ### 📄 Description ### Fixes: #12237 Updates requirements to Django 4.2.2 and pyscopyg3. this broke tobytes accesss to DataFile so fixed that for test cases. changed index_together to indexes as this was deprecated. @jeremystretch I accidentally created this as a branch from develop, then just merged in feature to make it match - however there are a lot of extra changes showing up (not sure why) should I re-make this just off feature? Seems like it should just work, assuming there is some branch / commit weirdness? --- <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-29 23:22:20 +01:00
adam closed this issue 2025-12-29 23:22:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14070