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

DRF, Django LTS, and Gunicorn maintenance updates #2809 #2820 #2834 #2836

Conversation

phillxnet
Copy link
Member

@phillxnet phillxnet commented Apr 18, 2024

Combined poetry update of all dependencies within Poetries current pyproject.toml pinning:

Fixes #2809
Fixes #2820
Fixes #2834

poetry update
Updating dependencies
...

Package operations: 3 installs, 28 updates, 3 removals

  • Removing deprecated (1.2.14)
  • Removing pytz (2023.3.post1)
  • Removing wrapt (1.16.0)
  • Updating pycparser (2.21 -> 2.22)
  • Installing backports-tarfile (1.1.0)
  • Updating cryptography (41.0.7 -> 42.0.5)
  • Updating more-itertools (10.1.0 -> 10.2.0)
  • Updating zipp (3.17.0 -> 3.18.1)
  • Updating asgiref (3.7.2 -> 3.8.1)
  • Updating certifi (2023.11.17 -> 2024.2.2)
  • Updating idna (3.6 -> 3.7)
  • Updating importlib-metadata (6.8.0 -> 7.1.0)
  • Updating jaraco-classes (3.3.0 -> 3.4.0)
  • Installing jaraco-context (5.3.0)
  • Installing jaraco-functools (4.0.0)
  • Updating setuptools (69.0.2 -> 69.5.1)
  • Updating sqlparse (0.4.4 -> 0.5.0)
  • Updating typing-extensions (4.8.0 -> 4.11.0)
  • Updating urllib3 (2.1.0 -> 2.2.1)
  • Updating bidict (0.22.1 -> 0.23.1)
  • Updating django (4.2.7 -> 4.2.11)
  • Updating greenlet (3.0.1 -> 3.0.3)
  • Updating jwcrypto (1.5.0 -> 1.5.6)
  • Updating keyring (23.13.1 -> 25.1.0)
  • Updating packaging (23.2 -> 24.0)
  • Updating zope-interface (6.1 -> 6.3)
  • Updating distro (1.8.0 -> 1.9.0)
  • Updating django-pipeline (2.1.0 -> 3.0.0)
  • Updating djangorestframework (3.14.0 -> 3.15.1)
  • Updating gevent (23.9.1 -> 24.2.1)
  • Updating gunicorn (21.2.0 -> 22.0.0)
  • Updating keyring-pass (0.8.1 -> 0.9.3)
  • Updating psycopg (3.1.13 -> 3.1.18)
  • Updating pyzmq (25.1.1 -> 26.0.0)

Writing lock file

Poetry (version 1.7.1)

…tor#2820 rockstor#2834

Combined `poetry update` of all dependencies within Poetries current
pyproject.toml pinning:
```
poetry update
Updating dependencies
...

Package operations: 3 installs, 28 updates, 3 removals

  • Removing deprecated (1.2.14)
  • Removing pytz (2023.3.post1)
  • Removing wrapt (1.16.0)
  • Updating pycparser (2.21 -> 2.22)
  • Installing backports-tarfile (1.1.0)
  • Updating cryptography (41.0.7 -> 42.0.5)
  • Updating more-itertools (10.1.0 -> 10.2.0)
  • Updating zipp (3.17.0 -> 3.18.1)
  • Updating asgiref (3.7.2 -> 3.8.1)
  • Updating certifi (2023.11.17 -> 2024.2.2)
  • Updating idna (3.6 -> 3.7)
  • Updating importlib-metadata (6.8.0 -> 7.1.0)
  • Updating jaraco-classes (3.3.0 -> 3.4.0)
  • Installing jaraco-context (5.3.0)
  • Installing jaraco-functools (4.0.0)
  • Updating setuptools (69.0.2 -> 69.5.1)
  • Updating sqlparse (0.4.4 -> 0.5.0)
  • Updating typing-extensions (4.8.0 -> 4.11.0)
  • Updating urllib3 (2.1.0 -> 2.2.1)
  • Updating bidict (0.22.1 -> 0.23.1)
  • Updating django (4.2.7 -> 4.2.11)
  • Updating greenlet (3.0.1 -> 3.0.3)
  • Updating jwcrypto (1.5.0 -> 1.5.6)
  • Updating keyring (23.13.1 -> 25.1.0)
  • Updating packaging (23.2 -> 24.0)
  • Updating zope-interface (6.1 -> 6.3)
  • Updating distro (1.8.0 -> 1.9.0)
  • Updating django-pipeline (2.1.0 -> 3.0.0)
  • Updating djangorestframework (3.14.0 -> 3.15.1)
  • Updating gevent (23.9.1 -> 24.2.1)
  • Updating gunicorn (21.2.0 -> 22.0.0)
  • Updating keyring-pass (0.8.1 -> 0.9.3)
  • Updating psycopg (3.1.13 -> 3.1.18)
  • Updating pyzmq (25.1.1 -> 26.0.0)

Writing lock file
```
> Poetry (version 1.7.1)
@phillxnet
Copy link
Member Author

Using an rpm built from this PR's branch and installed successfully we have:

[2024-04-18 18:16:59 +0100] [14518] [INFO] Starting gunicorn 22.0.0
[2024-04-18 18:16:59 +0100] [14518] [INFO] Listening at: http://127.0.0.1:8000 (14518)
[2024-04-18 18:16:59 +0100] [14518] [INFO] Using worker: gthread

and:

rleap15-5:/opt/rockstor # poetry run django-admin --version
4.2.11

And an overview/tree view of the .venv built by rockstor-build.service:

rleap15-5:/opt/rockstor # poetry show --tree
dbus-python 1.3.2 Python bindings for libdbus
distro 1.9.0 Distro - an OS platform information API
django 4.2.11 A high-level Python web framework that encourages rapid development and clean, pragmatic design.
├── asgiref >=3.6.0,<4
├── sqlparse >=0.3.1
└── tzdata *
django-oauth-toolkit 2.3.0 OAuth2 Provider for Django
├── django >=2.2,<4.0.0 || >4.0.0
│   ├── asgiref >=3.6.0,<4 
│   ├── sqlparse >=0.3.1 
│   └── tzdata * 
├── jwcrypto >=0.8.0
│   ├── cryptography >=3.4 
│   │   └── cffi >=1.12 
│   │       └── pycparser * 
│   └── typing-extensions >=4.5.0 
├── 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 3.0.0 Pipeline is an asset packaging library for Django.
djangorestframework 3.15.1 Web APIs for Django, made easy.
└── django >=3.0
    ├── asgiref >=3.6.0,<4 
    ├── sqlparse >=0.3.1 
    └── tzdata * 
gevent 24.2.1 Coroutine-based network library
├── cffi >=1.12.2
│   └── pycparser * 
├── greenlet >=3.0rc3
├── zope-event *
│   └── setuptools * 
└── zope-interface *
    └── setuptools * 
gunicorn 22.0.0 WSGI HTTP Server for UNIX
└── packaging *
huey 2.5.0 huey, a little task queue
keyring-pass 0.9.3 https://www.passwordstore.org/ backend for https://pypi.org/project/keyring/
├── jaraco-classes >=3.2.3
│   └── more-itertools * 
└── keyring >=23.9.3
    ├── importlib-metadata >=4.11.4 
    │   └── zipp >=0.5 
    ├── jaraco-classes * 
    │   └── more-itertools * 
    ├── jaraco-context * 
    │   └── backports-tarfile * 
    ├── jaraco-functools * 
    │   └── more-itertools * (circular dependency aborted here)
    ├── jeepney >=0.4.2 
    ├── pywin32-ctypes >=0.2.0 
    └── secretstorage >=3.2 
        ├── cryptography >=2.0 
        │   └── cffi >=1.12 
        │       └── pycparser * 
        └── jeepney >=0.6 (circular dependency aborted here)
psutil 5.9.4 Cross-platform lib for process and system monitoring in Python.
psycogreen 1.0 psycopg2 integration with coroutine libraries
psycopg 3.1.18 PostgreSQL database adapter for Python
├── typing-extensions >=4.1
└── tzdata *
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 26.0.0 Python bindings for 0MQ
└── cffi *
    └── pycparser * 
six 1.16.0 Python 2 and 3 compatibility utilities
supervisor 4.2.4 A system for controlling process state under UNIX
└── setuptools *
urlobject 2.1.1 A utility class for manipulating URLs.

@phillxnet phillxnet marked this pull request as ready for review April 19, 2024 09:25
@phillxnet
Copy link
Member Author

Merging as all pre-release rpmbuilds succeeded, with the resulting rpms installing successfully on all current OS & arch targets.

TW aarch64 pic:

TW-aarch64-5 0 8-2836

@phillxnet phillxnet merged commit f8d9349 into rockstor:testing Apr 19, 2024
@phillxnet phillxnet deleted the 2809_2820_2834_DRF_DjangoLTS_Gunicorn_maintenance_updates branch April 19, 2024 10:09
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.

None yet

1 participant