From f369e5b5558044c56ad9b7caf8fceb6fea22f0ce Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Tue, 17 Jun 2025 14:15:51 +0200 Subject: [PATCH] Refactor TELL integration and update dependencies. Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows. --- common/pyproject.toml | 7 +++++++ daq/pyproject.toml | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/pyproject.toml b/common/pyproject.toml index 12bfa771..1b2c1857 100644 --- a/common/pyproject.toml +++ b/common/pyproject.toml @@ -14,6 +14,13 @@ dependencies = [ [lint] ignore = ["F401", "F541", "W503", "W504"] +[tool.uv.sources] +aaredb = { index = "psi"} + +[[tool.uv.index]] +name = "psi" +url = "https://gitea.psi.ch/api/packages/mx/pypi/simple" + [build-system] requires = ["setuptools>=75.6.0"] build-backend = "setuptools.build_meta" diff --git a/daq/pyproject.toml b/daq/pyproject.toml index 04f27111..72764df5 100644 --- a/daq/pyproject.toml +++ b/daq/pyproject.toml @@ -15,7 +15,8 @@ dependencies = [ "ultralytics==8.3.133", "aareDB==0.1.1a6", "opencv-python-headless==4.11.0.86", - "python_multipart==0.0.20" + "python_multipart==0.0.20", + "websocket-client" ] [lint]