diff --git a/backend/app/services/process_service.py b/backend/app/services/process_service.py index e389b3f2..a5379a1b 100644 --- a/backend/app/services/process_service.py +++ b/backend/app/services/process_service.py @@ -71,7 +71,9 @@ class ProcessService: 'cmdline': proc.cmdline(), 'cwd': proc.cwd() if hasattr(proc, 'cwd') else None, 'num_threads': proc.num_threads(), - 'connections': len(proc.connections()) if hasattr(proc, 'connections') else 0 + # psutil 6 renamed connections() and will remove the old name. + 'connections': len((getattr(proc, 'net_connections', None) + or proc.connections)()) } except (psutil.NoSuchProcess, psutil.AccessDenied): return None diff --git a/backend/requirements.txt b/backend/requirements.txt index 3b14528f..877796e0 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -10,7 +10,7 @@ Flask-SQLAlchemy==3.1.1 # attributes and SQLAlchemy's TypingOnly guard rejected them. Debian 13 ships # only 3.13, so this pin is what lets the panel install there at all. # Verified: 3542 passed / 0 failed on 3.11 with 2.0.52, identical to 2.0.23. -SQLAlchemy==2.0.55 +SQLAlchemy==2.0.57 Flask-Migrate==4.1.0 # Authentication @@ -21,15 +21,15 @@ PyJWT==2.15.1 Flask-Cors==6.0.5 # WebSocket support -Flask-SocketIO==5.7.0 -python-socketio==5.17.1 +Flask-SocketIO==5.7.2 +python-socketio==5.18.1 python-engineio==4.15.1 # WebSocket CLIENT for the ServerKit Cloud relay (see # app/services/connect_client.py). The server-side stack above cannot dial out. websockets==16.1.1 # System monitoring -psutil==5.9.7 +psutil==7.2.2 # Production server. WebSocket is served by simple-websocket (engineio's # threading driver) under a plain threaded gunicorn worker — do NOT deploy @@ -43,13 +43,13 @@ python-dotenv==1.2.4 # YAML / TOML parsing (for Docker Compose and repository manifests) PyYAML==6.0.3 -tomli>=2.0.0; python_version < '3.11' +tomli>=2.5.0; python_version < '3.11' # Rate limiting -Flask-Limiter==3.5.0 +Flask-Limiter==4.1.1 # CLI -click==8.5.0 +click==8.5.1 croniter==6.2.4 bcrypt==5.0.0 @@ -68,16 +68,16 @@ webauthn==2.5.0 requests==2.34.2 # S3-compatible storage (AWS S3, Backblaze B2, MinIO, Wasabi) -boto3==1.43.123 +boto3==1.44.0 # SSO / OAuth -Authlib==1.9.1 +Authlib==1.9.5 python3-saml==1.16.0 # Cross-platform local IANA timezone resolution (SystemService.get_server_time # falls back to this on hosts without /etc/timezone or timedatectl, e.g. Windows # dev boxes) so the panel never reports a non-IANA zone the UI can't format. -tzlocal>=5.0 +tzlocal>=5.4.5 # OpenAPI documentation apispec==6.10.0 @@ -88,4 +88,4 @@ marshmallow==4.3.1 # ProviderEnvironment, guardrails. Native OpenAI and Anthropic SDKs ship with the # panel; compatible gateways use Prompture's raw-HTTP driver. Other SDKs remain # optional. Pin the tested descriptor, streaming, and conversation APIs. -prompture[openai,anthropic]==1.16.0 +prompture[openai,anthropic]==1.17.0