1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 08:26:03 +00:00
webvirtcloud/conf/requirements.txt
catborise db1db4cb32 fix(logging): the web workers rotate the panel's log without losing lines
Every gunicorn worker had its own RotatingFileHandler on the panel's log.
Once one rotated it, the others went on writing into the renamed file and
rotated again in turn: the log then held the lines of one worker, and the
others' went into the old files and were deleted with them. The handler
is now concurrent-log-handler's, which rotates under a lock file and
reopens the log after another process rotated it.

That handler keeps no file open, so socketiod's copy of its stderr can be
fd 3, the number a serial console worker logs to: dup2 onto itself kept
it close-on-exec and the worker failed to start. It is made inheritable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 13:48:14 +03:00

28 lines
749 B
Text

Django==5.2.18
django_bootstrap5==26.3
django-otp==1.7.5
# for websockify; a host's python3-requests would
# otherwise bring idna, requests and urllib3 with advisories
idna>=3.15
requests>=2.33.0
urllib3>=2.8.0
# the panel's processes rotate one log file without losing each other's lines
concurrent-log-handler==0.9.31
django-axes==8.3.1
djangorestframework==3.18.3
django-rest-knox==5.1.1
drf-nested-routers==0.95.3
drf-spectacular[sidecar]==0.30.0
gunicorn==26.2.0
libvirt-python>=9.0.0
lxml>=6.1
openpyxl==3.1.5
paramiko==5.1.0
psycopg[binary]==3.3.8
pycdlib==1.22.0
python-engineio==4.15.1
python-socketio==5.18.1
segno==1.6.6
websockify==0.13.0
# the root password's SHA-512 crypt hash (the stdlib crypt is gone in Python 3.13)
libpass==1.9.4