[PR #12916] [MERGED] 12237 update to Django 4.2 / psycopg3 #14074

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12916
Author: @arthanson
Created: 6/15/2023
Status: Merged
Merged: 6/23/2023
Merged by: @jeremystretch

Base: featureHead: 12237-django-4.2-2


📝 Commits (8)

  • 4defbd1 12237 upgrade django and psycopg
  • 173c043 12237 add migration
  • 2091fef Merge branch 'feature' into 12237-django-4.2-2
  • f095866 12237 rename migration
  • 99f1ef5 12237 update requirements
  • 80862c4 Merge branch 'feature' into 12237-django-4.2-2
  • 79ab233 12237 fix migration
  • 69ca419 Update base requirements

📊 Changes

5 files changed (+26 additions, -9 deletions)

View changed files

📝 base_requirements.txt (+3 -3)
📝 netbox/core/models/data.py (+3 -1)
netbox/extras/migrations/0093_tagged_item_indexes.py (+17 -0)
📝 netbox/extras/models/tags.py (+1 -3)
📝 requirements.txt (+2 -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.


🔄 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/12916 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 6/15/2023 **Status:** ✅ Merged **Merged:** 6/23/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `12237-django-4.2-2` --- ### 📝 Commits (8) - [`4defbd1`](https://github.com/netbox-community/netbox/commit/4defbd11bf89ab0cdec4b8ac29d3d217911708b0) 12237 upgrade django and psycopg - [`173c043`](https://github.com/netbox-community/netbox/commit/173c0436a512d23825603da8b52733dbc683d272) 12237 add migration - [`2091fef`](https://github.com/netbox-community/netbox/commit/2091fef53b143ed168025c6297607fb78394b8cd) Merge branch 'feature' into 12237-django-4.2-2 - [`f095866`](https://github.com/netbox-community/netbox/commit/f095866fd464d8ad9a5c8ea7ab18647cd072722b) 12237 rename migration - [`99f1ef5`](https://github.com/netbox-community/netbox/commit/99f1ef5d5eedf661419c8e61f6a82faeb8e2c7e1) 12237 update requirements - [`80862c4`](https://github.com/netbox-community/netbox/commit/80862c461e1a9d8bde25d678dbb003b0afd1d25e) Merge branch 'feature' into 12237-django-4.2-2 - [`79ab233`](https://github.com/netbox-community/netbox/commit/79ab2330baf9262d368398a58a08a62be9ffbe8b) 12237 fix migration - [`69ca419`](https://github.com/netbox-community/netbox/commit/69ca419c1dc1c7ea485df3666d3d4801a2182082) Update base requirements ### 📊 Changes **5 files changed** (+26 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+3 -3) 📝 `netbox/core/models/data.py` (+3 -1) ➕ `netbox/extras/migrations/0093_tagged_item_indexes.py` (+17 -0) 📝 `netbox/extras/models/tags.py` (+1 -3) 📝 `requirements.txt` (+2 -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. --- <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:21 +01:00
adam closed this issue 2025-12-29 23:22:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14074