From 615e4c5433a2df2bdac9010f48f9cf03b4935f95 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Wed, 19 Mar 2025 09:50:06 +0100 Subject: [PATCH] Update dependencies and improve Python path handling Updated several frontend dependencies including MUI packages and added new ones like `@mui/x-charts`. Adjusted the Python path setup in the CI configuration to correctly point to the `aaredb` backend, ensuring accurate module resolution. --- backend/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 2483e65..70d554c 100644 --- a/backend/main.py +++ b/backend/main.py @@ -17,6 +17,8 @@ from app.routers import ( from app.database import Base, engine, SessionLocal from app.routers.protected_router import protected_router +os.makedirs("images", exist_ok=True) + # Utility function to fetch metadata from pyproject.toml def get_project_metadata(): @@ -225,7 +227,6 @@ if __name__ == "__main__": # Test or CI Mode: Run server process temporarily for test validation ssl_dir = Path(cert_path).parent ssl_dir.mkdir(parents=True, exist_ok=True) - os.makedirs("images", exist_ok=True) # Generate self-signed certs if missing if not Path(cert_path).exists() or not Path(key_path).exists():