Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Django to next LTS #2734 #2737

Merged

Conversation

phillxnet
Copy link
Member

Update to Django 3.2.23, with incidental minor update to latest wrapt & charset-normalizer.

Includes

  • Required move to "load static" from "load staticfiles" in base/setup.html.
  • Settings option for DEFAULT_AUTO_FIELD: models.W042
  • Project wide move from url to re_path: RemovedInDjango40Warning.

Fixes #2734

Update to Django 3.2.23, with incidental minor update
to latest wrapt & charset-normalizer.
# Includes
- Required move to "load static" from "load staticfiles"
in base/setup.html.
- Settings option for DEFAULT_AUTO_FIELD: models.W042
- Project wide move from url to re_path: RemovedInDjango40Warning.
@phillxnet
Copy link
Member Author

phillxnet commented Nov 11, 2023

@FroggyFlox & @Hooverdan96 This looks to be behaving as intended and all tests pass also during the rpmbuild and we have a successful rpm install there-after.

In the interests of pushing along all our dependencies I'll go ahead and merge so we can move along to the next phase of updates to get us to Django 4.2 ultimately.

Our rpm created testing .venv, with this PR applied, is now as follows:

rleap15-5:/opt/rockstor # poetry show --tree
dbus-python 1.2.18 Python bindings for libdbus
distro 1.8.0 Distro - an OS platform information API
django 3.2.23 A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
├── asgiref >=3.3.2,<4
│   └── typing-extensions >=4 
├── pytz *
└── sqlparse >=0.2.2
django-oauth-toolkit 2.3.0 OAuth2 Provider for Django
├── django >=2.2,<4.0.0 || >4.0.0
│   ├── asgiref >=3.3.2,<4 
│   │   └── typing-extensions >=4 
│   ├── pytz * 
│   └── sqlparse >=0.2.2 
├── jwcrypto >=0.8.0
│   ├── cryptography >=3.4 
│   │   └── cffi >=1.12 
│   │       └── pycparser * 
│   └── deprecated * 
│       └── wrapt >=1.10,<2 
├── oauthlib >=3.1.0
└── requests >=2.13.0
    ├── certifi >=2017.4.17 
    ├── charset-normalizer >=2,<4 
    ├── idna >=2.5,<4 
    └── urllib3 >=1.21.1,<3 
django-pipeline 2.1.0 Pipeline is an asset packaging library for Django.
djangorestframework 3.13.1 Web APIs for Django, made easy.
├── django >=2.2
│   ├── asgiref >=3.3.2,<4 
│   │   └── typing-extensions >=4 
│   ├── pytz * 
│   └── sqlparse >=0.2.2 
└── pytz *
gevent 23.9.1 Coroutine-based network library
├── cffi >=1.12.2
│   └── pycparser * 
├── greenlet >=2.0.0
├── zope.event *
└── zope.interface *
gunicorn 21.2.0 WSGI HTTP Server for UNIX
└── packaging *
huey 2.3.0 huey, a little task queue
psutil 5.9.4 Cross-platform lib for process and system monitoring in Python.
psycogreen 1.0 psycopg2 integration with coroutine libraries
psycopg2 2.8.6 psycopg2 - Python-PostgreSQL Database Adapter
python-engineio 4.8.0 Engine.IO server and client for Python
└── simple-websocket >=0.10.0
    └── wsproto * 
        └── h11 >=0.9.0,<1 
python-socketio 5.9.0 Socket.IO server and client for Python
├── bidict >=0.21.0
└── python-engineio >=4.7.0
    └── simple-websocket >=0.10.0 
        └── wsproto * 
            └── h11 >=0.9.0,<1 
pyzmq 19.0.2 Python bindings for 0MQ
six 1.16.0 Python 2 and 3 compatibility utilities
supervisor 4.2.4 A system for controlling process state under UNIX
urlobject 2.1.1 A utility class for manipulating URLs.

@FroggyFlox
Copy link
Member

Thanks again for yet another big milestone PR!

@phillxnet phillxnet merged commit 0f0f422 into rockstor:testing Nov 11, 2023
@phillxnet phillxnet deleted the 2734-Update-Django-to-next-LTS branch November 11, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants